# 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_rewritesn2ilal8/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_rewritesn2ilal8/tests/tests_states_initscripts.yml:5 Tuesday 06 February 2024 22:20:20 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tests_states_initscripts.yml:8 Tuesday 06 February 2024 22:20:21 +0000 (0:00:00.617) 0:00:00.630 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 22:20:21 +0000 (0:00:00.021) 0:00:00.652 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 22:20:21 +0000 (0:00:00.339) 0:00:00.991 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 22:20:21 +0000 (0:00:00.262) 0:00:01.253 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 22:20:22 +0000 (0:00:00.021) 0:00:01.275 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 22:20:22 +0000 (0:00:00.019) 0:00:01.295 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 22:20:22 +0000 (0:00:00.030) 0:00:01.326 ****** 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_rewritesn2ilal8/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 22:20:22 +0000 (0:00:00.258) 0:00:01.584 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 22:20:22 +0000 (0:00:00.012) 0:00:01.596 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 22:20:22 +0000 (0:00:00.014) 0:00:01.610 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.258595", "end": "2024-02-06 22:20:23.777270", "rc": 0, "start": "2024-02-06 22:20:22.518675" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 22:20:23 +0000 (0:00:01.451) 0:00:03.062 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tests_states_initscripts.yml:10 Tuesday 06 February 2024 22:20:23 +0000 (0:00:00.011) 0:00:03.073 ****** 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_rewritesn2ilal8/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 22:20:23 +0000 (0:00:00.023) 0:00:03.097 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.505) 0:00:03.602 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.012) 0:00:03.614 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.016) 0:00:03.631 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.012) 0:00:03.643 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.034) 0:00:03.677 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.015) 0:00:03.692 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.015) 0:00:03.708 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003797", "end": "2024-02-06 22:20:24.626307", "rc": 0, "start": "2024-02-06 22:20:24.622510" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.202) 0:00:03.911 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.012) 0:00:03.923 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.010) 0:00:03.934 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.023) 0:00:03.957 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009067", "end": "2024-02-06 22:20:24.874552", "rc": 1, "start": "2024-02-06 22:20:24.865485" } 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_rewritesn2ilal8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.201) 0:00:04.159 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:20:24 +0000 (0:00:00.015) 0:00:04.174 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:20:25 +0000 (0:00:00.192) 0:00:04.366 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:20:25 +0000 (0:00:00.013) 0:00:04.379 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:20:25 +0000 (0:00:00.018) 0:00:04.398 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:20:25 +0000 (0:00:00.032) 0:00:04.431 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:20:25 +0000 (0:00:00.070) 0:00:04.501 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:20:25 +0000 (0:00:00.012) 0:00:04.513 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:20:25 +0000 (0:00:00.009) 0:00:04.523 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:20:25 +0000 (0:00:00.009) 0:00:04.532 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:20:26 +0000 (0:00:01.644) 0:00:06.176 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:20:28 +0000 (0:00:01.477) 0:00:07.654 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:20:28 +0000 (0:00:00.023) 0:00:07.677 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:20:28 +0000 (0:00:00.021) 0:00:07.699 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:20:28 +0000 (0:00:00.020) 0:00:07.719 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:20:28 +0000 (0:00:00.043) 0:00:07.763 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:20:28 +0000 (0:00:00.021) 0:00:07.784 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:20:28 +0000 (0:00:00.021) 0:00:07.806 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:20:28 +0000 (0:00:00.024) 0:00:07.830 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:20:28 +0000 (0:00:00.021) 0:00:07.852 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:20:28 +0000 (0:00:00.021) 0:00:07.873 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:20:29 +0000 (0:00:00.488) 0:00:08.362 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmp6x499fdb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:20:29 +0000 (0:00:00.311) 0:00:08.673 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:20:29 +0000 (0:00:00.428) 0:00:09.102 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:20:29 +0000 (0:00:00.023) 0:00:09.125 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:20:29 +0000 (0:00:00.024) 0:00:09.149 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:20:29 +0000 (0:00:00.023) 0:00:09.173 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:20:29 +0000 (0:00:00.021) 0:00:09.194 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:20:30 +0000 (0:00:00.249) 0:00:09.444 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:20:30 +0000 (0:00:00.027) 0:00:09.471 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:20:30 +0000 (0:00:00.042) 0:00:09.514 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:20:30 +0000 (0:00:00.039) 0:00:09.554 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:20:30 +0000 (0:00:00.023) 0:00:09.577 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258029.8060148, "block_size": 4096, "blocks": 8, "ctime": 1707258029.8060148, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434805, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707258029.8060148, "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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:20:30 +0000 (0:00:00.216) 0:00:09.794 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:20:30 +0000 (0:00:00.068) 0:00:09.862 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021522", "end": "2024-02-06 22:20:30.808784", "rc": 1, "start": "2024-02-06 22:20:30.787262" } 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:20:30 +0000 (0:00:00.242) 0:00:10.105 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:20:30 +0000 (0:00:00.025) 0:00:10.131 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003689", "end": "2024-02-06 22:20:31.045624", "rc": 0, "start": "2024-02-06 22:20:31.041935" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.213) 0:00:10.344 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.028) 0:00:10.372 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003474", "end": "2024-02-06 22:20:31.285260", "rc": 0, "start": "2024-02-06 22:20:31.281786" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.210) 0:00:10.583 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.027) 0:00:10.611 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.023) 0:00:10.635 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.024) 0:00:10.659 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.022) 0:00:10.682 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.024) 0:00:10.706 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.022) 0:00:10.729 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.042) 0:00:10.771 ****** 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.039209", "end": "2024-02-06 22:20:31.717806", "rc": 1, "start": "2024-02-06 22:20:31.678597" } 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_rewritesn2ilal8/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.267) 0:00:11.039 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.038) 0:00:11.077 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.022) 0:00:11.100 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.045) 0:00:11.145 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.036) 0:00:11.182 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:20:31 +0000 (0:00:00.035) 0:00:11.217 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003156", "end": "2024-02-06 22:20:32.123993", "rc": 0, "start": "2024-02-06 22:20:32.120837" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.202) 0:00:11.420 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.022) 0:00:11.443 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.022) 0:00:11.466 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.043) 0:00:11.510 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006700", "end": "2024-02-06 22:20:32.419159", "rc": 1, "start": "2024-02-06 22:20:32.412459" } 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_rewritesn2ilal8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.204) 0:00:11.714 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.063) 0:00:11.778 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.202) 0:00:11.980 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.025) 0:00:12.006 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.043) 0:00:12.049 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.041) 0:00:12.091 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.041) 0:00:12.133 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.028) 0:00:12.161 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.022) 0:00:12.183 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:20:32 +0000 (0:00:00.022) 0:00:12.206 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:20:34 +0000 (0:00:01.624) 0:00:13.830 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:20:35 +0000 (0:00:01.318) 0:00:15.148 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:20:35 +0000 (0:00:00.024) 0:00:15.173 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:20:35 +0000 (0:00:00.023) 0:00:15.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:20:35 +0000 (0:00:00.022) 0:00:15.219 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:20:36 +0000 (0:00:00.069) 0:00:15.289 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:20:36 +0000 (0:00:00.030) 0:00:15.319 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:20:36 +0000 (0:00:00.023) 0:00:15.343 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:20:36 +0000 (0:00:00.028) 0:00:15.371 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:20:36 +0000 (0:00:00.033) 0:00:15.404 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:20:36 +0000 (0:00:00.027) 0:00:15.432 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:20:36 +0000 (0:00:00.360) 0:00:15.792 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmpoodma02s" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:20:36 +0000 (0:00:00.312) 0:00:16.105 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.302) 0:00:16.407 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.021) 0:00:16.429 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.024) 0:00:16.453 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.024) 0:00:16.478 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.022) 0:00:16.500 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.220) 0:00:16.721 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.026) 0:00:16.748 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.046) 0:00:16.795 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.044) 0:00:16.839 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.204) 0:00:17.044 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.032) 0:00:17.077 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.043) 0:00:17.120 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:20:37 +0000 (0:00:00.023) 0:00:17.144 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258037.1100132, "block_size": 4096, "blocks": 8, "ctime": 1707258037.1100132, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434805, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707258037.1100132, "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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:20:38 +0000 (0:00:00.206) 0:00:17.351 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:20:38 +0000 (0:00:00.042) 0:00:17.394 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020415", "end": "2024-02-06 22:20:38.325238", "rc": 1, "start": "2024-02-06 22:20:38.304823" } 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:20:38 +0000 (0:00:00.226) 0:00:17.620 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:20:38 +0000 (0:00:00.046) 0:00:17.666 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003605", "end": "2024-02-06 22:20:38.579113", "rc": 0, "start": "2024-02-06 22:20:38.575508" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:20:38 +0000 (0:00:00.217) 0:00:17.883 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:20:38 +0000 (0:00:00.029) 0:00:17.913 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003493", "end": "2024-02-06 22:20:38.827432", "rc": 0, "start": "2024-02-06 22:20:38.823939" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:20:38 +0000 (0:00:00.212) 0:00:18.125 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:20:38 +0000 (0:00:00.029) 0:00:18.155 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:20:38 +0000 (0:00:00.025) 0:00:18.180 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:20:38 +0000 (0:00:00.024) 0:00:18.204 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:20:38 +0000 (0:00:00.022) 0:00:18.227 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:20:38 +0000 (0:00:00.020) 0:00:18.248 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.022) 0:00:18.270 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.040) 0:00:18.311 ****** 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.041182", "end": "2024-02-06 22:20:39.260868", "rc": 1, "start": "2024-02-06 22:20:39.219686" } 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_rewritesn2ilal8/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.246) 0:00:18.557 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.068) 0:00:18.626 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.026) 0:00:18.652 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.049) 0:00:18.702 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.036) 0:00:18.739 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.035) 0:00:18.774 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003776", "end": "2024-02-06 22:20:39.688532", "rc": 0, "start": "2024-02-06 22:20:39.684756" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.224) 0:00:18.999 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.028) 0:00:19.027 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.025) 0:00:19.053 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.046) 0:00:19.099 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.043) 0:00:19.143 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:20:39 +0000 (0:00:00.056) 0:00:19.199 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:20:40 +0000 (0:00:00.071) 0:00:19.271 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:20:40 +0000 (0:00:00.022) 0:00:19.293 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:20:40 +0000 (0:00:00.022) 0:00:19.316 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:20:41 +0000 (0:00:01.604) 0:00:20.920 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:20:42 +0000 (0:00:01.323) 0:00:22.243 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:20:43 +0000 (0:00:00.025) 0:00:22.269 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:20:43 +0000 (0:00:00.024) 0:00:22.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:20:43 +0000 (0:00:00.022) 0:00:22.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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:20:43 +0000 (0:00:00.047) 0:00:22.364 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:20:43 +0000 (0:00:00.022) 0:00:22.387 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:20:43 +0000 (0:00:00.022) 0:00:22.409 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:20:43 +0000 (0:00:00.025) 0:00:22.435 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:20:43 +0000 (0:00:00.022) 0:00:22.457 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:20:43 +0000 (0:00:00.021) 0:00:22.479 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:20:43 +0000 (0:00:00.348) 0:00:22.828 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmp1w3tyu4a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:20:43 +0000 (0:00:00.308) 0:00:23.136 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.320) 0:00:23.456 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.029) 0:00:23.485 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.026) 0:00:23.512 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.025) 0:00:23.537 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.023) 0:00:23.560 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.196) 0:00:23.757 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.024) 0:00:23.781 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.042) 0:00:23.824 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.044) 0:00:23.868 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.043) 0:00:23.912 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.029) 0:00:23.941 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.025) 0:00:23.967 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:20:44 +0000 (0:00:00.046) 0:00:24.013 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:20:46 +0000 (0:00:01.574) 0:00:25.588 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:20:47 +0000 (0:00:01.308) 0:00:26.897 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:20:47 +0000 (0:00:00.043) 0:00:26.940 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:20:47 +0000 (0:00:00.022) 0:00:26.963 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:20:47 +0000 (0:00:00.022) 0:00:26.985 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:20:47 +0000 (0:00:00.042) 0:00:27.028 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:20:47 +0000 (0:00:00.022) 0:00:27.050 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:20:47 +0000 (0:00:00.022) 0:00:27.073 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:20:47 +0000 (0:00:00.024) 0:00:27.098 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:20:47 +0000 (0:00:00.022) 0:00:27.120 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:20:47 +0000 (0:00:00.021) 0:00:27.142 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:20:48 +0000 (0:00:00.352) 0:00:27.494 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmpzrx4j1oh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:20:48 +0000 (0:00:00.310) 0:00:27.804 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:20:49 +0000 (0:00:00.646) 0:00:28.451 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:20:49 +0000 (0:00:00.045) 0:00:28.497 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:20:49 +0000 (0:00:00.024) 0:00:28.521 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:20:49 +0000 (0:00:00.023) 0:00:28.545 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:20:49 +0000 (0:00:00.023) 0:00:28.568 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:20:49 +0000 (0:00:00.195) 0:00:28.763 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:20:49 +0000 (0:00:00.052) 0:00:28.815 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:20:49 +0000 (0:00:00.039) 0:00:28.855 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258049.0567455, "block_size": 4096, "blocks": 0, "ctime": 1707258049.0567455, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26342, "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": 1707258049.0567455, "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_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:20:49 +0000 (0:00:00.203) 0:00:29.058 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:20:49 +0000 (0:00:00.025) 0:00:29.084 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:20:49 +0000 (0:00:00.045) 0:00:29.129 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:20:49 +0000 (0:00:00.024) 0:00:29.154 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258048.8020093, "block_size": 4096, "blocks": 8, "ctime": 1707258044.1570108, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434805, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707258044.1570108, "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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:20:50 +0000 (0:00:00.221) 0:00:29.375 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:20:50 +0000 (0:00:00.072) 0:00:29.447 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021198", "end": "2024-02-06 22:20:50.411829", "rc": 1, "start": "2024-02-06 22:20:50.390631" } 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:20:50 +0000 (0:00:00.261) 0:00:29.709 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:20:50 +0000 (0:00:00.038) 0:00:29.747 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003643", "end": "2024-02-06 22:20:50.668774", "rc": 0, "start": "2024-02-06 22:20:50.665131" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:20:50 +0000 (0:00:00.221) 0:00:29.968 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:20:50 +0000 (0:00:00.038) 0:00:30.007 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003580", "end": "2024-02-06 22:20:50.935114", "rc": 0, "start": "2024-02-06 22:20:50.931534" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.266) 0:00:30.274 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.069) 0:00:30.344 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.027) 0:00:30.371 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.054) 0:00:30.426 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.044) 0:00:30.471 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.021) 0:00:30.492 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.025) 0:00:30.518 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.041) 0:00:30.559 ****** 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.044869", "end": "2024-02-06 22:20:51.511001", "rc": 0, "start": "2024-02-06 22:20:51.466132" } 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_rewritesn2ilal8/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.252) 0:00:30.811 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.038) 0:00:30.850 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.023) 0:00:30.874 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.049) 0:00:30.923 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.038) 0:00:30.961 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.035) 0:00:30.996 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003694", "end": "2024-02-06 22:20:51.904577", "rc": 0, "start": "2024-02-06 22:20:51.900883" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.205) 0:00:31.201 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.023) 0:00:31.225 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:20:51 +0000 (0:00:00.023) 0:00:31.249 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:20:52 +0000 (0:00:00.043) 0:00:31.292 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:20:52 +0000 (0:00:00.077) 0:00:31.370 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:20:52 +0000 (0:00:00.046) 0:00:31.416 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:20:52 +0000 (0:00:00.034) 0:00:31.450 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:20:52 +0000 (0:00:00.025) 0:00:31.475 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:20:52 +0000 (0:00:00.022) 0:00:31.498 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:20:53 +0000 (0:00:01.595) 0:00:33.094 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:20:55 +0000 (0:00:01.340) 0:00:34.435 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:20:55 +0000 (0:00:00.027) 0:00:34.462 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:20:55 +0000 (0:00:00.025) 0:00:34.488 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:20:55 +0000 (0:00:00.026) 0:00:34.514 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:20:55 +0000 (0:00:00.058) 0:00:34.573 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:20:55 +0000 (0:00:00.026) 0:00:34.599 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:20:55 +0000 (0:00:00.022) 0:00:34.622 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:20:55 +0000 (0:00:00.028) 0:00:34.651 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:20:55 +0000 (0:00:00.027) 0:00:34.678 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:20:55 +0000 (0:00:00.043) 0:00:34.722 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:20:55 +0000 (0:00:00.396) 0:00:35.119 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmpk2o7r4hn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.319) 0:00:35.438 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.297) 0:00:35.736 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.023) 0:00:35.760 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.025) 0:00:35.786 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.023) 0:00:35.809 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.022) 0:00:35.831 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.199) 0:00:36.031 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.024) 0:00:36.056 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.039) 0:00:36.095 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.041) 0:00:36.136 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.026) 0:00:36.162 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.047) 0:00:36.210 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:20:56 +0000 (0:00:00.022) 0:00:36.233 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:20:58 +0000 (0:00:01.622) 0:00:37.855 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:20:59 +0000 (0:00:01.326) 0:00:39.181 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:20:59 +0000 (0:00:00.049) 0:00:39.230 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:20:59 +0000 (0:00:00.032) 0:00:39.263 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:21:00 +0000 (0:00:00.034) 0:00:39.298 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:21:00 +0000 (0:00:00.051) 0:00:39.349 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:21:00 +0000 (0:00:00.023) 0:00:39.372 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:21:00 +0000 (0:00:00.022) 0:00:39.395 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:21:00 +0000 (0:00:00.026) 0:00:39.422 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:21:00 +0000 (0:00:00.022) 0:00:39.445 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:21:00 +0000 (0:00:00.022) 0:00:39.467 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:21:00 +0000 (0:00:00.351) 0:00:39.819 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmpy3w7f42s" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:21:00 +0000 (0:00:00.309) 0:00:40.128 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:21:01 +0000 (0:00:00.579) 0:00:40.708 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:21:01 +0000 (0:00:00.053) 0:00:40.762 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:21:01 +0000 (0:00:00.026) 0:00:40.788 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:21:01 +0000 (0:00:00.032) 0:00:40.821 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:21:01 +0000 (0:00:00.026) 0:00:40.848 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:21:01 +0000 (0:00:00.203) 0:00:41.051 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:21:01 +0000 (0:00:00.052) 0:00:41.104 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:21:01 +0000 (0:00:00.045) 0:00:41.150 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:21:01 +0000 (0:00:00.042) 0:00:41.193 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:21:01 +0000 (0:00:00.028) 0:00:41.221 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:21:01 +0000 (0:00:00.021) 0:00:41.243 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:21:01 +0000 (0:00:00.022) 0:00:41.265 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:21:03 +0000 (0:00:01.601) 0:00:42.867 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:21:04 +0000 (0:00:01.314) 0:00:44.181 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:21:04 +0000 (0:00:00.024) 0:00:44.205 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:21:04 +0000 (0:00:00.022) 0:00:44.228 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:21:05 +0000 (0:00:00.046) 0:00:44.274 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:21:05 +0000 (0:00:00.046) 0:00:44.320 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:21:05 +0000 (0:00:00.023) 0:00:44.344 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:21:05 +0000 (0:00:00.023) 0:00:44.367 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:21:05 +0000 (0:00:00.025) 0:00:44.393 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:21:05 +0000 (0:00:00.022) 0:00:44.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:21:05 +0000 (0:00:00.022) 0:00:44.437 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:21:05 +0000 (0:00:00.361) 0:00:44.798 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmpzeq5jtl3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:21:05 +0000 (0:00:00.348) 0:00:45.146 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:21:06 +0000 (0:00:00.309) 0:00:45.456 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:21:06 +0000 (0:00:00.022) 0:00:45.479 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:21:06 +0000 (0:00:00.025) 0:00:45.505 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:21:06 +0000 (0:00:00.025) 0:00:45.530 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:21:06 +0000 (0:00:00.059) 0:00:45.589 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:21:06 +0000 (0:00:00.204) 0:00:45.793 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:21:06 +0000 (0:00:00.059) 0:00:45.852 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:21:06 +0000 (0:00:00.049) 0:00:45.902 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258061.3122287, "block_size": 4096, "blocks": 0, "ctime": 1707258061.3122287, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26473, "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": 1707258061.3122287, "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_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:21:06 +0000 (0:00:00.250) 0:00:46.152 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:21:06 +0000 (0:00:00.051) 0:00:46.204 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:21:06 +0000 (0:00:00.053) 0:00:46.257 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.038) 0:00:46.296 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.213) 0:00:46.509 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.060) 0:00:46.569 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021034", "end": "2024-02-06 22:21:07.578814", "rc": 1, "start": "2024-02-06 22:21:07.557780" } 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.310) 0:00:46.879 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.026) 0:00:46.906 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.064) 0:00:46.971 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.035) 0:00:47.007 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.039) 0:00:47.047 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.040) 0:00:47.087 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.028) 0:00:47.116 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.022) 0:00:47.139 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.055) 0:00:47.194 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:21:07 +0000 (0:00:00.045) 0:00:47.240 ****** 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.049137", "end": "2024-02-06 22:21:08.198792", "rc": 0, "start": "2024-02-06 22:21:08.149655" } 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_rewritesn2ilal8/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.258) 0:00:47.498 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.037) 0:00:47.535 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.023) 0:00:47.558 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.045) 0:00:47.604 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.068) 0:00:47.673 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.036) 0:00:47.709 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003621", "end": "2024-02-06 22:21:08.616680", "rc": 0, "start": "2024-02-06 22:21:08.613059" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.203) 0:00:47.913 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.026) 0:00:47.939 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.023) 0:00:47.962 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.048) 0:00:48.011 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.038) 0:00:48.050 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.042) 0:00:48.092 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.028) 0:00:48.121 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.026) 0:00:48.148 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:21:08 +0000 (0:00:00.023) 0:00:48.171 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:21:10 +0000 (0:00:01.600) 0:00:49.771 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:21:11 +0000 (0:00:01.309) 0:00:51.081 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:21:11 +0000 (0:00:00.023) 0:00:51.105 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:21:11 +0000 (0:00:00.042) 0:00:51.147 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:21:11 +0000 (0:00:00.022) 0:00:51.169 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:21:11 +0000 (0:00:00.045) 0:00:51.215 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:21:11 +0000 (0:00:00.022) 0:00:51.237 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:21:11 +0000 (0:00:00.021) 0:00:51.259 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:21:12 +0000 (0:00:00.025) 0:00:51.285 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:21:12 +0000 (0:00:00.022) 0:00:51.307 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:21:12 +0000 (0:00:00.021) 0:00:51.329 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:21:12 +0000 (0:00:00.356) 0:00:51.685 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmpulys6rs_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:21:12 +0000 (0:00:00.312) 0:00:51.998 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:21:13 +0000 (0:00:00.298) 0:00:52.296 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:21:13 +0000 (0:00:00.021) 0:00:52.318 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:21:13 +0000 (0:00:00.023) 0:00:52.342 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:21:13 +0000 (0:00:00.025) 0:00:52.368 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:21:13 +0000 (0:00:00.048) 0:00:52.417 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:21:13 +0000 (0:00:00.197) 0:00:52.615 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:21:13 +0000 (0:00:00.025) 0:00:52.640 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:21:13 +0000 (0:00:00.036) 0:00:52.676 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:21:13 +0000 (0:00:00.041) 0:00:52.718 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:21:13 +0000 (0:00:00.027) 0:00:52.745 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:21:13 +0000 (0:00:00.022) 0:00:52.768 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:21:13 +0000 (0:00:00.023) 0:00:52.792 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:21:15 +0000 (0:00:01.660) 0:00:54.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:21:16 +0000 (0:00:01.320) 0:00:55.772 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:21:16 +0000 (0:00:00.025) 0:00:55.798 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:21:16 +0000 (0:00:00.023) 0:00:55.822 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:21:16 +0000 (0:00:00.022) 0:00:55.844 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:21:16 +0000 (0:00:00.044) 0:00:55.888 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:21:16 +0000 (0:00:00.023) 0:00:55.912 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:21:16 +0000 (0:00:00.022) 0:00:55.934 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:21:16 +0000 (0:00:00.054) 0:00:55.989 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:21:16 +0000 (0:00:00.027) 0:00:56.017 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:21:16 +0000 (0:00:00.027) 0:00:56.044 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:21:17 +0000 (0:00:00.392) 0:00:56.437 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmpibis6du6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:21:17 +0000 (0:00:00.310) 0:00:56.748 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:21:18 +0000 (0:00:00.575) 0:00:57.323 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:21:18 +0000 (0:00:00.022) 0:00:57.346 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:21:18 +0000 (0:00:00.023) 0:00:57.369 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:21:18 +0000 (0:00:00.023) 0:00:57.393 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:21:18 +0000 (0:00:00.022) 0:00:57.416 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:21:18 +0000 (0:00:00.199) 0:00:57.616 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:21:18 +0000 (0:00:00.072) 0:00:57.688 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:21:18 +0000 (0:00:00.044) 0:00:57.732 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:21:18 +0000 (0:00:00.029) 0:00:57.762 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:21:18 +0000 (0:00:00.022) 0:00:57.784 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:21:18 +0000 (0:00:00.022) 0:00:57.807 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:21:20 +0000 (0:00:01.555) 0:00:59.362 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:21:21 +0000 (0:00:01.323) 0:01:00.686 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:21:21 +0000 (0:00:00.026) 0:01:00.713 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:21:21 +0000 (0:00:00.029) 0:01:00.742 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:21:21 +0000 (0:00:00.023) 0:01:00.766 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:21:21 +0000 (0:00:00.049) 0:01:00.816 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:21:21 +0000 (0:00:00.023) 0:01:00.840 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:21:21 +0000 (0:00:00.044) 0:01:00.884 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:21:21 +0000 (0:00:00.029) 0:01:00.914 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:21:21 +0000 (0:00:00.024) 0:01:00.939 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:21:21 +0000 (0:00:00.024) 0:01:00.963 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:21:22 +0000 (0:00:00.374) 0:01:01.337 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmptv7977li" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:21:22 +0000 (0:00:00.306) 0:01:01.644 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:21:22 +0000 (0:00:00.299) 0:01:01.943 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:21:22 +0000 (0:00:00.026) 0:01:01.970 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:21:22 +0000 (0:00:00.027) 0:01:01.997 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:21:22 +0000 (0:00:00.026) 0:01:02.024 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:21:22 +0000 (0:00:00.026) 0:01:02.050 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:21:22 +0000 (0:00:00.196) 0:01:02.246 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:21:23 +0000 (0:00:00.041) 0:01:02.287 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:21:23 +0000 (0:00:00.041) 0:01:02.328 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:21:23 +0000 (0:00:00.040) 0:01:02.369 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:21:23 +0000 (0:00:00.057) 0:01:02.427 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:21:23 +0000 (0:00:00.022) 0:01:02.449 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:21:23 +0000 (0:00:00.022) 0:01:02.472 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:21:24 +0000 (0:00:01.590) 0:01:04.063 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:21:26 +0000 (0:00:01.336) 0:01:05.399 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:21:26 +0000 (0:00:00.024) 0:01:05.424 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:21:26 +0000 (0:00:00.023) 0:01:05.447 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:21:26 +0000 (0:00:00.024) 0:01:05.472 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:21:26 +0000 (0:00:00.045) 0:01:05.518 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:21:26 +0000 (0:00:00.023) 0:01:05.542 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:21:26 +0000 (0:00:00.025) 0:01:05.567 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:21:26 +0000 (0:00:00.026) 0:01:05.593 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:21:26 +0000 (0:00:00.023) 0:01:05.617 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:21:26 +0000 (0:00:00.023) 0:01:05.640 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:21:26 +0000 (0:00:00.352) 0:01:05.992 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmp7zzafjgu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:21:27 +0000 (0:00:00.325) 0:01:06.317 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:21:27 +0000 (0:00:00.293) 0:01:06.610 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:21:27 +0000 (0:00:00.077) 0:01:06.687 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:21:27 +0000 (0:00:00.026) 0:01:06.714 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:21:27 +0000 (0:00:00.037) 0:01:06.752 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:21:27 +0000 (0:00:00.069) 0:01:06.821 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:21:27 +0000 (0:00:00.236) 0:01:07.058 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:21:27 +0000 (0:00:00.043) 0:01:07.102 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:21:27 +0000 (0:00:00.044) 0:01:07.147 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:21:27 +0000 (0:00:00.026) 0:01:07.173 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:21:28 +0000 (0:00:00.217) 0:01:07.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:21:28 +0000 (0:00:00.054) 0:01:07.445 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021694", "end": "2024-02-06 22:21:28.380678", "rc": 1, "start": "2024-02-06 22:21:28.358984" } 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:21:28 +0000 (0:00:00.232) 0:01:07.677 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:21:28 +0000 (0:00:00.030) 0:01:07.708 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:21:28 +0000 (0:00:00.025) 0:01:07.734 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:21:28 +0000 (0:00:00.025) 0:01:07.759 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:21:28 +0000 (0:00:00.080) 0:01:07.840 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:21:28 +0000 (0:00:00.042) 0:01:07.883 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:21:28 +0000 (0:00:00.041) 0:01:07.924 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:21:28 +0000 (0:00:00.028) 0:01:07.953 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:21:28 +0000 (0:00:00.026) 0:01:07.979 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:21:28 +0000 (0:00:00.050) 0:01:08.030 ****** 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.048685", "end": "2024-02-06 22:21:28.986756", "rc": 0, "start": "2024-02-06 22:21:28.938071" } 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_rewritesn2ilal8/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.255) 0:01:08.285 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.041) 0:01:08.327 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.023) 0:01:08.350 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.052) 0:01:08.403 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.038) 0:01:08.441 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.060) 0:01:08.502 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003635", "end": "2024-02-06 22:21:29.413471", "rc": 0, "start": "2024-02-06 22:21:29.409836" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.208) 0:01:08.710 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.027) 0:01:08.738 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.027) 0:01:08.765 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.050) 0:01:08.815 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.038) 0:01:08.854 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.042) 0:01:08.896 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.029) 0:01:08.925 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.023) 0:01:08.948 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:21:29 +0000 (0:00:00.022) 0:01:08.971 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:21:31 +0000 (0:00:01.589) 0:01:10.561 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:21:32 +0000 (0:00:01.311) 0:01:11.872 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:21:32 +0000 (0:00:00.026) 0:01:11.899 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:21:32 +0000 (0:00:00.022) 0:01:11.921 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:21:32 +0000 (0:00:00.023) 0:01:11.944 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:21:32 +0000 (0:00:00.070) 0:01:12.014 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:21:32 +0000 (0:00:00.022) 0:01:12.037 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:21:32 +0000 (0:00:00.023) 0:01:12.060 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:21:32 +0000 (0:00:00.036) 0:01:12.097 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:21:32 +0000 (0:00:00.023) 0:01:12.120 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:21:32 +0000 (0:00:00.025) 0:01:12.145 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:21:33 +0000 (0:00:00.356) 0:01:12.502 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmporaeegjp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:21:33 +0000 (0:00:00.314) 0:01:12.816 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:21:33 +0000 (0:00:00.300) 0:01:13.117 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:21:33 +0000 (0:00:00.022) 0:01:13.139 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:21:33 +0000 (0:00:00.023) 0:01:13.163 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:21:33 +0000 (0:00:00.022) 0:01:13.186 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:21:33 +0000 (0:00:00.021) 0:01:13.208 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:21:34 +0000 (0:00:00.218) 0:01:13.427 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:21:34 +0000 (0:00:00.025) 0:01:13.452 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:21:34 +0000 (0:00:00.038) 0:01:13.491 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:21:34 +0000 (0:00:00.043) 0:01:13.534 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:21:34 +0000 (0:00:00.028) 0:01:13.563 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:21:34 +0000 (0:00:00.022) 0:01:13.585 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:21:34 +0000 (0:00:00.022) 0:01:13.608 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:21:35 +0000 (0:00:01.627) 0:01:15.235 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:21:37 +0000 (0:00:01.304) 0:01:16.540 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:21:37 +0000 (0:00:00.023) 0:01:16.563 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:21:37 +0000 (0:00:00.022) 0:01:16.586 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:21:37 +0000 (0:00:00.021) 0:01:16.608 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:21:37 +0000 (0:00:00.043) 0:01:16.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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:21:37 +0000 (0:00:00.023) 0:01:16.675 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:21:37 +0000 (0:00:00.022) 0:01:16.698 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:21:37 +0000 (0:00:00.028) 0:01:16.726 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:21:37 +0000 (0:00:00.055) 0:01:16.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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:21:37 +0000 (0:00:00.025) 0:01:16.807 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:21:37 +0000 (0:00:00.351) 0:01:17.158 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmpq0s7zjyl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:21:38 +0000 (0:00:00.301) 0:01:17.460 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:21:38 +0000 (0:00:00.570) 0:01:18.031 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:21:38 +0000 (0:00:00.023) 0:01:18.054 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:21:38 +0000 (0:00:00.024) 0:01:18.078 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:21:38 +0000 (0:00:00.024) 0:01:18.103 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:21:38 +0000 (0:00:00.024) 0:01:18.128 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:21:39 +0000 (0:00:00.193) 0:01:18.322 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:21:39 +0000 (0:00:00.037) 0:01:18.359 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:21:39 +0000 (0:00:00.075) 0:01:18.435 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:21:39 +0000 (0:00:00.029) 0:01:18.464 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:21:39 +0000 (0:00:00.024) 0:01:18.489 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:21:39 +0000 (0:00:00.023) 0:01:18.513 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:21:40 +0000 (0:00:01.546) 0:01:20.059 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:21:42 +0000 (0:00:01.309) 0:01:21.368 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:21:42 +0000 (0:00:00.023) 0:01:21.392 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:21:42 +0000 (0:00:00.022) 0:01:21.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:21:42 +0000 (0:00:00.021) 0:01:21.437 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:21:42 +0000 (0:00:00.043) 0:01:21.480 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:21:42 +0000 (0:00:00.022) 0:01:21.503 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:21:42 +0000 (0:00:00.021) 0:01:21.524 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:21:42 +0000 (0:00:00.026) 0:01:21.551 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:21:42 +0000 (0:00:00.022) 0:01:21.574 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:21:42 +0000 (0:00:00.022) 0:01:21.596 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:21:42 +0000 (0:00:00.357) 0:01:21.954 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmp3kgutsbo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:21:42 +0000 (0:00:00.310) 0:01:22.265 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:21:43 +0000 (0:00:00.311) 0:01:22.577 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:21:43 +0000 (0:00:00.023) 0:01:22.600 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:21:43 +0000 (0:00:00.046) 0:01:22.646 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:21:43 +0000 (0:00:00.028) 0:01:22.675 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:21:43 +0000 (0:00:00.027) 0:01:22.702 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:21:43 +0000 (0:00:00.199) 0:01:22.902 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:21:43 +0000 (0:00:00.047) 0:01:22.950 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:21:43 +0000 (0:00:00.038) 0:01:22.988 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:21:43 +0000 (0:00:00.044) 0:01:23.032 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:21:43 +0000 (0:00:00.029) 0:01:23.061 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:21:43 +0000 (0:00:00.062) 0:01:23.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:21:43 +0000 (0:00:00.024) 0:01:23.148 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:21:45 +0000 (0:00:01.570) 0:01:24.718 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:21:46 +0000 (0:00:01.301) 0:01:26.019 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:21:46 +0000 (0:00:00.049) 0:01:26.069 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:21:46 +0000 (0:00:00.025) 0:01:26.095 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:21:46 +0000 (0:00:00.025) 0:01:26.120 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:21:46 +0000 (0:00:00.044) 0:01:26.164 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:21:46 +0000 (0:00:00.021) 0:01:26.186 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:21:46 +0000 (0:00:00.022) 0:01:26.209 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:21:46 +0000 (0:00:00.025) 0:01:26.234 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:21:46 +0000 (0:00:00.022) 0:01:26.256 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:21:47 +0000 (0:00:00.023) 0:01:26.280 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:21:47 +0000 (0:00:00.360) 0:01:26.640 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-20576euhcj23j/tmpdqe8ug7j" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:21:47 +0000 (0:00:00.310) 0:01:26.951 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:21:47 +0000 (0:00:00.292) 0:01:27.243 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:21:47 +0000 (0:00:00.022) 0:01:27.266 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.024) 0:01:27.290 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.055) 0:01:27.346 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.023) 0:01:27.369 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.198) 0:01:27.567 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.046) 0:01:27.613 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.040) 0:01:27.654 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.023) 0:01:27.677 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.201) 0:01:27.878 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.022) 0:01:27.900 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020659", "end": "2024-02-06 22:21:48.825660", "rc": 1, "start": "2024-02-06 22:21:48.805001" } 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.221) 0:01:28.121 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.024) 0:01:28.146 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.024) 0:01:28.171 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.023) 0:01:28.194 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:21:48 +0000 (0:00:00.052) 0:01:28.247 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:21:49 +0000 (0:00:00.024) 0:01:28.271 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 22:21:49 +0000 (0:00:00.024) 0:01:28.295 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.939153", "end": "2024-02-06 22:21:50.141830", "rc": 0, "start": "2024-02-06 22:21:49.202677" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 22:21:50 +0000 (0:00:01.143) 0:01:29.439 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 22:21:50 +0000 (0:00:00.024) 0:01:29.464 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:21:50 +0000 (0:00:00.023) 0:01:29.488 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:21:50 +0000 (0:00:00.028) 0:01:29.516 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:21:50 +0000 (0:00:00.028) 0:01:29.544 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:21:50 +0000 (0:00:00.044) 0:01:29.589 ****** 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.046489", "end": "2024-02-06 22:21:50.541487", "rc": 0, "start": "2024-02-06 22:21:50.494998" } 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 22:21:50 +0000 (0:00:00.246) 0:01:29.835 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.37s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.95s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.65s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.56s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.48s /WORKDIR/git-bond_options_rewritesn2ilal8/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. ---^---^---^---^---^---