# 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-fix-templating-warningsmz9c4i5u/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tests_states_initscripts.yml:5 Wednesday 24 July 2024 16:55:33 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tests_states_initscripts.yml:8 Wednesday 24 July 2024 16:55:34 +0000 (0:00:00.699) 0:00:00.712 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/tasks/el_repo_setup.yml:3 Wednesday 24 July 2024 16:55:34 +0000 (0:00:00.035) 0:00:00.747 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/el_repo_setup.yml:19 Wednesday 24 July 2024 16:55:34 +0000 (0:00:00.329) 0:00:01.076 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/el_repo_setup.yml:24 Wednesday 24 July 2024 16:55:35 +0000 (0:00:00.256) 0:00:01.332 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/el_repo_setup.yml:28 Wednesday 24 July 2024 16:55:35 +0000 (0:00:00.021) 0:00:01.354 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/el_repo_setup.yml:53 Wednesday 24 July 2024 16:55:35 +0000 (0:00:00.019) 0:00:01.373 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/enable_epel.yml:8 Wednesday 24 July 2024 16:55:35 +0000 (0:00:00.034) 0:00:01.408 ******** 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-fix-templating-warningsmz9c4i5u/tests/tasks/enable_epel.yml:24 Wednesday 24 July 2024 16:55:35 +0000 (0:00:00.262) 0:00:01.670 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/enable_epel.yml:30 Wednesday 24 July 2024 16:55:35 +0000 (0:00:00.012) 0:00:01.682 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/enable_epel.yml:35 Wednesday 24 July 2024 16:55:35 +0000 (0:00:00.016) 0:00:01.698 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.228455", "end": "2024-07-24 16:55:35.810621", "rc": 0, "start": "2024-07-24 16:55:35.582166" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/enable_epel.yml:40 Wednesday 24 July 2024 16:55:35 +0000 (0:00:00.407) 0:00:02.106 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tests_states_initscripts.yml:10 Wednesday 24 July 2024 16:55:35 +0000 (0:00:00.011) 0:00:02.117 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_states.yml:3 Wednesday 24 July 2024 16:55:35 +0000 (0:00:00.011) 0:00:02.129 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_states.yml:11 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.473) 0:00:02.602 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_states.yml:22 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.014) 0:00:02.616 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.017) 0:00:02.634 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.012) 0:00:02.647 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.046) 0:00:02.693 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.016) 0:00:02.710 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.017) 0:00:02.727 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002967", "end": "2024-07-24 16:55:36.611999", "rc": 0, "start": "2024-07-24 16:55:36.609032" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.182) 0:00:02.909 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.013) 0:00:02.922 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.013) 0:00:02.935 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.024) 0:00:02.960 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007139", "end": "2024-07-24 16:55:36.848767", "rc": 1, "start": "2024-07-24 16:55:36.841628" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.195) 0:00:03.155 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 16:55:36 +0000 (0:00:00.018) 0:00:03.174 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 16:55:37 +0000 (0:00:00.201) 0:00:03.376 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 16:55:37 +0000 (0:00:00.039) 0:00:03.415 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 16:55:37 +0000 (0:00:00.032) 0:00:03.448 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:55:37 +0000 (0:00:00.088) 0:00:03.536 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:55:37 +0000 (0:00:00.023) 0:00:03.559 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:55:37 +0000 (0:00:00.019) 0:00:03.578 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:55:37 +0000 (0:00:00.012) 0:00:03.591 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:55:37 +0000 (0:00:00.028) 0:00:03.620 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:55:38 +0000 (0:00:01.507) 0:00:05.127 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:55:40 +0000 (0:00:01.494) 0:00:06.621 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.028) 0:00:06.649 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.025) 0:00:06.674 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.027) 0:00:06.702 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.026) 0:00:06.728 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.040) 0:00:06.768 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.031) 0:00:06.800 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.044) 0:00:06.845 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.066) 0:00:06.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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.060) 0:00:06.973 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.044) 0:00:07.017 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.031) 0:00:07.048 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.027) 0:00:07.076 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:55:40 +0000 (0:00:00.025) 0:00:07.101 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:55:41 +0000 (0:00:00.624) 0:00:07.726 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmpd77gb18m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:55:41 +0000 (0:00:00.288) 0:00:08.014 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:55:42 +0000 (0:00:00.549) 0:00:08.564 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:55:42 +0000 (0:00:00.032) 0:00:08.597 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:55:42 +0000 (0:00:00.034) 0:00:08.632 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:55:42 +0000 (0:00:00.044) 0:00:08.676 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:55:42 +0000 (0:00:00.042) 0:00:08.719 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 16:55:42 +0000 (0:00:00.274) 0:00:08.993 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 16:55:42 +0000 (0:00:00.038) 0:00:09.032 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 16:55:42 +0000 (0:00:00.049) 0:00:09.082 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 16:55:42 +0000 (0:00:00.043) 0:00:09.125 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 16:55:42 +0000 (0:00:00.052) 0:00:09.178 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721840142.2556367, "block_size": 4096, "blocks": 8, "ctime": 1721840142.2556367, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301246, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721840142.2556367, "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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 16:55:43 +0000 (0:00:00.195) 0:00:09.373 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 16:55:43 +0000 (0:00:00.028) 0:00:09.401 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020035", "end": "2024-07-24 16:55:43.309417", "rc": 1, "start": "2024-07-24 16:55:43.289382" } 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 16:55:43 +0000 (0:00:00.215) 0:00:09.617 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 16:55:43 +0000 (0:00:00.024) 0:00:09.642 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.005984", "end": "2024-07-24 16:55:43.539337", "rc": 0, "start": "2024-07-24 16:55:43.533353" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 16:55:43 +0000 (0:00:00.204) 0:00:09.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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 16:55:43 +0000 (0:00:00.030) 0:00:09.878 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003857", "end": "2024-07-24 16:55:44.765557", "rc": 0, "start": "2024-07-24 16:55:43.761700" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 16:55:44 +0000 (0:00:01.199) 0:00:11.077 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 16:55:44 +0000 (0:00:00.030) 0:00:11.108 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 16:55:44 +0000 (0:00:00.028) 0:00:11.136 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 16:55:44 +0000 (0:00:00.069) 0:00:11.206 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 16:55:44 +0000 (0:00:00.030) 0:00:11.236 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 16:55:45 +0000 (0:00:00.074) 0:00:11.311 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 16:55:45 +0000 (0:00:00.033) 0:00:11.345 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 16:55:45 +0000 (0:00:00.075) 0:00:11.420 ******** 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.038213", "end": "2024-07-24 16:55:45.354194", "rc": 1, "start": "2024-07-24 16:55:45.315981" } 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_states.yml:45 Wednesday 24 July 2024 16:55:45 +0000 (0:00:00.273) 0:00:11.694 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 16:55:45 +0000 (0:00:00.066) 0:00:11.760 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 16:55:45 +0000 (0:00:00.031) 0:00:11.792 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 16:55:45 +0000 (0:00:00.122) 0:00:11.914 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 16:55:45 +0000 (0:00:00.072) 0:00:11.987 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 16:55:45 +0000 (0:00:00.075) 0:00:12.063 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002926", "end": "2024-07-24 16:55:45.982905", "rc": 0, "start": "2024-07-24 16:55:45.979979" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.267) 0:00:12.330 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.026) 0:00:12.356 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.026) 0:00:12.383 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.046) 0:00:12.429 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005717", "end": "2024-07-24 16:55:46.317444", "rc": 1, "start": "2024-07-24 16:55:46.311727" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.194) 0:00:12.624 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.039) 0:00:12.664 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.190) 0:00:12.854 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.028) 0:00:12.883 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.047) 0:00:12.930 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.070) 0:00:13.000 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.091) 0:00:13.092 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.028) 0:00:13.121 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.024) 0:00:13.146 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:55:46 +0000 (0:00:00.044) 0:00:13.191 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:55:48 +0000 (0:00:01.401) 0:00:14.593 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:55:49 +0000 (0:00:01.224) 0:00:15.817 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:55:49 +0000 (0:00:00.025) 0:00:15.843 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:55:49 +0000 (0:00:00.056) 0:00:15.899 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:55:49 +0000 (0:00:00.029) 0:00:15.929 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:55:49 +0000 (0:00:00.041) 0:00:15.971 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:55:49 +0000 (0:00:00.034) 0:00:16.005 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:55:49 +0000 (0:00:00.040) 0:00:16.046 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:55:49 +0000 (0:00:00.030) 0:00:16.077 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:55:49 +0000 (0:00:00.069) 0:00:16.146 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:55:49 +0000 (0:00:00.030) 0:00:16.176 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:55:49 +0000 (0:00:00.027) 0:00:16.204 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:55:49 +0000 (0:00:00.032) 0:00:16.237 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:55:49 +0000 (0:00:00.027) 0:00:16.265 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:55:50 +0000 (0:00:00.026) 0:00:16.291 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:55:50 +0000 (0:00:00.353) 0:00:16.644 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmp1r8yrcs0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:55:50 +0000 (0:00:00.321) 0:00:16.966 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.375) 0:00:17.341 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.040) 0:00:17.382 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.028) 0:00:17.410 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.030) 0:00:17.441 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.029) 0:00:17.470 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.203) 0:00:17.673 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.042) 0:00:17.716 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.087) 0:00:17.803 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.068) 0:00:17.871 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.215) 0:00:18.087 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.029) 0:00:18.117 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.044) 0:00:18.161 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 16:55:51 +0000 (0:00:00.069) 0:00:18.231 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721840150.9775872, "block_size": 4096, "blocks": 8, "ctime": 1721840150.9775872, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721840150.9775872, "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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 16:55:52 +0000 (0:00:00.196) 0:00:18.428 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 16:55:52 +0000 (0:00:00.027) 0:00:18.455 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020169", "end": "2024-07-24 16:55:52.359003", "rc": 1, "start": "2024-07-24 16:55:52.338834" } 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 16:55:52 +0000 (0:00:00.254) 0:00:18.709 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 16:55:52 +0000 (0:00:00.050) 0:00:18.759 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002767", "end": "2024-07-24 16:55:52.678573", "rc": 0, "start": "2024-07-24 16:55:52.675806" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 16:55:52 +0000 (0:00:00.229) 0:00:18.989 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 16:55:52 +0000 (0:00:00.035) 0:00:19.024 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003946", "end": "2024-07-24 16:55:53.921765", "rc": 0, "start": "2024-07-24 16:55:52.917819" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 16:55:53 +0000 (0:00:01.206) 0:00:20.231 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 16:55:53 +0000 (0:00:00.042) 0:00:20.273 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 16:55:54 +0000 (0:00:00.058) 0:00:20.331 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 16:55:54 +0000 (0:00:00.036) 0:00:20.367 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 16:55:54 +0000 (0:00:00.119) 0:00:20.487 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 16:55:54 +0000 (0:00:00.035) 0:00:20.523 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 16:55:54 +0000 (0:00:00.034) 0:00:20.557 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 16:55:54 +0000 (0:00:00.086) 0:00:20.643 ******** 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.035477", "end": "2024-07-24 16:55:54.564586", "rc": 1, "start": "2024-07-24 16:55:54.529109" } 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_states.yml:65 Wednesday 24 July 2024 16:55:54 +0000 (0:00:00.240) 0:00:20.884 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 16:55:54 +0000 (0:00:00.070) 0:00:20.954 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 16:55:54 +0000 (0:00:00.052) 0:00:21.006 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 16:55:54 +0000 (0:00:00.101) 0:00:21.108 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 16:55:54 +0000 (0:00:00.073) 0:00:21.181 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 16:55:54 +0000 (0:00:00.063) 0:00:21.245 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002949", "end": "2024-07-24 16:55:55.142629", "rc": 0, "start": "2024-07-24 16:55:55.139680" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 16:55:55 +0000 (0:00:00.254) 0:00:21.500 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 16:55:55 +0000 (0:00:00.037) 0:00:21.537 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 16:55:55 +0000 (0:00:00.092) 0:00:21.629 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 16:55:55 +0000 (0:00:00.043) 0:00:21.673 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:55:55 +0000 (0:00:00.054) 0:00:21.727 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:55:55 +0000 (0:00:00.053) 0:00:21.781 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:55:55 +0000 (0:00:00.050) 0:00:21.831 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:55:55 +0000 (0:00:00.042) 0:00:21.874 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:55:55 +0000 (0:00:00.029) 0:00:21.903 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:55:57 +0000 (0:00:01.458) 0:00:23.361 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:55:58 +0000 (0:00:01.246) 0:00:24.608 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.034) 0:00:24.643 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.045) 0:00:24.689 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.050) 0:00:24.740 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.054) 0:00:24.795 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.047) 0:00:24.842 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.054) 0:00:24.896 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.043) 0:00:24.940 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.084) 0:00:25.025 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.073) 0:00:25.099 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.027) 0:00:25.126 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.036) 0:00:25.163 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.037) 0:00:25.201 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:55:58 +0000 (0:00:00.041) 0:00:25.243 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:55:59 +0000 (0:00:00.348) 0:00:25.591 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmph75j74o6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:55:59 +0000 (0:00:00.330) 0:00:25.921 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:55:59 +0000 (0:00:00.320) 0:00:26.242 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:55:59 +0000 (0:00:00.026) 0:00:26.268 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:56:00 +0000 (0:00:00.026) 0:00:26.294 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:56:00 +0000 (0:00:00.027) 0:00:26.322 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:56:00 +0000 (0:00:00.027) 0:00:26.349 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 16:56:00 +0000 (0:00:00.196) 0:00:26.546 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 16:56:00 +0000 (0:00:00.029) 0:00:26.575 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 16:56:00 +0000 (0:00:00.087) 0:00:26.662 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:56:00 +0000 (0:00:00.065) 0:00:26.728 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:56:00 +0000 (0:00:00.117) 0:00:26.846 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:56:00 +0000 (0:00:00.050) 0:00:26.896 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:56:00 +0000 (0:00:00.040) 0:00:26.936 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:56:00 +0000 (0:00:00.039) 0:00:26.975 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:56:02 +0000 (0:00:01.438) 0:00:28.414 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:56:03 +0000 (0:00:01.301) 0:00:29.715 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.027) 0:00:29.743 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.025) 0:00:29.769 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.026) 0:00:29.795 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.027) 0:00:29.823 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.037) 0:00:29.860 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.033) 0:00:29.894 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.028) 0:00:29.923 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.050) 0:00:29.973 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.028) 0:00:30.002 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.048) 0:00:30.051 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.039) 0:00:30.090 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.026) 0:00:30.117 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:56:03 +0000 (0:00:00.070) 0:00:30.187 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:56:04 +0000 (0:00:00.347) 0:00:30.535 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmp1buj3goq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:56:04 +0000 (0:00:00.306) 0:00:30.841 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.539) 0:00:31.380 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.024) 0:00:31.405 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.026) 0:00:31.432 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.027) 0:00:31.460 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.023) 0:00:31.483 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.186) 0:00:31.669 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.047) 0:00:31.717 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.041) 0:00:31.758 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721840164.9866095, "block_size": 4096, "blocks": 0, "ctime": 1721840164.9866095, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42483, "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": 1721840164.9866095, "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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.200) 0:00:31.959 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.028) 0:00:31.988 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.044) 0:00:32.032 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.026) 0:00:32.058 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721840164.8275087, "block_size": 4096, "blocks": 8, "ctime": 1721840159.9295363, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721840159.9295363, "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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 16:56:05 +0000 (0:00:00.192) 0:00:32.251 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 16:56:06 +0000 (0:00:00.030) 0:00:32.281 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018259", "end": "2024-07-24 16:56:06.180606", "rc": 1, "start": "2024-07-24 16:56:06.162347" } 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 16:56:06 +0000 (0:00:00.209) 0:00:32.491 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 16:56:06 +0000 (0:00:00.033) 0:00:32.525 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002857", "end": "2024-07-24 16:56:06.417873", "rc": 0, "start": "2024-07-24 16:56:06.415016" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 16:56:06 +0000 (0:00:00.220) 0:00:32.746 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 16:56:06 +0000 (0:00:00.064) 0:00:32.810 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002916", "end": "2024-07-24 16:56:06.726822", "rc": 0, "start": "2024-07-24 16:56:06.723906" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 16:56:06 +0000 (0:00:00.229) 0:00:33.040 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 16:56:06 +0000 (0:00:00.034) 0:00:33.074 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 16:56:06 +0000 (0:00:00.031) 0:00:33.106 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 16:56:06 +0000 (0:00:00.080) 0:00:33.187 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 16:56:06 +0000 (0:00:00.029) 0:00:33.216 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 16:56:06 +0000 (0:00:00.038) 0:00:33.254 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 16:56:07 +0000 (0:00:00.037) 0:00:33.292 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 16:56:07 +0000 (0:00:00.057) 0:00:33.349 ******** 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.049536", "end": "2024-07-24 16:56:07.279013", "rc": 0, "start": "2024-07-24 16:56:07.229477" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_states.yml:83 Wednesday 24 July 2024 16:56:07 +0000 (0:00:00.266) 0:00:33.615 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 16:56:07 +0000 (0:00:00.087) 0:00:33.703 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 16:56:07 +0000 (0:00:00.050) 0:00:33.753 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 16:56:07 +0000 (0:00:00.071) 0:00:33.824 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 16:56:07 +0000 (0:00:00.070) 0:00:33.894 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 16:56:07 +0000 (0:00:00.044) 0:00:33.939 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003035", "end": "2024-07-24 16:56:07.866651", "rc": 0, "start": "2024-07-24 16:56:07.863616" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 16:56:07 +0000 (0:00:00.285) 0:00:34.225 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 16:56:07 +0000 (0:00:00.037) 0:00:34.262 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 16:56:08 +0000 (0:00:00.057) 0:00:34.320 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 16:56:08 +0000 (0:00:00.157) 0:00:34.478 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:56:08 +0000 (0:00:00.097) 0:00:34.575 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:56:08 +0000 (0:00:00.068) 0:00:34.644 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:56:08 +0000 (0:00:00.079) 0:00:34.723 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:56:08 +0000 (0:00:00.036) 0:00:34.760 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:56:08 +0000 (0:00:00.027) 0:00:34.787 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:56:09 +0000 (0:00:01.487) 0:00:36.274 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:56:11 +0000 (0:00:01.235) 0:00:37.509 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.033) 0:00:37.543 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.072) 0:00:37.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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.040) 0:00:37.655 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.037) 0:00:37.693 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.031) 0:00:37.725 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.026) 0:00:37.751 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.027) 0:00:37.779 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.049) 0:00:37.828 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.030) 0:00:37.859 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.082) 0:00:37.942 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.033) 0:00:37.975 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.027) 0:00:38.002 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:56:11 +0000 (0:00:00.040) 0:00:38.043 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:56:12 +0000 (0:00:00.378) 0:00:38.422 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmp6qm11ho8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:56:12 +0000 (0:00:00.317) 0:00:38.739 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:56:12 +0000 (0:00:00.292) 0:00:39.032 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:56:12 +0000 (0:00:00.055) 0:00:39.087 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:56:12 +0000 (0:00:00.040) 0:00:39.127 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:56:12 +0000 (0:00:00.039) 0:00:39.167 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:56:12 +0000 (0:00:00.030) 0:00:39.198 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 16:56:13 +0000 (0:00:00.193) 0:00:39.392 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 16:56:13 +0000 (0:00:00.027) 0:00:39.420 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:56:13 +0000 (0:00:00.086) 0:00:39.506 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:56:13 +0000 (0:00:00.045) 0:00:39.551 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:56:13 +0000 (0:00:00.035) 0:00:39.587 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:56:13 +0000 (0:00:00.032) 0:00:39.620 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:56:13 +0000 (0:00:00.047) 0:00:39.667 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:56:14 +0000 (0:00:01.407) 0:00:41.075 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:56:16 +0000 (0:00:01.279) 0:00:42.354 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.044) 0:00:42.399 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.040) 0:00:42.439 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.039) 0:00:42.479 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.053) 0:00:42.532 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.048) 0:00:42.581 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.032) 0:00:42.614 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.036) 0:00:42.650 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.061) 0:00:42.712 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.058) 0:00:42.770 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.058) 0:00:42.829 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.059) 0:00:42.889 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.048) 0:00:42.938 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:56:16 +0000 (0:00:00.097) 0:00:43.035 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:56:17 +0000 (0:00:00.376) 0:00:43.411 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmpspux1djh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:56:17 +0000 (0:00:00.288) 0:00:43.700 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:56:17 +0000 (0:00:00.563) 0:00:44.263 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:56:18 +0000 (0:00:00.026) 0:00:44.289 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:56:18 +0000 (0:00:00.028) 0:00:44.318 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:56:18 +0000 (0:00:00.036) 0:00:44.354 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:56:18 +0000 (0:00:00.023) 0:00:44.378 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 16:56:18 +0000 (0:00:00.200) 0:00:44.579 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 July 2024 16:56:18 +0000 (0:00:00.066) 0:00:44.645 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:56:18 +0000 (0:00:00.056) 0:00:44.702 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:56:18 +0000 (0:00:00.090) 0:00:44.793 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:56:18 +0000 (0:00:00.031) 0:00:44.824 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:56:18 +0000 (0:00:00.040) 0:00:44.865 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:56:18 +0000 (0:00:00.050) 0:00:44.916 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:56:20 +0000 (0:00:01.454) 0:00:46.370 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:56:21 +0000 (0:00:01.355) 0:00:47.726 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:56:21 +0000 (0:00:00.053) 0:00:47.779 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:56:21 +0000 (0:00:00.046) 0:00:47.826 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:56:21 +0000 (0:00:00.048) 0:00:47.875 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:56:21 +0000 (0:00:00.052) 0:00:47.927 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:56:21 +0000 (0:00:00.063) 0:00:47.990 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:56:21 +0000 (0:00:00.032) 0:00:48.023 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:56:21 +0000 (0:00:00.041) 0:00:48.065 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:56:21 +0000 (0:00:00.057) 0:00:48.122 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:56:21 +0000 (0:00:00.036) 0:00:48.159 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:56:21 +0000 (0:00:00.027) 0:00:48.186 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:56:21 +0000 (0:00:00.040) 0:00:48.227 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:56:21 +0000 (0:00:00.027) 0:00:48.254 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:56:22 +0000 (0:00:00.031) 0:00:48.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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:56:22 +0000 (0:00:00.338) 0:00:48.625 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmp7xqkjbch" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:56:22 +0000 (0:00:00.361) 0:00:48.987 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:56:23 +0000 (0:00:00.345) 0:00:49.332 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:56:23 +0000 (0:00:00.049) 0:00:49.382 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:56:23 +0000 (0:00:00.073) 0:00:49.456 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:56:23 +0000 (0:00:00.085) 0:00:49.541 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:56:23 +0000 (0:00:00.052) 0:00:49.593 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 16:56:23 +0000 (0:00:00.234) 0:00:49.828 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 16:56:23 +0000 (0:00:00.070) 0:00:49.898 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 16:56:23 +0000 (0:00:00.050) 0:00:49.948 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721840177.8422506, "block_size": 4096, "blocks": 0, "ctime": 1721840177.8422506, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42614, "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": 1721840177.8422506, "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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 16:56:23 +0000 (0:00:00.192) 0:00:50.141 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 16:56:23 +0000 (0:00:00.029) 0:00:50.171 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 16:56:23 +0000 (0:00:00.043) 0:00:50.214 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.070) 0:00:50.285 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.195) 0:00:50.480 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.029) 0:00:50.510 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018240", "end": "2024-07-24 16:56:24.423531", "rc": 1, "start": "2024-07-24 16:56:24.405291" } 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.221) 0:00:50.731 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.031) 0:00:50.762 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.029) 0:00:50.792 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.027) 0:00:50.820 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.027) 0:00:50.847 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.026) 0:00:50.873 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.027) 0:00:50.901 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.023) 0:00:50.924 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.028) 0:00:50.953 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 16:56:24 +0000 (0:00:00.049) 0:00:51.002 ******** 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.046047", "end": "2024-07-24 16:56:24.932004", "rc": 0, "start": "2024-07-24 16:56:24.885957" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_states.yml:103 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.296) 0:00:51.298 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.089) 0:00:51.388 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.065) 0:00:51.453 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.066) 0:00:51.519 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.051) 0:00:51.571 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.074) 0:00:51.646 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002936", "end": "2024-07-24 16:56:25.567742", "rc": 0, "start": "2024-07-24 16:56:25.564806" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.241) 0:00:51.888 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.047) 0:00:51.935 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.052) 0:00:51.988 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.064) 0:00:52.053 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.045) 0:00:52.098 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.123) 0:00:52.222 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:56:25 +0000 (0:00:00.032) 0:00:52.254 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:56:26 +0000 (0:00:00.026) 0:00:52.281 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:56:26 +0000 (0:00:00.025) 0:00:52.306 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:56:27 +0000 (0:00:01.413) 0:00:53.720 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:56:28 +0000 (0:00:01.327) 0:00:55.048 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:56:28 +0000 (0:00:00.035) 0:00:55.083 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:56:28 +0000 (0:00:00.027) 0:00:55.110 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:56:28 +0000 (0:00:00.033) 0:00:55.143 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:56:28 +0000 (0:00:00.026) 0:00:55.170 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:56:28 +0000 (0:00:00.050) 0:00:55.221 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:56:28 +0000 (0:00:00.027) 0:00:55.249 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:56:29 +0000 (0:00:00.061) 0:00:55.310 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:56:29 +0000 (0:00:00.076) 0:00:55.387 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:56:29 +0000 (0:00:00.025) 0:00:55.412 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:56:29 +0000 (0:00:00.052) 0:00:55.465 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:56:29 +0000 (0:00:00.060) 0:00:55.525 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:56:29 +0000 (0:00:00.037) 0:00:55.563 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:56:29 +0000 (0:00:00.058) 0:00:55.622 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:56:29 +0000 (0:00:00.357) 0:00:55.979 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmp5b2uvhm4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.310) 0:00:56.289 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.373) 0:00:56.663 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.049) 0:00:56.713 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.049) 0:00:56.762 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.029) 0:00:56.792 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.028) 0:00:56.820 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.212) 0:00:57.033 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.036) 0:00:57.070 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.045) 0:00:57.115 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.062) 0:00:57.178 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.031) 0:00:57.210 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.025) 0:00:57.235 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:56:30 +0000 (0:00:00.027) 0:00:57.263 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:56:32 +0000 (0:00:01.385) 0:00:58.648 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:56:33 +0000 (0:00:01.280) 0:00:59.929 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:56:33 +0000 (0:00:00.036) 0:00:59.966 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:56:33 +0000 (0:00:00.049) 0:01:00.015 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:56:33 +0000 (0:00:00.042) 0:01:00.057 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:56:33 +0000 (0:00:00.035) 0:01:00.093 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:56:33 +0000 (0:00:00.050) 0:01:00.144 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:56:33 +0000 (0:00:00.052) 0:01:00.196 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:56:34 +0000 (0:00:00.111) 0:01:00.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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:56:34 +0000 (0:00:00.053) 0:01:00.361 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:56:34 +0000 (0:00:00.041) 0:01:00.403 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:56:34 +0000 (0:00:00.031) 0:01:00.435 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:56:34 +0000 (0:00:00.036) 0:01:00.472 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:56:34 +0000 (0:00:00.038) 0:01:00.510 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:56:34 +0000 (0:00:00.065) 0:01:00.575 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:56:34 +0000 (0:00:00.449) 0:01:01.024 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmp46czic46" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:56:35 +0000 (0:00:00.339) 0:01:01.363 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:56:35 +0000 (0:00:00.589) 0:01:01.953 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:56:35 +0000 (0:00:00.025) 0:01:01.978 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:56:35 +0000 (0:00:00.030) 0:01:02.009 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:56:35 +0000 (0:00:00.037) 0:01:02.046 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:56:35 +0000 (0:00:00.034) 0:01:02.081 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 July 2024 16:56:36 +0000 (0:00:00.266) 0:01:02.348 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:56:36 +0000 (0:00:00.070) 0:01:02.419 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:56:36 +0000 (0:00:00.059) 0:01:02.479 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:56:36 +0000 (0:00:00.071) 0:01:02.550 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:56:36 +0000 (0:00:00.042) 0:01:02.593 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:56:36 +0000 (0:00:00.042) 0:01:02.635 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:56:37 +0000 (0:00:01.439) 0:01:04.075 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:56:39 +0000 (0:00:01.365) 0:01:05.441 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.025) 0:01:05.467 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.025) 0:01:05.493 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.024) 0:01:05.518 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.025) 0:01:05.543 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.053) 0:01:05.596 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.053) 0:01:05.649 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.044) 0:01:05.694 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.115) 0:01:05.810 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.045) 0:01:05.855 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.031) 0:01:05.887 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.051) 0:01:05.939 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.045) 0:01:05.984 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:56:39 +0000 (0:00:00.034) 0:01:06.019 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:56:40 +0000 (0:00:00.413) 0:01:06.432 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmp8_sz_zl4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:56:40 +0000 (0:00:00.344) 0:01:06.777 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:56:40 +0000 (0:00:00.297) 0:01:07.075 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:56:40 +0000 (0:00:00.030) 0:01:07.105 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:56:40 +0000 (0:00:00.029) 0:01:07.135 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:56:40 +0000 (0:00:00.028) 0:01:07.163 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:56:40 +0000 (0:00:00.029) 0:01:07.192 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 16:56:41 +0000 (0:00:00.221) 0:01:07.413 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 16:56:41 +0000 (0:00:00.078) 0:01:07.491 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:56:41 +0000 (0:00:00.094) 0:01:07.586 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:56:41 +0000 (0:00:00.097) 0:01:07.684 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:56:41 +0000 (0:00:00.046) 0:01:07.730 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:56:41 +0000 (0:00:00.041) 0:01:07.771 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:56:41 +0000 (0:00:00.111) 0:01:07.882 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:56:43 +0000 (0:00:01.424) 0:01:09.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 : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:56:44 +0000 (0:00:01.291) 0:01:10.598 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.026) 0:01:10.624 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.025) 0:01:10.650 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.027) 0:01:10.678 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.024) 0:01:10.702 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.068) 0:01:10.771 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.026) 0:01:10.797 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.034) 0:01:10.832 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.067) 0:01:10.899 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.045) 0:01:10.945 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.030) 0:01:10.976 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.039) 0:01:11.015 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.036) 0:01:11.052 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:56:44 +0000 (0:00:00.045) 0:01:11.097 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:56:45 +0000 (0:00:00.370) 0:01:11.467 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmpz30nk8pl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:56:45 +0000 (0:00:00.393) 0:01:11.861 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:56:45 +0000 (0:00:00.300) 0:01:12.162 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:56:45 +0000 (0:00:00.026) 0:01:12.188 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:56:45 +0000 (0:00:00.037) 0:01:12.225 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:56:46 +0000 (0:00:00.085) 0:01:12.311 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:56:46 +0000 (0:00:00.032) 0:01:12.344 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 16:56:46 +0000 (0:00:00.210) 0:01:12.554 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 16:56:46 +0000 (0:00:00.055) 0:01:12.609 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 16:56:46 +0000 (0:00:00.062) 0:01:12.672 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 16:56:46 +0000 (0:00:00.034) 0:01:12.706 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 16:56:46 +0000 (0:00:00.204) 0:01:12.911 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 16:56:46 +0000 (0:00:00.024) 0:01:12.936 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018269", "end": "2024-07-24 16:56:46.833522", "rc": 1, "start": "2024-07-24 16:56:46.815253" } 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 16:56:46 +0000 (0:00:00.206) 0:01:13.142 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 16:56:46 +0000 (0:00:00.027) 0:01:13.170 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 16:56:46 +0000 (0:00:00.027) 0:01:13.197 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 16:56:46 +0000 (0:00:00.044) 0:01:13.242 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.047) 0:01:13.289 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.075) 0:01:13.365 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.052) 0:01:13.417 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.030) 0:01:13.447 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.035) 0:01:13.483 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.048) 0:01:13.531 ******** 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.049447", "end": "2024-07-24 16:56:47.469003", "rc": 0, "start": "2024-07-24 16:56:47.419556" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_states.yml:126 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.261) 0:01:13.793 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.060) 0:01:13.853 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.026) 0:01:13.879 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.057) 0:01:13.937 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.042) 0:01:13.980 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.043) 0:01:14.023 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002956", "end": "2024-07-24 16:56:47.906818", "rc": 0, "start": "2024-07-24 16:56:47.903862" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 16:56:47 +0000 (0:00:00.242) 0:01:14.266 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 16:56:48 +0000 (0:00:00.036) 0:01:14.303 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 16:56:48 +0000 (0:00:00.026) 0:01:14.329 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 16:56:48 +0000 (0:00:00.068) 0:01:14.398 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:56:48 +0000 (0:00:00.056) 0:01:14.455 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:56:48 +0000 (0:00:00.071) 0:01:14.526 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:56:48 +0000 (0:00:00.036) 0:01:14.563 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:56:48 +0000 (0:00:00.039) 0:01:14.602 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:56:48 +0000 (0:00:00.026) 0:01:14.629 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:56:49 +0000 (0:00:01.466) 0:01:16.096 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:56:51 +0000 (0:00:01.235) 0:01:17.331 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.027) 0:01:17.358 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.026) 0:01:17.384 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.025) 0:01:17.410 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.030) 0:01:17.441 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.032) 0:01:17.473 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.025) 0:01:17.499 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.030) 0:01:17.530 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.049) 0:01:17.579 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.026) 0:01:17.606 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.086) 0:01:17.693 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.032) 0:01:17.725 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.032) 0:01:17.757 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.042) 0:01:17.800 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:56:51 +0000 (0:00:00.355) 0:01:18.155 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmpe27hd8ig" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:56:52 +0000 (0:00:00.281) 0:01:18.437 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:56:52 +0000 (0:00:00.294) 0:01:18.732 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:56:52 +0000 (0:00:00.028) 0:01:18.760 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:56:52 +0000 (0:00:00.034) 0:01:18.795 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:56:52 +0000 (0:00:00.038) 0:01:18.833 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:56:52 +0000 (0:00:00.035) 0:01:18.869 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 16:56:52 +0000 (0:00:00.196) 0:01:19.066 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 16:56:52 +0000 (0:00:00.033) 0:01:19.099 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:56:52 +0000 (0:00:00.137) 0:01:19.237 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:56:53 +0000 (0:00:00.087) 0:01:19.324 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:56:53 +0000 (0:00:00.049) 0:01:19.374 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:56:53 +0000 (0:00:00.042) 0:01:19.416 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:56:53 +0000 (0:00:00.032) 0:01:19.449 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:56:54 +0000 (0:00:01.408) 0:01:20.858 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:56:55 +0000 (0:00:01.317) 0:01:22.175 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:56:55 +0000 (0:00:00.038) 0:01:22.214 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:56:55 +0000 (0:00:00.029) 0:01:22.243 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:56:55 +0000 (0:00:00.029) 0:01:22.272 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:56:56 +0000 (0:00:00.030) 0:01:22.303 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:56:56 +0000 (0:00:00.035) 0:01:22.338 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:56:56 +0000 (0:00:00.026) 0:01:22.365 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:56:56 +0000 (0:00:00.027) 0:01:22.393 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:56:56 +0000 (0:00:00.064) 0:01:22.457 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:56:56 +0000 (0:00:00.026) 0:01:22.483 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:56:56 +0000 (0:00:00.026) 0:01:22.510 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:56:56 +0000 (0:00:00.055) 0:01:22.566 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:56:56 +0000 (0:00:00.028) 0:01:22.595 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:56:56 +0000 (0:00:00.054) 0:01:22.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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:56:56 +0000 (0:00:00.412) 0:01:23.061 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmpqvd9g2_h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:56:57 +0000 (0:00:00.311) 0:01:23.373 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:56:57 +0000 (0:00:00.543) 0:01:23.917 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:56:57 +0000 (0:00:00.026) 0:01:23.943 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:56:57 +0000 (0:00:00.029) 0:01:23.973 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:56:57 +0000 (0:00:00.048) 0:01:24.022 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:56:57 +0000 (0:00:00.059) 0:01:24.082 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 16:56:58 +0000 (0:00:00.226) 0:01:24.309 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:56:58 +0000 (0:00:00.042) 0:01:24.351 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:56:58 +0000 (0:00:00.047) 0:01:24.398 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:56:58 +0000 (0:00:00.036) 0:01:24.435 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:56:58 +0000 (0:00:00.068) 0:01:24.503 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:56:58 +0000 (0:00:00.026) 0:01:24.530 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:56:59 +0000 (0:00:01.404) 0:01:25.934 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:57:00 +0000 (0:00:01.249) 0:01:27.183 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:57:00 +0000 (0:00:00.088) 0:01:27.272 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.039) 0:01:27.312 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.067) 0:01:27.379 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.028) 0:01:27.407 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.038) 0:01:27.446 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.030) 0:01:27.476 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.055) 0:01:27.532 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.082) 0:01:27.615 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.049) 0:01:27.664 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.044) 0:01:27.709 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.057) 0:01:27.767 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.053) 0:01:27.821 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.026) 0:01:27.848 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:57:01 +0000 (0:00:00.370) 0:01:28.218 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmp11_px0xq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:57:02 +0000 (0:00:00.301) 0:01:28.520 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:57:02 +0000 (0:00:00.420) 0:01:28.940 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:57:02 +0000 (0:00:00.053) 0:01:28.993 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:57:02 +0000 (0:00:00.032) 0:01:29.026 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:57:02 +0000 (0:00:00.079) 0:01:29.106 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:57:02 +0000 (0:00:00.038) 0:01:29.145 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 16:57:03 +0000 (0:00:00.222) 0:01:29.367 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 16:57:03 +0000 (0:00:00.050) 0:01:29.418 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:57:03 +0000 (0:00:00.056) 0:01:29.475 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:57:03 +0000 (0:00:00.056) 0:01:29.531 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:57:03 +0000 (0:00:00.035) 0:01:29.567 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:57:03 +0000 (0:00:00.042) 0:01:29.609 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:57:03 +0000 (0:00:00.037) 0:01:29.647 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:57:04 +0000 (0:00:01.564) 0:01:31.212 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:57:06 +0000 (0:00:01.234) 0:01:32.446 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.027) 0:01:32.474 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.032) 0:01:32.506 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.029) 0:01:32.535 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.032) 0:01:32.568 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.081) 0:01:32.650 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.030) 0:01:32.680 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.039) 0:01:32.719 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.070) 0:01:32.790 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.026) 0:01:32.816 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.035) 0:01:32.851 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.033) 0:01:32.885 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.025) 0:01:32.911 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:57:06 +0000 (0:00:00.028) 0:01:32.940 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:57:07 +0000 (0:00:00.381) 0:01:33.321 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-205002mli6u9w/tmp6lo_m4lz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:57:07 +0000 (0:00:00.360) 0:01:33.682 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:57:07 +0000 (0:00:00.303) 0:01:33.985 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:57:07 +0000 (0:00:00.024) 0:01:34.010 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:57:07 +0000 (0:00:00.026) 0:01:34.037 ******** 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-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:57:07 +0000 (0:00:00.077) 0:01:34.114 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:57:07 +0000 (0:00:00.032) 0:01:34.147 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.193) 0:01:34.341 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.066) 0:01:34.408 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.059) 0:01:34.468 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.029) 0:01:34.497 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.204) 0:01:34.702 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.025) 0:01:34.727 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017799", "end": "2024-07-24 16:57:08.641791", "rc": 1, "start": "2024-07-24 16:57:08.623992" } 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.230) 0:01:34.958 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.033) 0:01:34.991 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.027) 0:01:35.018 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.033) 0:01:35.052 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.030) 0:01:35.082 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.078) 0:01:35.161 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 24 July 2024 16:57:08 +0000 (0:00:00.055) 0:01:35.216 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.882391", "end": "2024-07-24 16:57:09.999762", "rc": 0, "start": "2024-07-24 16:57:09.117371" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 24 July 2024 16:57:10 +0000 (0:00:01.100) 0:01:36.317 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 24 July 2024 16:57:10 +0000 (0:00:00.026) 0:01:36.344 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 16:57:10 +0000 (0:00:00.034) 0:01:36.378 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 16:57:10 +0000 (0:00:00.046) 0:01:36.425 ******** 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 16:57:10 +0000 (0:00:00.050) 0:01:36.475 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 16:57:10 +0000 (0:00:00.089) 0:01:36.565 ******** 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.045234", "end": "2024-07-24 16:57:10.504202", "rc": 0, "start": "2024-07-24 16:57:10.458968" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 24 July 2024 16:57:10 +0000 (0:00:00.254) 0:01:36.819 ******** 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.010382", "end": "2024-07-24 16:57:10.719035", "rc": 0, "start": "2024-07-24 16:57:10.708653" } 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 0a:ff:d5:59:82:0f brd ff:ff:ff:ff:ff:ff inet 10.31.13.102/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2526sec preferred_lft 2526sec inet6 fe80::8ff:d5ff:fe59:820f/64 scope link valid_lft forever preferred_lft forever 69: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 1a:6d:89:d3:11:a5 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.12.1 dev eth0 proto dhcp src 10.31.13.102 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.102 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-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 24 July 2024 16:57:10 +0000 (0:00:00.207) 0:01:37.027 ******** 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.186653", "end": "2024-07-24 16:57:11.111806", "rc": 0, "start": "2024-07-24 16:57:10.925153" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2620:52:3:1:dead:beef:cafe:fed6 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3674 0 --:--:-- --:--:-- --:--:-- 3630 % 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 3880 0 --:--:-- --:--:-- --:--:-- 3880 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Wednesday 24 July 2024 16:57:11 +0000 (0:00:00.402) 0:01:37.429 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.24s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable network service --------------------- 2.06s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 linux-system-roles.network : Configure networking connection profiles --- 1.83s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable network service --------------------- 1.59s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.53s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.49s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-fix-templating-warningsmz9c4i5u/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. ---^---^---^---^---^---