# 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-ci_fixsuv0wk7i/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tests_states_initscripts.yml:4 Thursday 21 December 2023 17:39:10 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tests_states_initscripts.yml:8 Thursday 21 December 2023 17:39:11 +0000 (0:00:00.712) 0:00:00.724 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 17:39:11 +0000 (0:00:00.021) 0:00:00.746 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 17:39:11 +0000 (0:00:00.317) 0:00:01.063 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 17:39:12 +0000 (0:00:00.245) 0:00:01.309 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 17:39:12 +0000 (0:00:00.019) 0:00:01.329 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 17:39:12 +0000 (0:00:00.017) 0:00:01.346 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 17:39:12 +0000 (0:00:00.041) 0:00:01.388 ***** 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-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 17:39:12 +0000 (0:00:00.230) 0:00:01.618 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 17:39:12 +0000 (0:00:00.010) 0:00:01.629 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 17:39:12 +0000 (0:00:00.010) 0:00:01.639 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.242834", "end": "2023-12-21 17:39:12.832485", "rc": 0, "start": "2023-12-21 17:39:12.589651" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 17:39:12 +0000 (0:00:00.424) 0:00:02.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tests_states_initscripts.yml:10 Thursday 21 December 2023 17:39:12 +0000 (0:00:00.009) 0:00:02.073 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 17:39:12 +0000 (0:00:00.009) 0:00:02.082 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.539) 0:00:02.622 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.010) 0:00:02.632 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.015) 0:00:02.648 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.010) 0:00:02.658 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.033) 0:00:02.692 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.014) 0:00:02.706 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.013) 0:00:02.720 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003107", "end": "2023-12-21 17:39:13.675648", "rc": 0, "start": "2023-12-21 17:39:13.672541" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.186) 0:00:02.906 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.011) 0:00:02.918 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.010) 0:00:02.928 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.019) 0:00:02.947 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007748", "end": "2023-12-21 17:39:13.906814", "rc": 1, "start": "2023-12-21 17:39:13.899066" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.189) 0:00:03.137 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:39:13 +0000 (0:00:00.014) 0:00:03.152 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:39:14 +0000 (0:00:00.181) 0:00:03.333 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:39:14 +0000 (0:00:00.014) 0:00:03.347 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:39:14 +0000 (0:00:00.020) 0:00:03.368 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:14 +0000 (0:00:00.031) 0:00:03.399 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:14 +0000 (0:00:00.067) 0:00:03.467 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:14 +0000 (0:00:00.011) 0:00:03.479 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:14 +0000 (0:00:00.009) 0:00:03.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:14 +0000 (0:00:00.011) 0:00:03.499 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:15 +0000 (0:00:01.589) 0:00:05.088 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:17 +0000 (0:00:01.446) 0:00:06.535 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:17 +0000 (0:00:00.023) 0:00:06.559 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:17 +0000 (0:00:00.021) 0:00:06.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:17 +0000 (0:00:00.021) 0:00:06.602 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:17 +0000 (0:00:00.043) 0:00:06.646 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:17 +0000 (0:00:00.022) 0:00:06.668 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:17 +0000 (0:00:00.021) 0:00:06.690 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:17 +0000 (0:00:00.024) 0:00:06.715 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:17 +0000 (0:00:00.021) 0:00:06.736 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:17 +0000 (0:00:00.021) 0:00:06.758 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:18 +0000 (0:00:00.470) 0:00:07.228 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmpzqcykxjb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:18 +0000 (0:00:00.292) 0:00:07.521 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:18 +0000 (0:00:00.420) 0:00:07.942 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:18 +0000 (0:00:00.022) 0:00:07.965 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:18 +0000 (0:00:00.023) 0:00:07.988 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:18 +0000 (0:00:00.024) 0:00:08.013 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:18 +0000 (0:00:00.023) 0:00:08.036 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:39:19 +0000 (0:00:00.237) 0:00:08.274 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:39:19 +0000 (0:00:00.024) 0:00:08.299 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 17:39:19 +0000 (0:00:00.042) 0:00:08.342 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:39:19 +0000 (0:00:00.040) 0:00:08.382 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:39:19 +0000 (0:00:00.023) 0:00:08.406 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180358.6999252, "block_size": 4096, "blocks": 8, "ctime": 1703180358.6999252, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533383, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703180358.6999252, "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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:39:19 +0000 (0:00:00.195) 0:00:08.601 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:39:19 +0000 (0:00:00.061) 0:00:08.663 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019777", "end": "2023-12-21 17:39:19.645531", "rc": 1, "start": "2023-12-21 17:39:19.625754" } 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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:39:19 +0000 (0:00:00.225) 0:00:08.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:39:19 +0000 (0:00:00.024) 0:00:08.913 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002823", "end": "2023-12-21 17:39:19.870402", "rc": 0, "start": "2023-12-21 17:39:19.867579" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:39:19 +0000 (0:00:00.202) 0:00:09.115 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:39:19 +0000 (0:00:00.028) 0:00:09.143 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002944", "end": "2023-12-21 17:39:20.105932", "rc": 0, "start": "2023-12-21 17:39:20.102988" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.205) 0:00:09.349 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.026) 0:00:09.375 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.024) 0:00:09.399 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.024) 0:00:09.424 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.023) 0:00:09.447 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.027) 0:00:09.474 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.023) 0:00:09.498 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.040) 0:00:09.538 ***** 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.037071", "end": "2023-12-21 17:39:20.527606", "rc": 1, "start": "2023-12-21 17:39:20.490535" } 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-ci_fixsuv0wk7i/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.247) 0:00:09.786 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.038) 0:00:09.824 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.023) 0:00:09.848 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.054) 0:00:09.902 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.040) 0:00:09.942 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.036) 0:00:09.979 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002980", "end": "2023-12-21 17:39:20.934050", "rc": 0, "start": "2023-12-21 17:39:20.931070" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.197) 0:00:10.176 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:39:20 +0000 (0:00:00.023) 0:00:10.200 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.024) 0:00:10.224 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.051) 0:00:10.275 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006505", "end": "2023-12-21 17:39:21.248996", "rc": 1, "start": "2023-12-21 17:39:21.242491" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.238) 0:00:10.514 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.038) 0:00:10.552 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.198) 0:00:10.751 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.025) 0:00:10.776 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.040) 0:00:10.816 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.043) 0:00:10.859 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.040) 0:00:10.900 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.026) 0:00:10.927 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.022) 0:00:10.949 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:21 +0000 (0:00:00.021) 0:00:10.971 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:23 +0000 (0:00:01.522) 0:00:12.493 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:24 +0000 (0:00:01.296) 0:00:13.790 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:24 +0000 (0:00:00.023) 0:00:13.813 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:24 +0000 (0:00:00.021) 0:00:13.835 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:24 +0000 (0:00:00.040) 0:00:13.875 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:24 +0000 (0:00:00.045) 0:00:13.920 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:24 +0000 (0:00:00.023) 0:00:13.944 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:24 +0000 (0:00:00.025) 0:00:13.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:24 +0000 (0:00:00.025) 0:00:13.995 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:24 +0000 (0:00:00.022) 0:00:14.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:24 +0000 (0:00:00.023) 0:00:14.041 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:25 +0000 (0:00:00.345) 0:00:14.387 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmpkxjv2a4t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:25 +0000 (0:00:00.296) 0:00:14.684 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:25 +0000 (0:00:00.288) 0:00:14.972 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:25 +0000 (0:00:00.022) 0:00:14.995 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:25 +0000 (0:00:00.022) 0:00:15.017 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:25 +0000 (0:00:00.023) 0:00:15.041 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:25 +0000 (0:00:00.044) 0:00:15.085 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.190) 0:00:15.276 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.024) 0:00:15.300 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.046) 0:00:15.347 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.036) 0:00:15.384 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.195) 0:00:15.579 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.024) 0:00:15.604 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.038) 0:00:15.642 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.022) 0:00:15.664 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180365.7288916, "block_size": 4096, "blocks": 8, "ctime": 1703180365.7288916, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533383, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703180365.7288916, "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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.197) 0:00:15.861 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.023) 0:00:15.885 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018927", "end": "2023-12-21 17:39:26.856547", "rc": 1, "start": "2023-12-21 17:39:26.837620" } 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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.241) 0:00:16.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:39:26 +0000 (0:00:00.026) 0:00:16.154 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002760", "end": "2023-12-21 17:39:27.111043", "rc": 0, "start": "2023-12-21 17:39:27.108283" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.201) 0:00:16.355 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.028) 0:00:16.383 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002795", "end": "2023-12-21 17:39:27.340821", "rc": 0, "start": "2023-12-21 17:39:27.338026" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.201) 0:00:16.585 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.029) 0:00:16.615 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.027) 0:00:16.642 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.027) 0:00:16.669 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.024) 0:00:16.694 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.021) 0:00:16.715 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.023) 0:00:16.739 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.040) 0:00:16.779 ***** 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.035943", "end": "2023-12-21 17:39:27.769322", "rc": 1, "start": "2023-12-21 17:39:27.733379" } 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-ci_fixsuv0wk7i/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.231) 0:00:17.010 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.068) 0:00:17.079 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.023) 0:00:17.103 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.049) 0:00:17.152 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:39:27 +0000 (0:00:00.036) 0:00:17.189 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.035) 0:00:17.225 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003321", "end": "2023-12-21 17:39:28.182334", "rc": 0, "start": "2023-12-21 17:39:28.179013" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.200) 0:00:17.425 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.024) 0:00:17.449 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.023) 0:00:17.473 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.042) 0:00:17.515 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.037) 0:00:17.552 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.065) 0:00:17.617 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.028) 0:00:17.645 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.023) 0:00:17.668 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:28 +0000 (0:00:00.027) 0:00:17.696 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:30 +0000 (0:00:01.531) 0:00:19.227 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:31 +0000 (0:00:01.294) 0:00:20.521 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:31 +0000 (0:00:00.023) 0:00:20.545 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:31 +0000 (0:00:00.021) 0:00:20.567 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:31 +0000 (0:00:00.021) 0:00:20.588 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:31 +0000 (0:00:00.043) 0:00:20.632 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:31 +0000 (0:00:00.022) 0:00:20.654 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:31 +0000 (0:00:00.022) 0:00:20.676 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:31 +0000 (0:00:00.025) 0:00:20.702 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:31 +0000 (0:00:00.021) 0:00:20.723 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:31 +0000 (0:00:00.022) 0:00:20.745 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:31 +0000 (0:00:00.343) 0:00:21.089 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmphfzr52aw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.314) 0:00:21.403 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.288) 0:00:21.692 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.022) 0:00:21.714 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.023) 0:00:21.738 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.023) 0:00:21.761 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.022) 0:00:21.783 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.190) 0:00:21.974 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.023) 0:00:21.997 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.039) 0:00:22.037 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.041) 0:00:22.078 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.041) 0:00:22.119 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.052) 0:00:22.172 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:32 +0000 (0:00:00.022) 0:00:22.194 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:33 +0000 (0:00:00.022) 0:00:22.216 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:34 +0000 (0:00:01.532) 0:00:23.749 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:35 +0000 (0:00:01.315) 0:00:25.064 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.024) 0:00:25.089 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.023) 0:00:25.112 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.022) 0:00:25.135 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.044) 0:00:25.180 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:35 +0000 (0:00:00.023) 0:00:25.204 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.027) 0:00:25.231 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.027) 0:00:25.259 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.022) 0:00:25.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.022) 0:00:25.304 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.349) 0:00:25.654 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmp6_xygfzj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:36 +0000 (0:00:00.293) 0:00:25.947 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:37 +0000 (0:00:00.563) 0:00:26.511 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:37 +0000 (0:00:00.046) 0:00:26.557 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:37 +0000 (0:00:00.024) 0:00:26.581 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:37 +0000 (0:00:00.022) 0:00:26.604 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:37 +0000 (0:00:00.022) 0:00:26.627 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:39:37 +0000 (0:00:00.191) 0:00:26.818 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 17:39:37 +0000 (0:00:00.046) 0:00:26.864 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:39:37 +0000 (0:00:00.036) 0:00:26.901 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180377.1758678, "block_size": 4096, "blocks": 0, "ctime": 1703180377.1758678, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36523, "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": 1703180377.1758678, "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-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 17:39:37 +0000 (0:00:00.197) 0:00:27.098 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 17:39:37 +0000 (0:00:00.024) 0:00:27.123 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:39:37 +0000 (0:00:00.038) 0:00:27.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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:39:37 +0000 (0:00:00.022) 0:00:27.183 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180376.9968383, "block_size": 4096, "blocks": 8, "ctime": 1703180372.4498599, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533383, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703180372.4498599, "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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:39:38 +0000 (0:00:00.219) 0:00:27.403 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:39:38 +0000 (0:00:00.025) 0:00:27.428 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020167", "end": "2023-12-21 17:39:38.400480", "rc": 1, "start": "2023-12-21 17:39:38.380313" } 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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:39:38 +0000 (0:00:00.215) 0:00:27.643 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:39:38 +0000 (0:00:00.025) 0:00:27.669 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002773", "end": "2023-12-21 17:39:38.628453", "rc": 0, "start": "2023-12-21 17:39:38.625680" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:39:38 +0000 (0:00:00.202) 0:00:27.872 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:39:38 +0000 (0:00:00.027) 0:00:27.900 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002716", "end": "2023-12-21 17:39:38.855913", "rc": 0, "start": "2023-12-21 17:39:38.853197" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:39:38 +0000 (0:00:00.199) 0:00:28.099 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 17:39:38 +0000 (0:00:00.028) 0:00:28.127 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 17:39:38 +0000 (0:00:00.025) 0:00:28.152 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 17:39:38 +0000 (0:00:00.026) 0:00:28.178 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:39:38 +0000 (0:00:00.025) 0:00:28.204 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.020) 0:00:28.225 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.023) 0:00:28.248 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.067) 0:00:28.315 ***** 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.044699", "end": "2023-12-21 17:39:39.312749", "rc": 0, "start": "2023-12-21 17:39:39.268050" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.243) 0:00:28.559 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.039) 0:00:28.598 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.024) 0:00:28.623 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.047) 0:00:28.670 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.036) 0:00:28.707 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.035) 0:00:28.743 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002982", "end": "2023-12-21 17:39:39.697681", "rc": 0, "start": "2023-12-21 17:39:39.694699" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.197) 0:00:28.941 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.024) 0:00:28.966 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.025) 0:00:28.991 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.044) 0:00:29.035 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.067) 0:00:29.102 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.043) 0:00:29.146 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:39 +0000 (0:00:00.037) 0:00:29.183 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:40 +0000 (0:00:00.032) 0:00:29.216 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:40 +0000 (0:00:00.025) 0:00:29.242 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:41 +0000 (0:00:01.543) 0:00:30.786 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:42 +0000 (0:00:01.328) 0:00:32.114 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:42 +0000 (0:00:00.026) 0:00:32.141 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:42 +0000 (0:00:00.023) 0:00:32.164 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:42 +0000 (0:00:00.022) 0:00:32.187 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:43 +0000 (0:00:00.044) 0:00:32.232 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:43 +0000 (0:00:00.022) 0:00:32.254 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:43 +0000 (0:00:00.022) 0:00:32.277 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:43 +0000 (0:00:00.025) 0:00:32.303 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:43 +0000 (0:00:00.021) 0:00:32.325 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:43 +0000 (0:00:00.022) 0:00:32.347 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:43 +0000 (0:00:00.344) 0:00:32.692 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmpj59m_jt3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:43 +0000 (0:00:00.294) 0:00:32.987 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.289) 0:00:33.276 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.022) 0:00:33.298 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.023) 0:00:33.322 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.023) 0:00:33.345 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.024) 0:00:33.370 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.189) 0:00:33.560 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.024) 0:00:33.585 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.037) 0:00:33.622 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.063) 0:00:33.686 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.028) 0:00:33.714 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.022) 0:00:33.736 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:44 +0000 (0:00:00.022) 0:00:33.759 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:46 +0000 (0:00:01.526) 0:00:35.285 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:47 +0000 (0:00:01.316) 0:00:36.602 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.025) 0:00:36.627 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.026) 0:00:36.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.022) 0:00:36.676 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.047) 0:00:36.724 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.023) 0:00:36.747 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.022) 0:00:36.769 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.025) 0:00:36.795 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.022) 0:00:36.817 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.021) 0:00:36.839 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:47 +0000 (0:00:00.342) 0:00:37.182 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmpmk26y4_h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:48 +0000 (0:00:00.291) 0:00:37.473 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:48 +0000 (0:00:00.575) 0:00:38.049 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:48 +0000 (0:00:00.022) 0:00:38.072 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:48 +0000 (0:00:00.023) 0:00:38.096 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:48 +0000 (0:00:00.023) 0:00:38.119 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:48 +0000 (0:00:00.022) 0:00:38.142 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:39:49 +0000 (0:00:00.192) 0:00:38.335 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 17:39:49 +0000 (0:00:00.042) 0:00:38.377 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:49 +0000 (0:00:00.041) 0:00:38.419 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:49 +0000 (0:00:00.040) 0:00:38.460 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:49 +0000 (0:00:00.027) 0:00:38.487 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:49 +0000 (0:00:00.047) 0:00:38.535 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:49 +0000 (0:00:00.022) 0:00:38.557 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:50 +0000 (0:00:01.542) 0:00:40.100 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:52 +0000 (0:00:01.297) 0:00:41.397 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:52 +0000 (0:00:00.044) 0:00:41.441 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:52 +0000 (0:00:00.022) 0:00:41.463 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:52 +0000 (0:00:00.022) 0:00:41.486 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:52 +0000 (0:00:00.044) 0:00:41.530 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:52 +0000 (0:00:00.022) 0:00:41.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:52 +0000 (0:00:00.023) 0:00:41.576 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:52 +0000 (0:00:00.027) 0:00:41.604 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:52 +0000 (0:00:00.022) 0:00:41.627 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:52 +0000 (0:00:00.022) 0:00:41.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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:52 +0000 (0:00:00.342) 0:00:41.992 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmp6qxkhpna" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:53 +0000 (0:00:00.293) 0:00:42.286 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:53 +0000 (0:00:00.294) 0:00:42.580 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:53 +0000 (0:00:00.022) 0:00:42.602 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:53 +0000 (0:00:00.049) 0:00:42.652 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:53 +0000 (0:00:00.024) 0:00:42.676 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:53 +0000 (0:00:00.022) 0:00:42.699 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:39:53 +0000 (0:00:00.189) 0:00:42.889 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 17:39:53 +0000 (0:00:00.044) 0:00:42.933 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:39:53 +0000 (0:00:00.037) 0:00:42.971 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180388.7190406, "block_size": 4096, "blocks": 0, "ctime": 1703180388.7190406, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36654, "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": 1703180388.7190406, "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-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 17:39:53 +0000 (0:00:00.195) 0:00:43.166 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 17:39:53 +0000 (0:00:00.024) 0:00:43.191 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.037) 0:00:43.229 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.022) 0:00:43.251 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.193) 0:00:43.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.021) 0:00:43.466 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019959", "end": "2023-12-21 17:39:54.438665", "rc": 1, "start": "2023-12-21 17:39:54.418706" } 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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.214) 0:00:43.681 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.025) 0:00:43.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.026) 0:00:43.732 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.026) 0:00:43.759 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.027) 0:00:43.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.026) 0:00:43.813 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.026) 0:00:43.839 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.021) 0:00:43.861 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.023) 0:00:43.885 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.041) 0:00:43.927 ***** 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.042938", "end": "2023-12-21 17:39:54.923755", "rc": 0, "start": "2023-12-21 17:39:54.880817" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_states.yml:103 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.241) 0:00:44.168 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:39:54 +0000 (0:00:00.037) 0:00:44.206 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.022) 0:00:44.229 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.103) 0:00:44.332 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.038) 0:00:44.370 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.036) 0:00:44.407 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002967", "end": "2023-12-21 17:39:55.363337", "rc": 0, "start": "2023-12-21 17:39:55.360370" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.199) 0:00:44.606 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.023) 0:00:44.630 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.023) 0:00:44.653 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.047) 0:00:44.700 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.038) 0:00:44.739 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.044) 0:00:44.783 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.027) 0:00:44.811 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.053) 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:39:55 +0000 (0:00:00.022) 0:00:44.888 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:39:57 +0000 (0:00:01.524) 0:00:46.412 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:39:58 +0000 (0:00:01.293) 0:00:47.705 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.042) 0:00:47.748 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.023) 0:00:47.772 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.022) 0:00:47.794 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.044) 0:00:47.839 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.022) 0:00:47.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.023) 0:00:47.885 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.029) 0:00:47.914 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.024) 0:00:47.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:39:58 +0000 (0:00:00.022) 0:00:47.961 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.345) 0:00:48.307 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmpsa997eaj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.303) 0:00:48.611 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.290) 0:00:48.901 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.022) 0:00:48.923 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.048) 0:00:48.972 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.024) 0:00:48.997 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.022) 0:00:49.019 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:39:59 +0000 (0:00:00.190) 0:00:49.210 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.023) 0:00:49.234 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.036) 0:00:49.271 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.040) 0:00:49.312 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.027) 0:00:49.340 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.022) 0:00:49.362 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:00 +0000 (0:00:00.022) 0:00:49.385 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:01 +0000 (0:00:01.555) 0:00:50.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 : Print network provider] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:03 +0000 (0:00:01.306) 0:00:52.247 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:03 +0000 (0:00:00.025) 0:00:52.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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:03 +0000 (0:00:00.022) 0:00:52.294 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:03 +0000 (0:00:00.022) 0:00:52.317 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:03 +0000 (0:00:00.044) 0:00:52.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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:03 +0000 (0:00:00.021) 0:00:52.383 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:03 +0000 (0:00:00.044) 0:00:52.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:03 +0000 (0:00:00.025) 0:00:52.453 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:03 +0000 (0:00:00.021) 0:00:52.475 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:03 +0000 (0:00:00.022) 0:00:52.497 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:03 +0000 (0:00:00.346) 0:00:52.843 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmpj49y3qwb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:03 +0000 (0:00:00.297) 0:00:53.141 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:04 +0000 (0:00:00.559) 0:00:53.700 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:04 +0000 (0:00:00.023) 0:00:53.724 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:04 +0000 (0:00:00.025) 0:00:53.749 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:04 +0000 (0:00:00.024) 0:00:53.773 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:04 +0000 (0:00:00.022) 0:00:53.796 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 17:40:04 +0000 (0:00:00.216) 0:00:54.012 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:04 +0000 (0:00:00.037) 0:00:54.050 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:04 +0000 (0:00:00.042) 0:00:54.093 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:04 +0000 (0:00:00.027) 0:00:54.120 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:04 +0000 (0:00:00.026) 0:00:54.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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:04 +0000 (0:00:00.024) 0:00:54.171 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:06 +0000 (0:00:01.557) 0:00:55.729 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:07 +0000 (0:00:01.320) 0:00:57.050 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:07 +0000 (0:00:00.023) 0:00:57.073 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:07 +0000 (0:00:00.022) 0:00:57.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:07 +0000 (0:00:00.021) 0:00:57.117 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:07 +0000 (0:00:00.042) 0:00:57.160 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:07 +0000 (0:00:00.022) 0:00:57.182 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:07 +0000 (0:00:00.024) 0:00:57.207 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:08 +0000 (0:00:00.026) 0:00:57.233 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:08 +0000 (0:00:00.022) 0:00:57.256 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:08 +0000 (0:00:00.022) 0:00:57.278 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:08 +0000 (0:00:00.370) 0:00:57.648 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmp5ihylh2y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:08 +0000 (0:00:00.294) 0:00:57.943 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.297) 0:00:58.240 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.022) 0:00:58.263 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.023) 0:00:58.286 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.023) 0:00:58.310 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.022) 0:00:58.333 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.193) 0:00:58.527 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.048) 0:00:58.575 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.072) 0:00:58.647 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.044) 0:00:58.691 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.033) 0:00:58.725 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.023) 0:00:58.748 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:09 +0000 (0:00:00.023) 0:00:58.772 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:11 +0000 (0:00:01.538) 0:01:00.310 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:12 +0000 (0:00:01.322) 0:01:01.633 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:12 +0000 (0:00:00.024) 0:01:01.657 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:12 +0000 (0:00:00.022) 0:01:01.679 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:12 +0000 (0:00:00.023) 0:01:01.703 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:12 +0000 (0:00:00.044) 0:01:01.748 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:12 +0000 (0:00:00.022) 0:01:01.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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:12 +0000 (0:00:00.022) 0:01:01.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:12 +0000 (0:00:00.025) 0:01:01.818 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:12 +0000 (0:00:00.021) 0:01:01.840 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:12 +0000 (0:00:00.022) 0:01:01.862 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:12 +0000 (0:00:00.346) 0:01:02.209 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmp00ltu4u9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.299) 0:01:02.508 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.294) 0:01:02.803 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.035) 0:01:02.839 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.025) 0:01:02.864 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.024) 0:01:02.889 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.025) 0:01:02.914 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.195) 0:01:03.109 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.044) 0:01:03.154 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:40:13 +0000 (0:00:00.038) 0:01:03.192 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.022) 0:01:03.214 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.195) 0:01:03.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.046) 0:01:03.456 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019603", "end": "2023-12-21 17:40:14.429529", "rc": 1, "start": "2023-12-21 17:40:14.409926" } 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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.216) 0:01:03.672 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.024) 0:01:03.696 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.023) 0:01:03.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.025) 0:01:03.746 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.024) 0:01:03.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.023) 0:01:03.795 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.027) 0:01:03.822 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.028) 0:01:03.850 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.022) 0:01:03.873 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.042) 0:01:03.915 ***** 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.049467", "end": "2023-12-21 17:40:14.918485", "rc": 0, "start": "2023-12-21 17:40:14.869018" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_states.yml:126 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.246) 0:01:04.162 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 17:40:14 +0000 (0:00:00.042) 0:01:04.204 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.057) 0:01:04.262 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.048) 0:01:04.310 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.036) 0:01:04.347 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.035) 0:01:04.383 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003223", "end": "2023-12-21 17:40:15.339404", "rc": 0, "start": "2023-12-21 17:40:15.336181" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.200) 0:01:04.583 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.023) 0:01:04.607 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.023) 0:01:04.630 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.045) 0:01:04.676 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.037) 0:01:04.713 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.040) 0:01:04.754 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.053) 0:01:04.807 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.022) 0:01:04.830 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:15 +0000 (0:00:00.021) 0:01:04.852 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:17 +0000 (0:00:01.544) 0:01:06.397 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:18 +0000 (0:00:01.323) 0:01:07.720 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.030) 0:01:07.750 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.026) 0:01:07.776 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.023) 0:01:07.800 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.045) 0:01:07.845 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.023) 0:01:07.869 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.023) 0:01:07.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.026) 0:01:07.918 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.022) 0:01:07.940 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:18 +0000 (0:00:00.022) 0:01:07.963 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.344) 0:01:08.307 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmpee3hw4r8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.299) 0:01:08.606 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.293) 0:01:08.900 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.060) 0:01:08.961 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.027) 0:01:08.988 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.027) 0:01:09.015 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:19 +0000 (0:00:00.024) 0:01:09.040 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.195) 0:01:09.235 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.023) 0:01:09.259 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.037) 0:01:09.296 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.041) 0:01:09.337 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.027) 0:01:09.364 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.022) 0:01:09.387 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:20 +0000 (0:00:00.022) 0:01:09.409 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:21 +0000 (0:00:01.527) 0:01:10.937 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:23 +0000 (0:00:01.294) 0:01:12.231 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:23 +0000 (0:00:00.025) 0:01:12.256 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:23 +0000 (0:00:00.024) 0:01:12.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:23 +0000 (0:00:00.024) 0:01:12.305 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:23 +0000 (0:00:00.046) 0:01:12.351 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:23 +0000 (0:00:00.052) 0:01:12.404 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:23 +0000 (0:00:00.025) 0:01:12.429 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:23 +0000 (0:00:00.027) 0:01:12.456 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:23 +0000 (0:00:00.024) 0:01:12.480 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:23 +0000 (0:00:00.023) 0:01:12.503 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:23 +0000 (0:00:00.348) 0:01:12.852 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmpbaymn3sn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:23 +0000 (0:00:00.295) 0:01:13.147 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.560) 0:01:13.708 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.022) 0:01:13.731 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.024) 0:01:13.755 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.026) 0:01:13.781 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.023) 0:01:13.805 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.191) 0:01:13.996 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.040) 0:01:14.036 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.042) 0:01:14.079 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.027) 0:01:14.106 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.022) 0:01:14.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:24 +0000 (0:00:00.021) 0:01:14.151 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:26 +0000 (0:00:01.534) 0:01:15.685 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:27 +0000 (0:00:01.320) 0:01:17.006 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:27 +0000 (0:00:00.025) 0:01:17.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:27 +0000 (0:00:00.025) 0:01:17.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:27 +0000 (0:00:00.024) 0:01:17.081 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:27 +0000 (0:00:00.045) 0:01:17.126 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:27 +0000 (0:00:00.022) 0:01:17.149 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:27 +0000 (0:00:00.022) 0:01:17.171 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:27 +0000 (0:00:00.026) 0:01:17.197 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.022) 0:01:17.220 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.044) 0:01:17.265 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.343) 0:01:17.608 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmp40avsn7p" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.295) 0:01:17.904 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:28 +0000 (0:00:00.302) 0:01:18.206 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.026) 0:01:18.232 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.026) 0:01:18.259 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.025) 0:01:18.284 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.023) 0:01:18.308 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.191) 0:01:18.499 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.041) 0:01:18.540 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.074) 0:01:18.615 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.046) 0:01:18.662 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.030) 0:01:18.692 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.023) 0:01:18.716 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:40:29 +0000 (0:00:00.022) 0:01:18.739 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:40:31 +0000 (0:00:01.536) 0:01:20.275 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:40:32 +0000 (0:00:01.316) 0:01:21.592 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.023) 0:01:21.616 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.022) 0:01:21.638 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.022) 0:01:21.660 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.044) 0:01:21.704 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.022) 0:01:21.727 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.021) 0:01:21.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.025) 0:01:21.775 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.022) 0:01:21.798 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.022) 0:01:21.820 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:40:32 +0000 (0:00:00.368) 0:01:22.188 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18036tz4s4t2_/tmp71xi8_s2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.298) 0:01:22.487 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.287) 0:01:22.774 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.022) 0:01:22.797 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.023) 0:01:22.820 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.025) 0:01:22.846 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.022) 0:01:22.869 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.190) 0:01:23.060 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.045) 0:01:23.105 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.043) 0:01:23.148 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:40:33 +0000 (0:00:00.025) 0:01:23.174 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.220) 0:01:23.394 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.022) 0:01:23.417 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019501", "end": "2023-12-21 17:40:34.387264", "rc": 1, "start": "2023-12-21 17:40:34.367763" } 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-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.214) 0:01:23.631 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.023) 0:01:23.654 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.023) 0:01:23.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.023) 0:01:23.702 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.023) 0:01:23.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.023) 0:01:23.749 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 17:40:34 +0000 (0:00:00.024) 0:01:23.774 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.932838", "end": "2023-12-21 17:40:35.658770", "rc": 0, "start": "2023-12-21 17:40:34.725932" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 17:40:35 +0000 (0:00:01.129) 0:01:24.903 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 17:40:35 +0000 (0:00:00.023) 0:01:24.927 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 17:40:35 +0000 (0:00:00.047) 0:01:24.975 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 17:40:35 +0000 (0:00:00.026) 0:01:25.002 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 17:40:35 +0000 (0:00:00.024) 0:01:25.026 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 17:40:35 +0000 (0:00:00.042) 0:01:25.068 ***** 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.049604", "end": "2023-12-21 17:40:36.072512", "rc": 0, "start": "2023-12-21 17:40:36.022908" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=333 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Thursday 21 December 2023 17:40:36 +0000 (0:00:00.233) 0:01:25.302 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.26s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.85s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.58s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.51s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---