# 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-network-state-in-defaults5635thno/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/tests_states_initscripts.yml:5 Wednesday 03 July 2024 22:56:14 +0000 (0:00:00.020) 0:00:00.020 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/tests_states_initscripts.yml:8 Wednesday 03 July 2024 22:56:15 +0000 (0:00:00.710) 0:00:00.730 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/tasks/el_repo_setup.yml:3 Wednesday 03 July 2024 22:56:15 +0000 (0:00:00.026) 0:00:00.757 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/tasks/el_repo_setup.yml:19 Wednesday 03 July 2024 22:56:15 +0000 (0:00:00.342) 0:00:01.099 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/tasks/el_repo_setup.yml:24 Wednesday 03 July 2024 22:56:15 +0000 (0:00:00.262) 0:00:01.362 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/tasks/el_repo_setup.yml:28 Wednesday 03 July 2024 22:56:15 +0000 (0:00:00.021) 0:00:01.383 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/tasks/el_repo_setup.yml:53 Wednesday 03 July 2024 22:56:15 +0000 (0:00:00.018) 0:00:01.402 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/tasks/enable_epel.yml:8 Wednesday 03 July 2024 22:56:15 +0000 (0:00:00.031) 0:00:01.433 ******** 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-network-state-in-defaults5635thno/tests/tasks/enable_epel.yml:24 Wednesday 03 July 2024 22:56:16 +0000 (0:00:00.299) 0:00:01.733 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/tasks/enable_epel.yml:30 Wednesday 03 July 2024 22:56:16 +0000 (0:00:00.030) 0:00:01.763 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/tasks/enable_epel.yml:35 Wednesday 03 July 2024 22:56:16 +0000 (0:00:00.047) 0:00:01.811 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243722", "end": "2024-07-03 22:56:16.718783", "rc": 0, "start": "2024-07-03 22:56:16.475061" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/tasks/enable_epel.yml:40 Wednesday 03 July 2024 22:56:16 +0000 (0:00:00.457) 0:00:02.269 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/tests_states_initscripts.yml:10 Wednesday 03 July 2024 22:56:16 +0000 (0:00:00.019) 0:00:02.288 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tests_states.yml:3 Wednesday 03 July 2024 22:56:16 +0000 (0:00:00.023) 0:00:02.312 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tests_states.yml:11 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.502) 0:00:02.814 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tests_states.yml:22 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.022) 0:00:02.837 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.018) 0:00:02.855 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.015) 0:00:02.871 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.036) 0:00:02.907 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.015) 0:00:02.922 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.013) 0:00:02.936 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002839", "end": "2024-07-03 22:56:17.586434", "rc": 0, "start": "2024-07-03 22:56:17.583595" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.193) 0:00:03.129 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.015) 0:00:03.145 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:24 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.015) 0:00:03.161 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.042) 0:00:03.203 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007248", "end": "2024-07-03 22:56:17.863579", "rc": 1, "start": "2024-07-03 22:56:17.856331" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.191) 0:00:03.395 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 22:56:17 +0000 (0:00:00.016) 0:00:03.412 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 03 July 2024 22:56:18 +0000 (0:00:00.187) 0:00:03.599 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:30 Wednesday 03 July 2024 22:56:18 +0000 (0:00:00.013) 0:00:03.612 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 July 2024 22:56:18 +0000 (0:00:00.018) 0:00:03.631 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:56:18 +0000 (0:00:00.083) 0:00:03.714 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:56:18 +0000 (0:00:00.022) 0:00:03.737 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:56:18 +0000 (0:00:00.015) 0:00:03.753 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:56:18 +0000 (0:00:00.013) 0:00:03.767 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:56:18 +0000 (0:00:00.013) 0:00:03.780 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:56:19 +0000 (0:00:01.546) 0:00:05.327 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:56:21 +0000 (0:00:01.619) 0:00:06.946 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.037) 0:00:06.984 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.022) 0:00:07.007 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.021) 0:00:07.028 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.021) 0:00:07.050 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.030) 0:00:07.081 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.022) 0:00:07.103 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.026) 0:00:07.130 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.044) 0:00:07.175 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.027) 0:00:07.202 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.036) 0:00:07.239 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.057) 0:00:07.297 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.029) 0:00:07.326 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:56:21 +0000 (0:00:00.037) 0:00:07.364 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:56:22 +0000 (0:00:00.626) 0:00:07.991 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmpntixof3n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:56:22 +0000 (0:00:00.401) 0:00:08.392 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:56:23 +0000 (0:00:00.493) 0:00:08.885 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:56:23 +0000 (0:00:00.033) 0:00:08.919 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:56:23 +0000 (0:00:00.027) 0:00:08.947 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:56:23 +0000 (0:00:00.028) 0:00:08.975 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:56:23 +0000 (0:00:00.023) 0:00:08.998 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 July 2024 22:56:23 +0000 (0:00:00.270) 0:00:09.268 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:36 Wednesday 03 July 2024 22:56:23 +0000 (0:00:00.024) 0:00:09.293 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 July 2024 22:56:23 +0000 (0:00:00.046) 0:00:09.339 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 July 2024 22:56:23 +0000 (0:00:00.041) 0:00:09.381 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 03 July 2024 22:56:23 +0000 (0:00:00.050) 0:00:09.431 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047383.3376682, "block_size": 4096, "blocks": 8, "ctime": 1720047383.3376682, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301237, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720047383.3376682, "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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 03 July 2024 22:56:24 +0000 (0:00:00.214) 0:00:09.646 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 03 July 2024 22:56:24 +0000 (0:00:00.024) 0:00:09.670 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019545", "end": "2024-07-03 22:56:24.339768", "rc": 1, "start": "2024-07-03 22:56:24.320223" } 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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 03 July 2024 22:56:24 +0000 (0:00:00.222) 0:00:09.893 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 July 2024 22:56:24 +0000 (0:00:00.030) 0:00:09.924 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002762", "end": "2024-07-03 22:56:24.579453", "rc": 0, "start": "2024-07-03 22:56:24.576691" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 03 July 2024 22:56:24 +0000 (0:00:00.198) 0:00:10.122 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 03 July 2024 22:56:24 +0000 (0:00:00.028) 0:00:10.151 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002664", "end": "2024-07-03 22:56:24.806365", "rc": 0, "start": "2024-07-03 22:56:24.803701" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 03 July 2024 22:56:24 +0000 (0:00:00.197) 0:00:10.349 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 03 July 2024 22:56:24 +0000 (0:00:00.042) 0:00:10.391 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 03 July 2024 22:56:24 +0000 (0:00:00.040) 0:00:10.432 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 03 July 2024 22:56:24 +0000 (0:00:00.042) 0:00:10.474 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:42 Wednesday 03 July 2024 22:56:24 +0000 (0:00:00.026) 0:00:10.500 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 July 2024 22:56:25 +0000 (0:00:00.048) 0:00:10.548 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 July 2024 22:56:25 +0000 (0:00:00.044) 0:00:10.593 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 July 2024 22:56:25 +0000 (0:00:00.073) 0:00:10.667 ******** 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.037780", "end": "2024-07-03 22:56:25.355120", "rc": 1, "start": "2024-07-03 22:56:25.317340" } 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-network-state-in-defaults5635thno/tests/playbooks/tests_states.yml:45 Wednesday 03 July 2024 22:56:25 +0000 (0:00:00.235) 0:00:10.902 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 July 2024 22:56:25 +0000 (0:00:00.043) 0:00:10.946 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 July 2024 22:56:25 +0000 (0:00:00.032) 0:00:10.978 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 July 2024 22:56:25 +0000 (0:00:00.052) 0:00:11.031 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 22:56:25 +0000 (0:00:00.043) 0:00:11.075 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 22:56:25 +0000 (0:00:00.041) 0:00:11.117 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004064", "end": "2024-07-03 22:56:26.773988", "rc": 0, "start": "2024-07-03 22:56:25.769924" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 22:56:26 +0000 (0:00:01.230) 0:00:12.347 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 22:56:26 +0000 (0:00:00.089) 0:00:12.436 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:24 Wednesday 03 July 2024 22:56:27 +0000 (0:00:00.121) 0:00:12.557 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 July 2024 22:56:27 +0000 (0:00:00.056) 0:00:12.614 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005511", "end": "2024-07-03 22:56:27.350218", "rc": 1, "start": "2024-07-03 22:56:27.344707" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 July 2024 22:56:27 +0000 (0:00:00.313) 0:00:12.928 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 22:56:27 +0000 (0:00:00.092) 0:00:13.020 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 03 July 2024 22:56:27 +0000 (0:00:00.225) 0:00:13.246 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:30 Wednesday 03 July 2024 22:56:27 +0000 (0:00:00.038) 0:00:13.284 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 03 July 2024 22:56:27 +0000 (0:00:00.060) 0:00:13.345 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:56:27 +0000 (0:00:00.059) 0:00:13.404 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:56:27 +0000 (0:00:00.046) 0:00:13.451 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:56:27 +0000 (0:00:00.037) 0:00:13.488 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:56:28 +0000 (0:00:00.084) 0:00:13.573 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:56:28 +0000 (0:00:00.073) 0:00:13.646 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:56:29 +0000 (0:00:01.573) 0:00:15.219 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:56:31 +0000 (0:00:01.323) 0:00:16.543 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.031) 0:00:16.574 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.049) 0:00:16.623 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.053) 0:00:16.676 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.061) 0:00:16.737 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.028) 0:00:16.766 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.028) 0:00:16.795 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.034) 0:00:16.829 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.082) 0:00:16.912 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.053) 0:00:16.966 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.079) 0:00:17.046 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.093) 0:00:17.139 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.079) 0:00:17.219 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:56:31 +0000 (0:00:00.081) 0:00:17.300 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:56:32 +0000 (0:00:00.489) 0:00:17.790 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmpbdshgtt7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:56:32 +0000 (0:00:00.380) 0:00:18.171 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:56:33 +0000 (0:00:00.379) 0:00:18.550 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:56:33 +0000 (0:00:00.032) 0:00:18.583 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:56:33 +0000 (0:00:00.039) 0:00:18.622 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:56:33 +0000 (0:00:00.074) 0:00:18.696 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:56:33 +0000 (0:00:00.095) 0:00:18.792 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 03 July 2024 22:56:33 +0000 (0:00:00.298) 0:00:19.091 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:36 Wednesday 03 July 2024 22:56:33 +0000 (0:00:00.098) 0:00:19.190 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 July 2024 22:56:33 +0000 (0:00:00.086) 0:00:19.276 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 22:56:33 +0000 (0:00:00.146) 0:00:19.423 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 03 July 2024 22:56:34 +0000 (0:00:00.333) 0:00:19.757 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 July 2024 22:56:34 +0000 (0:00:00.054) 0:00:19.811 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 July 2024 22:56:34 +0000 (0:00:00.062) 0:00:19.873 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 03 July 2024 22:56:34 +0000 (0:00:00.033) 0:00:19.906 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047392.9907234, "block_size": 4096, "blocks": 8, "ctime": 1720047392.9907234, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301239, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720047392.9907234, "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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 03 July 2024 22:56:34 +0000 (0:00:00.266) 0:00:20.173 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 03 July 2024 22:56:34 +0000 (0:00:00.091) 0:00:20.264 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019358", "end": "2024-07-03 22:56:34.981226", "rc": 1, "start": "2024-07-03 22:56:34.961868" } 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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 03 July 2024 22:56:35 +0000 (0:00:00.291) 0:00:20.556 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 July 2024 22:56:35 +0000 (0:00:00.033) 0:00:20.589 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002873", "end": "2024-07-03 22:56:35.262768", "rc": 0, "start": "2024-07-03 22:56:35.259895" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 03 July 2024 22:56:35 +0000 (0:00:00.257) 0:00:20.847 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 03 July 2024 22:56:35 +0000 (0:00:00.030) 0:00:20.877 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002758", "end": "2024-07-03 22:56:35.532448", "rc": 0, "start": "2024-07-03 22:56:35.529690" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 03 July 2024 22:56:35 +0000 (0:00:00.206) 0:00:21.084 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 03 July 2024 22:56:35 +0000 (0:00:00.035) 0:00:21.119 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 03 July 2024 22:56:35 +0000 (0:00:00.038) 0:00:21.158 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 03 July 2024 22:56:35 +0000 (0:00:00.025) 0:00:21.183 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:42 Wednesday 03 July 2024 22:56:35 +0000 (0:00:00.039) 0:00:21.223 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 July 2024 22:56:35 +0000 (0:00:00.024) 0:00:21.248 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 July 2024 22:56:35 +0000 (0:00:00.035) 0:00:21.284 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 July 2024 22:56:35 +0000 (0:00:00.051) 0:00:21.335 ******** 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.035062", "end": "2024-07-03 22:56:36.018772", "rc": 1, "start": "2024-07-03 22:56:35.983710" } 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-network-state-in-defaults5635thno/tests/playbooks/tests_states.yml:65 Wednesday 03 July 2024 22:56:36 +0000 (0:00:00.252) 0:00:21.587 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 July 2024 22:56:36 +0000 (0:00:00.089) 0:00:21.676 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 July 2024 22:56:36 +0000 (0:00:00.052) 0:00:21.728 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 July 2024 22:56:36 +0000 (0:00:00.057) 0:00:21.786 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 22:56:36 +0000 (0:00:00.039) 0:00:21.825 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 22:56:36 +0000 (0:00:00.046) 0:00:21.872 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004048", "end": "2024-07-03 22:56:37.544682", "rc": 0, "start": "2024-07-03 22:56:36.540634" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 22:56:37 +0000 (0:00:01.243) 0:00:23.115 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 22:56:37 +0000 (0:00:00.063) 0:00:23.179 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:24 Wednesday 03 July 2024 22:56:37 +0000 (0:00:00.050) 0:00:23.229 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 July 2024 22:56:37 +0000 (0:00:00.049) 0:00:23.279 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:56:37 +0000 (0:00:00.042) 0:00:23.321 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:56:37 +0000 (0:00:00.082) 0:00:23.403 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:56:37 +0000 (0:00:00.034) 0:00:23.438 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:56:37 +0000 (0:00:00.042) 0:00:23.480 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:56:38 +0000 (0:00:00.038) 0:00:23.519 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:56:39 +0000 (0:00:01.472) 0:00:24.991 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:56:40 +0000 (0:00:01.396) 0:00:26.388 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:56:40 +0000 (0:00:00.094) 0:00:26.482 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.043) 0:00:26.526 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.059) 0:00:26.585 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.035) 0:00:26.621 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.045) 0:00:26.666 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.023) 0:00:26.689 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.035) 0:00:26.724 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.051) 0:00:26.776 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.025) 0:00:26.801 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.024) 0:00:26.825 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.026) 0:00:26.852 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.023) 0:00:26.875 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.022) 0:00:26.898 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:56:41 +0000 (0:00:00.371) 0:00:27.269 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmptmj_6opd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:56:42 +0000 (0:00:00.441) 0:00:27.711 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:56:42 +0000 (0:00:00.375) 0:00:28.086 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:56:42 +0000 (0:00:00.036) 0:00:28.122 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:56:42 +0000 (0:00:00.040) 0:00:28.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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:56:42 +0000 (0:00:00.024) 0:00:28.188 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:56:42 +0000 (0:00:00.022) 0:00:28.210 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 July 2024 22:56:42 +0000 (0:00:00.189) 0:00:28.400 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:30 Wednesday 03 July 2024 22:56:42 +0000 (0:00:00.025) 0:00:28.425 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 July 2024 22:56:42 +0000 (0:00:00.040) 0:00:28.465 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:56:42 +0000 (0:00:00.043) 0:00:28.509 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:56:43 +0000 (0:00:00.043) 0:00:28.553 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:56:43 +0000 (0:00:00.030) 0:00:28.584 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:56:43 +0000 (0:00:00.088) 0:00:28.672 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:56:43 +0000 (0:00:00.061) 0:00:28.734 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:56:44 +0000 (0:00:01.473) 0:00:30.207 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:56:46 +0000 (0:00:01.317) 0:00:31.525 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.028) 0:00:31.553 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.026) 0:00:31.579 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.024) 0:00:31.604 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.053) 0:00:31.658 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.029) 0:00:31.687 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.030) 0:00:31.718 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.029) 0:00:31.747 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.045) 0:00:31.792 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.030) 0:00:31.823 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.024) 0:00:31.847 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.025) 0:00:31.873 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.022) 0:00:31.895 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.022) 0:00:31.917 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:56:46 +0000 (0:00:00.392) 0:00:32.309 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmp2_ldsnu7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:56:47 +0000 (0:00:00.334) 0:00:32.644 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:56:47 +0000 (0:00:00.622) 0:00:33.266 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:56:47 +0000 (0:00:00.118) 0:00:33.385 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:56:47 +0000 (0:00:00.035) 0:00:33.421 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:56:47 +0000 (0:00:00.052) 0:00:33.474 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:56:47 +0000 (0:00:00.028) 0:00:33.502 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:36 Wednesday 03 July 2024 22:56:48 +0000 (0:00:00.247) 0:00:33.750 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 July 2024 22:56:48 +0000 (0:00:00.046) 0:00:33.796 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 22:56:48 +0000 (0:00:00.048) 0:00:33.844 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047407.6149082, "block_size": 4096, "blocks": 0, "ctime": 1720047407.6149082, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34709, "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": 1720047407.6149082, "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-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 03 July 2024 22:56:48 +0000 (0:00:00.238) 0:00:34.083 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 July 2024 22:56:48 +0000 (0:00:00.105) 0:00:34.188 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 July 2024 22:56:48 +0000 (0:00:00.043) 0:00:34.232 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 03 July 2024 22:56:48 +0000 (0:00:00.037) 0:00:34.270 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047407.4418058, "block_size": 4096, "blocks": 8, "ctime": 1720047402.5237777, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301237, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720047402.5237777, "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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 03 July 2024 22:56:48 +0000 (0:00:00.227) 0:00:34.497 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 03 July 2024 22:56:49 +0000 (0:00:00.043) 0:00:34.541 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019446", "end": "2024-07-03 22:56:49.212755", "rc": 1, "start": "2024-07-03 22:56:49.193309" } 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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 03 July 2024 22:56:49 +0000 (0:00:00.234) 0:00:34.775 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 July 2024 22:56:49 +0000 (0:00:00.076) 0:00:34.852 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002798", "end": "2024-07-03 22:56:49.539774", "rc": 0, "start": "2024-07-03 22:56:49.536976" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 03 July 2024 22:56:49 +0000 (0:00:00.252) 0:00:35.105 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 03 July 2024 22:56:49 +0000 (0:00:00.034) 0:00:35.139 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002975", "end": "2024-07-03 22:56:49.828811", "rc": 0, "start": "2024-07-03 22:56:49.825836" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 03 July 2024 22:56:49 +0000 (0:00:00.234) 0:00:35.373 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 03 July 2024 22:56:49 +0000 (0:00:00.030) 0:00:35.404 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 03 July 2024 22:56:49 +0000 (0:00:00.040) 0:00:35.445 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 03 July 2024 22:56:50 +0000 (0:00:00.070) 0:00:35.515 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:42 Wednesday 03 July 2024 22:56:50 +0000 (0:00:00.088) 0:00:35.603 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 July 2024 22:56:50 +0000 (0:00:00.028) 0:00:35.632 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 July 2024 22:56:50 +0000 (0:00:00.050) 0:00:35.683 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 July 2024 22:56:50 +0000 (0:00:00.055) 0:00:35.738 ******** 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.045620", "end": "2024-07-03 22:56:50.444112", "rc": 0, "start": "2024-07-03 22:56:50.398492" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tests_states.yml:83 Wednesday 03 July 2024 22:56:50 +0000 (0:00:00.285) 0:00:36.024 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 July 2024 22:56:50 +0000 (0:00:00.159) 0:00:36.183 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 July 2024 22:56:50 +0000 (0:00:00.071) 0:00:36.255 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 July 2024 22:56:50 +0000 (0:00:00.109) 0:00:36.364 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 22:56:50 +0000 (0:00:00.069) 0:00:36.434 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 22:56:51 +0000 (0:00:00.084) 0:00:36.518 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004010", "end": "2024-07-03 22:56:52.211290", "rc": 0, "start": "2024-07-03 22:56:51.207280" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 22:56:52 +0000 (0:00:01.257) 0:00:37.776 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 22:56:52 +0000 (0:00:00.050) 0:00:37.826 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:24 Wednesday 03 July 2024 22:56:52 +0000 (0:00:00.034) 0:00:37.860 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 July 2024 22:56:52 +0000 (0:00:00.061) 0:00:37.922 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:56:52 +0000 (0:00:00.068) 0:00:37.990 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:56:52 +0000 (0:00:00.043) 0:00:38.034 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:56:52 +0000 (0:00:00.030) 0:00:38.064 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:56:52 +0000 (0:00:00.026) 0:00:38.091 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:56:52 +0000 (0:00:00.129) 0:00:38.220 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:56:54 +0000 (0:00:01.531) 0:00:39.751 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:56:55 +0000 (0:00:01.309) 0:00:41.061 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:56:55 +0000 (0:00:00.049) 0:00:41.111 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:56:55 +0000 (0:00:00.023) 0:00:41.134 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:56:55 +0000 (0:00:00.021) 0:00:41.156 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:56:55 +0000 (0:00:00.022) 0:00:41.179 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:56:55 +0000 (0:00:00.029) 0:00:41.208 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:56:55 +0000 (0:00:00.040) 0:00:41.248 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:56:55 +0000 (0:00:00.059) 0:00:41.308 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:56:55 +0000 (0:00:00.119) 0:00:41.428 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:56:55 +0000 (0:00:00.028) 0:00:41.456 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:56:55 +0000 (0:00:00.022) 0:00:41.479 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:56:55 +0000 (0:00:00.025) 0:00:41.504 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:56:56 +0000 (0:00:00.022) 0:00:41.527 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:56:56 +0000 (0:00:00.022) 0:00:41.549 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:56:56 +0000 (0:00:00.336) 0:00:41.885 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmpbm6ugj1q" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:56:56 +0000 (0:00:00.278) 0:00:42.164 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:56:56 +0000 (0:00:00.330) 0:00:42.494 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:56:57 +0000 (0:00:00.037) 0:00:42.532 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:56:57 +0000 (0:00:00.043) 0:00:42.575 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:56:57 +0000 (0:00:00.026) 0:00:42.602 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:56:57 +0000 (0:00:00.030) 0:00:42.633 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 July 2024 22:56:57 +0000 (0:00:00.281) 0:00:42.914 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 July 2024 22:56:57 +0000 (0:00:00.038) 0:00:42.953 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:56:57 +0000 (0:00:00.048) 0:00:43.002 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:56:57 +0000 (0:00:00.096) 0:00:43.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:56:57 +0000 (0:00:00.130) 0:00:43.228 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:56:57 +0000 (0:00:00.051) 0:00:43.280 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:56:57 +0000 (0:00:00.027) 0:00:43.307 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:56:59 +0000 (0:00:01.455) 0:00:44.763 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:57:00 +0000 (0:00:01.390) 0:00:46.154 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:57:00 +0000 (0:00:00.034) 0:00:46.188 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:57:00 +0000 (0:00:00.023) 0:00:46.212 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:57:00 +0000 (0:00:00.031) 0:00:46.243 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:57:00 +0000 (0:00:00.069) 0:00:46.312 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:57:00 +0000 (0:00:00.043) 0:00:46.356 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:57:00 +0000 (0:00:00.040) 0:00:46.396 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:57:00 +0000 (0:00:00.028) 0:00:46.425 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:57:00 +0000 (0:00:00.056) 0:00:46.482 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:57:01 +0000 (0:00:00.060) 0:00:46.543 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:57:01 +0000 (0:00:00.026) 0:00:46.569 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:57:01 +0000 (0:00:00.034) 0:00:46.604 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:57:01 +0000 (0:00:00.022) 0:00:46.626 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:57:01 +0000 (0:00:00.022) 0:00:46.649 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:57:01 +0000 (0:00:00.389) 0:00:47.038 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmpjbrr0w2e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:57:02 +0000 (0:00:00.481) 0:00:47.520 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:57:02 +0000 (0:00:00.594) 0:00:48.114 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:57:02 +0000 (0:00:00.040) 0:00:48.155 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:57:02 +0000 (0:00:00.036) 0:00:48.191 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:57:02 +0000 (0:00:00.025) 0:00:48.217 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:57:02 +0000 (0:00:00.027) 0:00:48.244 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:30 Wednesday 03 July 2024 22:57:02 +0000 (0:00:00.223) 0:00:48.468 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 03 July 2024 22:57:03 +0000 (0:00:00.044) 0:00:48.512 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:57:03 +0000 (0:00:00.048) 0:00:48.561 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:57:03 +0000 (0:00:00.051) 0:00:48.613 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:57:03 +0000 (0:00:00.040) 0:00:48.653 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:57:03 +0000 (0:00:00.035) 0:00:48.689 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:57:03 +0000 (0:00:00.023) 0:00:48.713 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:57:04 +0000 (0:00:01.490) 0:00:50.204 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:57:06 +0000 (0:00:01.365) 0:00:51.570 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.026) 0:00:51.596 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.030) 0:00:51.626 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.038) 0:00:51.665 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.026) 0:00:51.691 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.041) 0:00:51.733 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.055) 0:00:51.789 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.027) 0:00:51.816 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.055) 0:00:51.871 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.065) 0:00:51.937 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.024) 0:00:51.962 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.034) 0:00:51.996 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.033) 0:00:52.029 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.063) 0:00:52.093 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:57:06 +0000 (0:00:00.357) 0:00:52.450 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmps1ukla9z" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:57:07 +0000 (0:00:00.422) 0:00:52.873 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:57:07 +0000 (0:00:00.441) 0:00:53.314 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:57:07 +0000 (0:00:00.025) 0:00:53.340 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:57:07 +0000 (0:00:00.028) 0:00:53.368 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:57:07 +0000 (0:00:00.024) 0:00:53.393 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:57:07 +0000 (0:00:00.024) 0:00:53.417 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:36 Wednesday 03 July 2024 22:57:08 +0000 (0:00:00.198) 0:00:53.615 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 July 2024 22:57:08 +0000 (0:00:00.080) 0:00:53.696 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 22:57:08 +0000 (0:00:00.104) 0:00:53.801 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047422.4880826, "block_size": 4096, "blocks": 0, "ctime": 1720047422.4880826, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34840, "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": 1720047422.4880826, "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-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 03 July 2024 22:57:08 +0000 (0:00:00.301) 0:00:54.102 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 July 2024 22:57:08 +0000 (0:00:00.041) 0:00:54.143 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 July 2024 22:57:08 +0000 (0:00:00.062) 0:00:54.205 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 03 July 2024 22:57:08 +0000 (0:00:00.056) 0:00:54.262 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 03 July 2024 22:57:08 +0000 (0:00:00.243) 0:00:54.506 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 03 July 2024 22:57:09 +0000 (0:00:00.054) 0:00:54.560 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019138", "end": "2024-07-03 22:57:09.416814", "rc": 1, "start": "2024-07-03 22:57:09.397676" } 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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 03 July 2024 22:57:09 +0000 (0:00:00.431) 0:00:54.991 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 July 2024 22:57:09 +0000 (0:00:00.034) 0:00:55.025 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 03 July 2024 22:57:09 +0000 (0:00:00.063) 0:00:55.089 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 03 July 2024 22:57:09 +0000 (0:00:00.112) 0:00:55.201 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 03 July 2024 22:57:09 +0000 (0:00:00.057) 0:00:55.259 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 03 July 2024 22:57:09 +0000 (0:00:00.034) 0:00:55.294 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:42 Wednesday 03 July 2024 22:57:09 +0000 (0:00:00.043) 0:00:55.337 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 July 2024 22:57:09 +0000 (0:00:00.107) 0:00:55.445 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 July 2024 22:57:09 +0000 (0:00:00.065) 0:00:55.511 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 July 2024 22:57:10 +0000 (0:00:00.090) 0:00:55.601 ******** 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.044639", "end": "2024-07-03 22:57:10.308135", "rc": 0, "start": "2024-07-03 22:57:10.263496" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tests_states.yml:103 Wednesday 03 July 2024 22:57:10 +0000 (0:00:00.275) 0:00:55.876 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 July 2024 22:57:10 +0000 (0:00:00.045) 0:00:55.922 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 July 2024 22:57:10 +0000 (0:00:00.047) 0:00:55.970 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 July 2024 22:57:10 +0000 (0:00:00.061) 0:00:56.031 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 22:57:10 +0000 (0:00:00.048) 0:00:56.079 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 22:57:10 +0000 (0:00:00.043) 0:00:56.123 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004107", "end": "2024-07-03 22:57:11.779013", "rc": 0, "start": "2024-07-03 22:57:10.774906" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 22:57:11 +0000 (0:00:01.205) 0:00:57.329 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 22:57:11 +0000 (0:00:00.084) 0:00:57.413 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:24 Wednesday 03 July 2024 22:57:11 +0000 (0:00:00.030) 0:00:57.443 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 July 2024 22:57:11 +0000 (0:00:00.062) 0:00:57.506 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:57:12 +0000 (0:00:00.042) 0:00:57.548 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:57:12 +0000 (0:00:00.084) 0:00:57.633 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:57:12 +0000 (0:00:00.107) 0:00:57.740 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:57:12 +0000 (0:00:00.038) 0:00:57.779 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:57:12 +0000 (0:00:00.032) 0:00:57.812 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:57:13 +0000 (0:00:01.491) 0:00:59.304 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:57:15 +0000 (0:00:01.377) 0:01:00.681 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.043) 0:01:00.725 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.046) 0:01:00.772 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.027) 0:01:00.799 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.058) 0:01:00.857 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.085) 0:01:00.943 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.061) 0:01:01.004 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.113) 0:01:01.117 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.139) 0:01:01.257 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.026) 0:01:01.283 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.120) 0:01:01.403 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.038) 0:01:01.442 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.034) 0:01:01.476 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:57:15 +0000 (0:00:00.035) 0:01:01.511 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:57:16 +0000 (0:00:00.349) 0:01:01.861 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmp8y4mz6rk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:57:16 +0000 (0:00:00.309) 0:01:02.171 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:57:16 +0000 (0:00:00.330) 0:01:02.502 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:57:17 +0000 (0:00:00.027) 0:01:02.529 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:57:17 +0000 (0:00:00.041) 0:01:02.571 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:57:17 +0000 (0:00:00.042) 0:01:02.613 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:57:17 +0000 (0:00:00.035) 0:01:02.649 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 July 2024 22:57:17 +0000 (0:00:00.200) 0:01:02.850 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 July 2024 22:57:17 +0000 (0:00:00.032) 0:01:02.883 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:57:17 +0000 (0:00:00.151) 0:01:03.034 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:57:17 +0000 (0:00:00.078) 0:01:03.113 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:57:17 +0000 (0:00:00.028) 0:01:03.142 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:57:17 +0000 (0:00:00.025) 0:01:03.167 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:57:17 +0000 (0:00:00.032) 0:01:03.199 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:57:19 +0000 (0:00:01.459) 0:01:04.658 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:57:20 +0000 (0:00:01.395) 0:01:06.054 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:57:20 +0000 (0:00:00.086) 0:01:06.140 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:57:20 +0000 (0:00:00.039) 0:01:06.180 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:57:20 +0000 (0:00:00.029) 0:01:06.209 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:57:20 +0000 (0:00:00.028) 0:01:06.238 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:57:20 +0000 (0:00:00.052) 0:01:06.290 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:57:20 +0000 (0:00:00.045) 0:01:06.336 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:57:20 +0000 (0:00:00.102) 0:01:06.438 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:57:20 +0000 (0:00:00.055) 0:01:06.493 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:57:21 +0000 (0:00:00.116) 0:01:06.610 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:57:21 +0000 (0:00:00.055) 0:01:06.665 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:57:21 +0000 (0:00:00.061) 0:01:06.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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:57:21 +0000 (0:00:00.051) 0:01:06.778 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:57:21 +0000 (0:00:00.052) 0:01:06.831 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:57:21 +0000 (0:00:00.357) 0:01:07.188 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmpy7d23oyt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:57:22 +0000 (0:00:00.410) 0:01:07.599 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:57:22 +0000 (0:00:00.586) 0:01:08.186 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:57:22 +0000 (0:00:00.050) 0:01:08.236 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:57:22 +0000 (0:00:00.065) 0:01:08.301 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:57:22 +0000 (0:00:00.040) 0:01:08.341 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:57:22 +0000 (0:00:00.081) 0:01:08.423 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 03 July 2024 22:57:23 +0000 (0:00:00.261) 0:01:08.684 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:57:23 +0000 (0:00:00.041) 0:01:08.726 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:57:23 +0000 (0:00:00.058) 0:01:08.784 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:57:23 +0000 (0:00:00.088) 0:01:08.872 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:57:23 +0000 (0:00:00.033) 0:01:08.906 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:57:23 +0000 (0:00:00.054) 0:01:08.961 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:57:24 +0000 (0:00:01.502) 0:01:10.463 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:57:26 +0000 (0:00:01.318) 0:01:11.781 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.034) 0:01:11.816 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.034) 0:01:11.850 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.035) 0:01:11.886 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.036) 0:01:11.923 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.052) 0:01:11.975 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.071) 0:01:12.047 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.029) 0:01:12.076 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.048) 0:01:12.125 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.029) 0:01:12.155 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.025) 0:01:12.181 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.028) 0:01:12.209 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.038) 0:01:12.247 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:57:26 +0000 (0:00:00.038) 0:01:12.286 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:57:27 +0000 (0:00:00.442) 0:01:12.728 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmpwfrbdatt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:57:27 +0000 (0:00:00.421) 0:01:13.150 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:57:27 +0000 (0:00:00.328) 0:01:13.478 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:57:27 +0000 (0:00:00.030) 0:01:13.508 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:57:28 +0000 (0:00:00.033) 0:01:13.541 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:57:28 +0000 (0:00:00.028) 0:01:13.570 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:57:28 +0000 (0:00:00.025) 0:01:13.596 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:30 Wednesday 03 July 2024 22:57:28 +0000 (0:00:00.256) 0:01:13.852 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 July 2024 22:57:28 +0000 (0:00:00.065) 0:01:13.917 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:57:28 +0000 (0:00:00.071) 0:01:13.989 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:57:28 +0000 (0:00:00.124) 0:01:14.113 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:57:28 +0000 (0:00:00.052) 0:01:14.165 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:57:28 +0000 (0:00:00.032) 0:01:14.198 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:57:28 +0000 (0:00:00.035) 0:01:14.234 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:57:30 +0000 (0:00:01.592) 0:01:15.827 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:57:31 +0000 (0:00:01.310) 0:01:17.137 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:57:31 +0000 (0:00:00.025) 0:01:17.163 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:57:31 +0000 (0:00:00.027) 0:01:17.190 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:57:31 +0000 (0:00:00.025) 0:01:17.215 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:57:31 +0000 (0:00:00.025) 0:01:17.241 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:57:31 +0000 (0:00:00.028) 0:01:17.269 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:57:31 +0000 (0:00:00.023) 0:01:17.293 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:57:31 +0000 (0:00:00.032) 0:01:17.325 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:57:31 +0000 (0:00:00.054) 0:01:17.379 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:57:31 +0000 (0:00:00.030) 0:01:17.410 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:57:32 +0000 (0:00:00.108) 0:01:17.518 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:57:32 +0000 (0:00:00.034) 0:01:17.553 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:57:32 +0000 (0:00:00.097) 0:01:17.650 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:57:32 +0000 (0:00:00.024) 0:01:17.675 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:57:32 +0000 (0:00:00.358) 0:01:18.033 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmpwg1b2i0q" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:57:32 +0000 (0:00:00.330) 0:01:18.364 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:57:33 +0000 (0:00:00.324) 0:01:18.689 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:57:33 +0000 (0:00:00.031) 0:01:18.720 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:57:33 +0000 (0:00:00.028) 0:01:18.749 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:57:33 +0000 (0:00:00.038) 0:01:18.787 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:57:33 +0000 (0:00:00.023) 0:01:18.810 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:36 Wednesday 03 July 2024 22:57:33 +0000 (0:00:00.190) 0:01:19.001 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 July 2024 22:57:33 +0000 (0:00:00.085) 0:01:19.087 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 July 2024 22:57:33 +0000 (0:00:00.053) 0:01:19.140 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 03 July 2024 22:57:33 +0000 (0:00:00.035) 0:01:19.175 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 03 July 2024 22:57:33 +0000 (0:00:00.217) 0:01:19.393 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 03 July 2024 22:57:33 +0000 (0:00:00.042) 0:01:19.436 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019610", "end": "2024-07-03 22:57:34.121825", "rc": 1, "start": "2024-07-03 22:57:34.102215" } 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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.255) 0:01:19.692 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.031) 0:01:19.723 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.024) 0:01:19.748 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.029) 0:01:19.777 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.027) 0:01:19.804 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.024) 0:01:19.829 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:42 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.028) 0:01:19.857 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.049) 0:01:19.907 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.034) 0:01:19.941 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.103) 0:01:20.044 ******** 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.050818", "end": "2024-07-03 22:57:34.760040", "rc": 0, "start": "2024-07-03 22:57:34.709222" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tests_states.yml:126 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.273) 0:01:20.317 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.050) 0:01:20.368 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 July 2024 22:57:34 +0000 (0:00:00.053) 0:01:20.421 ******** 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 July 2024 22:57:35 +0000 (0:00:00.094) 0:01:20.516 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 22:57:35 +0000 (0:00:00.071) 0:01:20.588 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 22:57:35 +0000 (0:00:00.065) 0:01:20.653 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003061", "end": "2024-07-03 22:57:35.325091", "rc": 0, "start": "2024-07-03 22:57:35.322030" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 22:57:35 +0000 (0:00:00.250) 0:01:20.904 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 22:57:35 +0000 (0:00:00.033) 0:01:20.937 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:24 Wednesday 03 July 2024 22:57:35 +0000 (0:00:00.027) 0:01:20.965 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 July 2024 22:57:35 +0000 (0:00:00.117) 0:01:21.082 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:57:35 +0000 (0:00:00.187) 0:01:21.270 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:57:35 +0000 (0:00:00.093) 0:01:21.363 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:57:35 +0000 (0:00:00.087) 0:01:21.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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:57:35 +0000 (0:00:00.047) 0:01:21.498 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:57:36 +0000 (0:00:00.062) 0:01:21.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 : Check which packages are installed] ********* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:57:37 +0000 (0:00:01.550) 0:01:23.111 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:57:39 +0000 (0:00:01.416) 0:01:24.528 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.036) 0:01:24.564 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.050) 0:01:24.615 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.041) 0:01:24.656 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.057) 0:01:24.714 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.091) 0:01:24.806 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.107) 0:01:24.913 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.061) 0:01:24.975 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.078) 0:01:25.053 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.030) 0:01:25.084 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.049) 0:01:25.134 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.053) 0:01:25.188 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.077) 0:01:25.265 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:57:39 +0000 (0:00:00.025) 0:01:25.290 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:57:40 +0000 (0:00:00.478) 0:01:25.768 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmpd2e4i05x" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:57:40 +0000 (0:00:00.376) 0:01:26.145 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:57:40 +0000 (0:00:00.356) 0:01:26.501 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:57:41 +0000 (0:00:00.108) 0:01:26.610 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:57:41 +0000 (0:00:00.035) 0:01:26.646 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:57:41 +0000 (0:00:00.039) 0:01:26.686 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:57:41 +0000 (0:00:00.054) 0:01:26.740 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 July 2024 22:57:41 +0000 (0:00:00.234) 0:01:26.974 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 July 2024 22:57:41 +0000 (0:00:00.080) 0:01:27.055 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:57:41 +0000 (0:00:00.052) 0:01:27.108 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:57:41 +0000 (0:00:00.060) 0:01:27.169 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:57:41 +0000 (0:00:00.055) 0:01:27.224 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:57:41 +0000 (0:00:00.074) 0:01:27.299 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:57:41 +0000 (0:00:00.055) 0:01:27.354 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:57:43 +0000 (0:00:01.572) 0:01:28.927 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:57:44 +0000 (0:00:01.344) 0:01:30.272 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:57:44 +0000 (0:00:00.033) 0:01:30.305 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:57:44 +0000 (0:00:00.024) 0:01:30.330 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:57:44 +0000 (0:00:00.028) 0:01:30.358 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:57:44 +0000 (0:00:00.098) 0:01:30.457 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:57:44 +0000 (0:00:00.046) 0:01:30.503 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:57:45 +0000 (0:00:00.040) 0:01:30.544 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:57:45 +0000 (0:00:00.043) 0:01:30.587 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:57:45 +0000 (0:00:00.090) 0:01:30.678 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:57:45 +0000 (0:00:00.042) 0:01:30.720 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:57:45 +0000 (0:00:00.059) 0:01:30.780 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:57:45 +0000 (0:00:00.048) 0:01:30.829 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:57:45 +0000 (0:00:00.048) 0:01:30.877 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:57:45 +0000 (0:00:00.046) 0:01:30.924 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:57:45 +0000 (0:00:00.400) 0:01:31.324 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmpujgvu4l9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:57:46 +0000 (0:00:00.364) 0:01:31.688 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:57:46 +0000 (0:00:00.558) 0:01:32.247 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:57:46 +0000 (0:00:00.048) 0:01:32.295 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:57:46 +0000 (0:00:00.061) 0:01:32.357 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:57:46 +0000 (0:00:00.044) 0:01:32.402 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:57:46 +0000 (0:00:00.067) 0:01:32.469 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 July 2024 22:57:47 +0000 (0:00:00.312) 0:01:32.781 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:57:47 +0000 (0:00:00.052) 0:01:32.834 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:57:47 +0000 (0:00:00.059) 0:01:32.893 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:57:47 +0000 (0:00:00.036) 0:01:32.929 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:57:47 +0000 (0:00:00.038) 0:01:32.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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:57:47 +0000 (0:00:00.025) 0:01:32.993 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:57:49 +0000 (0:00:01.544) 0:01:34.537 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:57:50 +0000 (0:00:01.395) 0:01:35.932 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.060) 0:01:35.993 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.046) 0:01:36.040 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.023) 0:01:36.064 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.045) 0:01:36.109 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.050) 0:01:36.160 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.032) 0:01:36.192 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.034) 0:01:36.226 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.048) 0:01:36.275 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.031) 0:01:36.307 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.087) 0:01:36.394 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.038) 0:01:36.433 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.031) 0:01:36.464 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:57:50 +0000 (0:00:00.027) 0:01:36.491 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:57:51 +0000 (0:00:00.406) 0:01:36.898 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmpu60o2foq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:57:51 +0000 (0:00:00.377) 0:01:37.275 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:57:52 +0000 (0:00:00.363) 0:01:37.639 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:57:52 +0000 (0:00:00.026) 0:01:37.665 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:57:52 +0000 (0:00:00.027) 0:01:37.693 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:57:52 +0000 (0:00:00.025) 0:01:37.719 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:57:52 +0000 (0:00:00.022) 0:01:37.741 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:30 Wednesday 03 July 2024 22:57:52 +0000 (0:00:00.193) 0:01:37.935 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 July 2024 22:57:52 +0000 (0:00:00.091) 0:01:38.027 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:57:52 +0000 (0:00:00.063) 0:01:38.091 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:57:52 +0000 (0:00:00.050) 0:01:38.141 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:57:52 +0000 (0:00:00.043) 0:01:38.185 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:57:52 +0000 (0:00:00.045) 0:01:38.231 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:57:52 +0000 (0:00:00.039) 0:01:38.271 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:57:54 +0000 (0:00:01.495) 0:01:39.766 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:57:55 +0000 (0:00:01.340) 0:01:41.107 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.024) 0:01:41.131 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.023) 0:01:41.154 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.022) 0:01:41.176 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.023) 0:01:41.200 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.028) 0:01:41.228 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.022) 0:01:41.250 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.027) 0:01:41.277 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.047) 0:01:41.325 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.023) 0:01:41.348 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.025) 0:01:41.374 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.059) 0:01:41.434 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.025) 0:01:41.459 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:57:55 +0000 (0:00:00.024) 0:01:41.484 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:57:56 +0000 (0:00:00.352) 0:01:41.836 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-19737lk6i8c7_/tmpga3z50a2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:57:56 +0000 (0:00:00.334) 0:01:42.171 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:57:56 +0000 (0:00:00.294) 0:01:42.465 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:57:56 +0000 (0:00:00.026) 0:01:42.492 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.025) 0:01:42.518 ******** 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-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.031) 0:01:42.549 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.023) 0:01:42.572 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:36 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.192) 0:01:42.765 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.046) 0:01:42.812 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.069) 0:01:42.881 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.024) 0:01:42.905 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.193) 0:01:43.099 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.025) 0:01:43.124 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020027", "end": "2024-07-03 22:57:57.797529", "rc": 1, "start": "2024-07-03 22:57:57.777502" } 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-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.231) 0:01:43.356 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.032) 0:01:43.389 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.062) 0:01:43.452 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 03 July 2024 22:57:57 +0000 (0:00:00.028) 0:01:43.480 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 03 July 2024 22:57:58 +0000 (0:00:00.043) 0:01:43.524 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 03 July 2024 22:57:58 +0000 (0:00:00.028) 0:01:43.553 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 03 July 2024 22:57:58 +0000 (0:00:00.028) 0:01:43.581 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.944452", "end": "2024-07-03 22:57:59.176832", "rc": 0, "start": "2024-07-03 22:57:58.232380" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 03 July 2024 22:57:59 +0000 (0:00:01.168) 0:01:44.750 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 03 July 2024 22:57:59 +0000 (0:00:00.030) 0:01:44.780 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:42 Wednesday 03 July 2024 22:57:59 +0000 (0:00:00.036) 0:01:44.817 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 July 2024 22:57:59 +0000 (0:00:00.045) 0:01:44.862 ******** 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-network-state-in-defaults5635thno/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 July 2024 22:57:59 +0000 (0:00:00.043) 0:01:44.905 ******** included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 July 2024 22:57:59 +0000 (0:00:00.067) 0:01:44.973 ******** 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.045826", "end": "2024-07-03 22:57:59.679217", "rc": 0, "start": "2024-07-03 22:57:59.633391" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 03 July 2024 22:57:59 +0000 (0:00:00.275) 0:01:45.249 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008636", "end": "2024-07-03 22:57:59.929516", "rc": 0, "start": "2024-07-03 22:57:59.920880" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:26:e4:04:8f:21 brd ff:ff:ff:ff:ff:ff inet 10.31.10.134/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2132sec preferred_lft 2132sec inet6 fe80::1026:e4ff:fe04:8f21/64 scope link valid_lft forever preferred_lft forever 51: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 56:0f:46:3b:84:81 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.134 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.134 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-network-state-in-defaults5635thno/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 03 July 2024 22:57:59 +0000 (0:00:00.225) 0:01:45.474 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.189460", "end": "2024-07-03 22:58:00.322037", "rc": 0, "start": "2024-07-03 22:58:00.132577" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5446 0 --:--:-- --:--:-- --:--:-- 5446 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2669 0 --:--:-- --:--:-- --:--:-- 2669 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Wednesday 03 July 2024 22:58:00 +0000 (0:00:00.398) 0:01:45.872 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.36s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable network service --------------------- 2.16s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 linux-system-roles.network : Configure networking connection profiles --- 1.89s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.81s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 linux-system-roles.network : Check which packages are installed --------- 1.62s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.59s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:179 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 1.54s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/main.yml:171 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-network-state-in-defaults5635thno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---