# 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-weekly-cia_yxeanj/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tests_states_initscripts.yml:5 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.026) 0:00:00.026 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tests_states_initscripts.yml:8 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.804) 0:00:00.830 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/tasks/el_repo_setup.yml:3 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.022) 0:00:00.853 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/el_repo_setup.yml:19 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.336) 0:00:01.189 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/el_repo_setup.yml:24 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.266) 0:00:01.456 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/el_repo_setup.yml:28 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.033) 0:00:01.490 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/el_repo_setup.yml:53 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.025) 0:00:01.516 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/enable_epel.yml:8 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.049) 0:00:01.565 ****** 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-weekly-cia_yxeanj/tests/tasks/enable_epel.yml:24 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.260) 0:00:01.826 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/enable_epel.yml:30 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.015) 0:00:01.842 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/enable_epel.yml:35 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.026) 0:00:01.869 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.245216", "end": "2024-01-13 13:37:57.881264", "rc": 0, "start": "2024-01-13 13:37:57.636048" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/enable_epel.yml:40 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.452) 0:00:02.321 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tests_states_initscripts.yml:10 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.031) 0:00:02.352 ****** 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-weekly-cia_yxeanj/tests/playbooks/tests_states.yml:3 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.038) 0:00:02.391 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tests_states.yml:11 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.594) 0:00:02.985 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tests_states.yml:22 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.011) 0:00:02.997 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.017) 0:00:03.014 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.012) 0:00:03.026 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.040) 0:00:03.067 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.018) 0:00:03.085 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.021) 0:00:03.107 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002877", "end": "2024-01-13 13:37:58.878627", "rc": 0, "start": "2024-01-13 13:37:58.875750" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.194) 0:00:03.302 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.023) 0:00:03.325 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.012) 0:00:03.338 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.022) 0:00:03.360 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008291", "end": "2024-01-13 13:37:59.138196", "rc": 1, "start": "2024-01-13 13:37:59.129905" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.202) 0:00:03.563 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.018) 0:00:03.581 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.198) 0:00:03.779 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.019) 0:00:03.799 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.024) 0:00:03.823 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.040) 0:00:03.864 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.080) 0:00:03.944 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.022) 0:00:03.967 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.035) 0:00:04.002 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.041) 0:00:04.043 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:01 +0000 (0:00:01.714) 0:00:05.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:02 +0000 (0:00:01.468) 0:00:07.227 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.025) 0:00:07.252 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.023) 0:00:07.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.026) 0:00:07.302 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.053) 0:00:07.356 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.036) 0:00:07.392 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.033) 0:00:07.425 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.036) 0:00:07.462 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.027) 0:00:07.490 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.024) 0:00:07.514 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.534) 0:00:08.049 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmp8ntk2yuu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.341) 0:00:08.391 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.516) 0:00:08.907 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.051) 0:00:08.959 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.046) 0:00:09.005 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.052) 0:00:09.058 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.026) 0:00:09.084 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.263) 0:00:09.348 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.025) 0:00:09.373 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.054) 0:00:09.427 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.085) 0:00:09.513 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.033) 0:00:09.546 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153084.4748592, "block_size": 4096, "blocks": 8, "ctime": 1705153084.4748592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533387, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153084.4748592, "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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.254) 0:00:09.801 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.087) 0:00:09.888 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019405", "end": "2024-01-13 13:38:05.710210", "rc": 1, "start": "2024-01-13 13:38:05.690805" } 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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.256) 0:00:10.145 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.049) 0:00:10.194 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002945", "end": "2024-01-13 13:38:05.970680", "rc": 0, "start": "2024-01-13 13:38:05.967735" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.207) 0:00:10.402 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.037) 0:00:10.440 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002682", "end": "2024-01-13 13:38:06.212431", "rc": 0, "start": "2024-01-13 13:38:06.209749" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.205) 0:00:10.645 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.030) 0:00:10.675 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.028) 0:00:10.704 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.037) 0:00:10.741 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.047) 0:00:10.789 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.030) 0:00:10.819 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.026) 0:00:10.846 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.043) 0:00:10.889 ****** 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.038683", "end": "2024-01-13 13:38:06.696474", "rc": 1, "start": "2024-01-13 13:38:06.657791" } 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-weekly-cia_yxeanj/tests/playbooks/tests_states.yml:45 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.236) 0:00:11.126 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.039) 0:00:11.165 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.054) 0:00:11.220 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.064) 0:00:11.284 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.045) 0:00:11.330 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.044) 0:00:11.374 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002994", "end": "2024-01-13 13:38:07.149903", "rc": 0, "start": "2024-01-13 13:38:07.146909" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.208) 0:00:11.583 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.040) 0:00:11.624 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.034) 0:00:11.658 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.085) 0:00:11.744 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006144", "end": "2024-01-13 13:38:07.525398", "rc": 1, "start": "2024-01-13 13:38:07.519254" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.222) 0:00:11.966 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.052) 0:00:12.019 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.215) 0:00:12.234 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.060) 0:00:12.295 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.078) 0:00:12.374 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.100) 0:00:12.474 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.044) 0:00:12.519 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.035) 0:00:12.554 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.039) 0:00:12.594 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.033) 0:00:12.627 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:09 +0000 (0:00:01.600) 0:00:14.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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:11 +0000 (0:00:01.319) 0:00:15.547 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.031) 0:00:15.578 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.025) 0:00:15.604 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.023) 0:00:15.627 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.055) 0:00:15.682 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.023) 0:00:15.706 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.022) 0:00:15.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.026) 0:00:15.755 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.022) 0:00:15.778 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.044) 0:00:15.823 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.350) 0:00:16.173 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmpxwnkl1c0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.334) 0:00:16.508 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.297) 0:00:16.805 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.023) 0:00:16.829 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.026) 0:00:16.855 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.025) 0:00:16.880 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.023) 0:00:16.904 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.197) 0:00:17.101 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.031) 0:00:17.133 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.051) 0:00:17.184 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.086) 0:00:17.271 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.199) 0:00:17.470 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.031) 0:00:17.501 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.045) 0:00:17.547 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.030) 0:00:17.578 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153092.3709495, "block_size": 4096, "blocks": 8, "ctime": 1705153092.3709495, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533387, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153092.3709495, "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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.199) 0:00:17.777 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.028) 0:00:17.805 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019860", "end": "2024-01-13 13:38:13.628915", "rc": 1, "start": "2024-01-13 13:38:13.609055" } 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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.268) 0:00:18.073 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.036) 0:00:18.110 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002859", "end": "2024-01-13 13:38:13.892957", "rc": 0, "start": "2024-01-13 13:38:13.890098" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.221) 0:00:18.331 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.061) 0:00:18.393 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002964", "end": "2024-01-13 13:38:14.196868", "rc": 0, "start": "2024-01-13 13:38:14.193904" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.245) 0:00:18.639 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.072) 0:00:18.711 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.050) 0:00:18.761 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.040) 0:00:18.802 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.046) 0:00:18.849 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.031) 0:00:18.880 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.035) 0:00:18.915 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.069) 0:00:18.984 ****** 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.036392", "end": "2024-01-13 13:38:14.789469", "rc": 1, "start": "2024-01-13 13:38:14.753077" } 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-weekly-cia_yxeanj/tests/playbooks/tests_states.yml:65 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.239) 0:00:19.223 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.045) 0:00:19.269 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.031) 0:00:19.300 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.072) 0:00:19.373 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.044) 0:00:19.417 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.074) 0:00:19.492 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003392", "end": "2024-01-13 13:38:15.265638", "rc": 0, "start": "2024-01-13 13:38:15.262246" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.216) 0:00:19.709 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.035) 0:00:19.744 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.028) 0:00:19.772 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.040) 0:00:19.813 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.045) 0:00:19.858 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.056) 0:00:19.915 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.028) 0:00:19.944 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.023) 0:00:19.968 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.024) 0:00:19.993 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:17 +0000 (0:00:01.582) 0:00:21.575 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:18 +0000 (0:00:01.314) 0:00:22.890 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.028) 0:00:22.919 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.024) 0:00:22.943 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.023) 0:00:22.967 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.055) 0:00:23.023 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.041) 0:00:23.064 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.059) 0:00:23.124 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.029) 0:00:23.153 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.024) 0:00:23.177 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.024) 0:00:23.201 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.396) 0:00:23.598 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmpe96o6n14" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.375) 0:00:23.973 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.292) 0:00:24.266 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.029) 0:00:24.295 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.024) 0:00:24.320 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.047) 0:00:24.367 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.025) 0:00:24.393 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.237) 0:00:24.631 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.036) 0:00:24.667 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.094) 0:00:24.762 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.053) 0:00:24.816 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.053) 0:00:24.869 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.034) 0:00:24.903 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.029) 0:00:24.933 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.049) 0:00:24.982 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:22 +0000 (0:00:01.583) 0:00:26.566 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:23 +0000 (0:00:01.354) 0:00:27.920 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:23 +0000 (0:00:00.028) 0:00:27.948 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:23 +0000 (0:00:00.026) 0:00:27.975 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:23 +0000 (0:00:00.024) 0:00:28.000 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:23 +0000 (0:00:00.060) 0:00:28.060 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:23 +0000 (0:00:00.033) 0:00:28.093 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:23 +0000 (0:00:00.030) 0:00:28.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:23 +0000 (0:00:00.034) 0:00:28.158 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:23 +0000 (0:00:00.027) 0:00:28.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:23 +0000 (0:00:00.039) 0:00:28.225 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:24 +0000 (0:00:00.411) 0:00:28.636 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmpy2chvolp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:24 +0000 (0:00:00.306) 0:00:28.943 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:25 +0000 (0:00:00.566) 0:00:29.509 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:25 +0000 (0:00:00.026) 0:00:29.535 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:25 +0000 (0:00:00.034) 0:00:29.569 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:25 +0000 (0:00:00.029) 0:00:29.599 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:25 +0000 (0:00:00.041) 0:00:29.641 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:38:25 +0000 (0:00:00.216) 0:00:29.858 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 13:38:25 +0000 (0:00:00.056) 0:00:29.914 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:38:25 +0000 (0:00:00.041) 0:00:29.955 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153104.9823556, "block_size": 4096, "blocks": 0, "ctime": 1705153104.9823556, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36023, "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": 1705153104.9823556, "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-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 13:38:25 +0000 (0:00:00.215) 0:00:30.170 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:38:25 +0000 (0:00:00.091) 0:00:30.262 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:38:25 +0000 (0:00:00.071) 0:00:30.334 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:38:25 +0000 (0:00:00.041) 0:00:30.375 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153104.8030913, "block_size": 4096, "blocks": 8, "ctime": 1705153099.8330345, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533387, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153099.8330345, "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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:38:26 +0000 (0:00:00.225) 0:00:30.601 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:38:26 +0000 (0:00:00.030) 0:00:30.631 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019884", "end": "2024-01-13 13:38:26.446468", "rc": 1, "start": "2024-01-13 13:38:26.426584" } 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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:38:26 +0000 (0:00:00.247) 0:00:30.879 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:38:26 +0000 (0:00:00.025) 0:00:30.905 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002981", "end": "2024-01-13 13:38:26.679830", "rc": 0, "start": "2024-01-13 13:38:26.676849" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:38:26 +0000 (0:00:00.206) 0:00:31.111 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:38:26 +0000 (0:00:00.030) 0:00:31.142 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002949", "end": "2024-01-13 13:38:26.941434", "rc": 0, "start": "2024-01-13 13:38:26.938485" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:38:26 +0000 (0:00:00.242) 0:00:31.384 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.034) 0:00:31.419 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.033) 0:00:31.453 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.037) 0:00:31.490 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.078) 0:00:31.569 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.041) 0:00:31.610 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.063) 0:00:31.674 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.083) 0:00:31.757 ****** 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.050363", "end": "2024-01-13 13:38:27.577801", "rc": 0, "start": "2024-01-13 13:38:27.527438" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tests_states.yml:83 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.291) 0:00:32.049 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.042) 0:00:32.091 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.026) 0:00:32.118 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.047) 0:00:32.165 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.038) 0:00:32.204 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.037) 0:00:32.242 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002866", "end": "2024-01-13 13:38:28.021124", "rc": 0, "start": "2024-01-13 13:38:28.018258" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.209) 0:00:32.452 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.061) 0:00:32.513 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.026) 0:00:32.540 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.062) 0:00:32.602 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.058) 0:00:32.661 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.061) 0:00:32.723 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.034) 0:00:32.757 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.026) 0:00:32.783 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.025) 0:00:32.808 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:30 +0000 (0:00:01.620) 0:00:34.429 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:31 +0000 (0:00:01.353) 0:00:35.783 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.066) 0:00:35.850 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.040) 0:00:35.890 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.042) 0:00:35.933 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.066) 0:00:35.999 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.024) 0:00:36.024 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.056) 0:00:36.081 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.048) 0:00:36.130 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.038) 0:00:36.168 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.055) 0:00:36.224 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:32 +0000 (0:00:00.390) 0:00:36.615 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmp25txkhsd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:32 +0000 (0:00:00.427) 0:00:37.042 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:32 +0000 (0:00:00.304) 0:00:37.346 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:32 +0000 (0:00:00.027) 0:00:37.374 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:33 +0000 (0:00:00.051) 0:00:37.425 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:33 +0000 (0:00:00.027) 0:00:37.453 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:33 +0000 (0:00:00.025) 0:00:37.478 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:38:33 +0000 (0:00:00.208) 0:00:37.686 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:38:33 +0000 (0:00:00.045) 0:00:37.732 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:33 +0000 (0:00:00.066) 0:00:37.798 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:33 +0000 (0:00:00.095) 0:00:37.894 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:33 +0000 (0:00:00.148) 0:00:38.043 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:33 +0000 (0:00:00.040) 0:00:38.083 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:33 +0000 (0:00:00.049) 0:00:38.133 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:35 +0000 (0:00:01.628) 0:00:39.761 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:36 +0000 (0:00:01.311) 0:00:41.073 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.025) 0:00:41.099 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.054) 0:00:41.153 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.024) 0:00:41.178 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.067) 0:00:41.246 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.056) 0:00:41.302 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.030) 0:00:41.333 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.064) 0:00:41.397 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.025) 0:00:41.423 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.048) 0:00:41.471 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.385) 0:00:41.857 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmp5sly6m_t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.334) 0:00:42.192 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.597) 0:00:42.789 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.045) 0:00:42.835 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.030) 0:00:42.866 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.033) 0:00:42.899 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.062) 0:00:42.962 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.212) 0:00:43.175 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.069) 0:00:43.245 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.049) 0:00:43.294 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.058) 0:00:43.353 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.033) 0:00:43.386 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.037) 0:00:43.424 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.027) 0:00:43.452 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:40 +0000 (0:00:01.583) 0:00:45.035 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:41 +0000 (0:00:01.300) 0:00:46.336 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:41 +0000 (0:00:00.025) 0:00:46.361 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:41 +0000 (0:00:00.023) 0:00:46.385 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:42 +0000 (0:00:00.024) 0:00:46.409 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:42 +0000 (0:00:00.045) 0:00:46.455 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:42 +0000 (0:00:00.022) 0:00:46.478 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:42 +0000 (0:00:00.023) 0:00:46.501 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:42 +0000 (0:00:00.053) 0:00:46.554 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:42 +0000 (0:00:00.023) 0:00:46.578 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:42 +0000 (0:00:00.026) 0:00:46.604 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:42 +0000 (0:00:00.345) 0:00:46.950 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmpz24uod6x" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:42 +0000 (0:00:00.305) 0:00:47.256 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.321) 0:00:47.577 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.037) 0:00:47.615 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.041) 0:00:47.656 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.057) 0:00:47.714 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.027) 0:00:47.742 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.229) 0:00:47.971 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.065) 0:00:48.037 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.093) 0:00:48.130 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153118.2447739, "block_size": 4096, "blocks": 0, "ctime": 1705153118.2447739, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36154, "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": 1705153118.2447739, "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-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.217) 0:00:48.348 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.029) 0:00:48.377 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.082) 0:00:48.459 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.080) 0:00:48.540 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.214) 0:00:48.754 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.023) 0:00:48.777 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019848", "end": "2024-01-13 13:38:44.564955", "rc": 1, "start": "2024-01-13 13:38:44.545107" } 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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.236) 0:00:49.014 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.030) 0:00:49.044 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.024) 0:00:49.069 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.032) 0:00:49.101 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.060) 0:00:49.162 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.082) 0:00:49.244 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.035) 0:00:49.280 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.035) 0:00:49.315 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.049) 0:00:49.364 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.073) 0:00:49.438 ****** 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.047101", "end": "2024-01-13 13:38:45.254695", "rc": 0, "start": "2024-01-13 13:38:45.207594" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tests_states.yml:103 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.257) 0:00:49.695 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.040) 0:00:49.735 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.031) 0:00:49.766 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.078) 0:00:49.844 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.091) 0:00:49.936 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.042) 0:00:49.978 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002884", "end": "2024-01-13 13:38:45.767588", "rc": 0, "start": "2024-01-13 13:38:45.764704" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.226) 0:00:50.205 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.074) 0:00:50.279 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.026) 0:00:50.306 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.050) 0:00:50.356 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.041) 0:00:50.398 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.064) 0:00:50.463 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.037) 0:00:50.501 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.027) 0:00:50.528 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.050) 0:00:50.579 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:47 +0000 (0:00:01.662) 0:00:52.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:49 +0000 (0:00:01.411) 0:00:53.653 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:49 +0000 (0:00:00.025) 0:00:53.678 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:49 +0000 (0:00:00.036) 0:00:53.715 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:49 +0000 (0:00:00.029) 0:00:53.744 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:49 +0000 (0:00:00.072) 0:00:53.817 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:49 +0000 (0:00:00.027) 0:00:53.844 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:49 +0000 (0:00:00.026) 0:00:53.870 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:49 +0000 (0:00:00.029) 0:00:53.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:49 +0000 (0:00:00.025) 0:00:53.926 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:49 +0000 (0:00:00.034) 0:00:53.960 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:49 +0000 (0:00:00.408) 0:00:54.369 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmp3208omjl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:50 +0000 (0:00:00.325) 0:00:54.694 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:50 +0000 (0:00:00.343) 0:00:55.038 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:50 +0000 (0:00:00.063) 0:00:55.102 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:50 +0000 (0:00:00.039) 0:00:55.141 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:50 +0000 (0:00:00.029) 0:00:55.170 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:50 +0000 (0:00:00.037) 0:00:55.208 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.226) 0:00:55.434 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.041) 0:00:55.476 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.062) 0:00:55.538 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.047) 0:00:55.586 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.030) 0:00:55.617 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.061) 0:00:55.679 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.033) 0:00:55.712 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:52 +0000 (0:00:01.594) 0:00:57.306 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:54 +0000 (0:00:01.334) 0:00:58.641 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:54 +0000 (0:00:00.058) 0:00:58.700 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:54 +0000 (0:00:00.046) 0:00:58.746 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:54 +0000 (0:00:00.029) 0:00:58.775 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:54 +0000 (0:00:00.083) 0:00:58.859 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:54 +0000 (0:00:00.094) 0:00:58.954 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:54 +0000 (0:00:00.061) 0:00:59.015 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:54 +0000 (0:00:00.028) 0:00:59.044 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:54 +0000 (0:00:00.031) 0:00:59.075 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:54 +0000 (0:00:00.025) 0:00:59.101 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:55 +0000 (0:00:00.371) 0:00:59.472 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmptu0xmjlw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:55 +0000 (0:00:00.396) 0:00:59.868 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.575) 0:01:00.444 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.026) 0:01:00.470 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.035) 0:01:00.506 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.081) 0:01:00.587 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.032) 0:01:00.620 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.237) 0:01:00.857 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.091) 0:01:00.948 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.048) 0:01:00.997 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.035) 0:01:01.033 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.026) 0:01:01.060 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.050) 0:01:01.111 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:58 +0000 (0:00:01.585) 0:01:02.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:59 +0000 (0:00:01.349) 0:01:04.045 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.029) 0:01:04.075 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.044) 0:01:04.119 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.024) 0:01:04.143 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.050) 0:01:04.194 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.028) 0:01:04.223 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.024) 0:01:04.247 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.043) 0:01:04.290 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.024) 0:01:04.315 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.040) 0:01:04.356 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:00 +0000 (0:00:00.404) 0:01:04.760 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmp8zj_bqs1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:00 +0000 (0:00:00.341) 0:01:05.102 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:01 +0000 (0:00:00.340) 0:01:05.443 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:01 +0000 (0:00:00.030) 0:01:05.473 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:01 +0000 (0:00:00.038) 0:01:05.512 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:01 +0000 (0:00:00.033) 0:01:05.545 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:01 +0000 (0:00:00.028) 0:01:05.573 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:39:01 +0000 (0:00:00.193) 0:01:05.766 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:39:01 +0000 (0:00:00.048) 0:01:05.815 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:01 +0000 (0:00:00.053) 0:01:05.869 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:01 +0000 (0:00:00.052) 0:01:05.922 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:01 +0000 (0:00:00.043) 0:01:05.965 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:01 +0000 (0:00:00.025) 0:01:05.990 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:01 +0000 (0:00:00.042) 0:01:06.033 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:03 +0000 (0:00:01.628) 0:01:07.661 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:04 +0000 (0:00:01.300) 0:01:08.961 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.031) 0:01:08.993 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.028) 0:01:09.022 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.026) 0:01:09.049 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.074) 0:01:09.123 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.025) 0:01:09.148 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.024) 0:01:09.172 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.033) 0:01:09.205 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.031) 0:01:09.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.033) 0:01:09.271 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:05 +0000 (0:00:00.377) 0:01:09.648 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmpgoty9905" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:05 +0000 (0:00:00.381) 0:01:10.030 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:05 +0000 (0:00:00.312) 0:01:10.342 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:05 +0000 (0:00:00.023) 0:01:10.366 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:05 +0000 (0:00:00.025) 0:01:10.391 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.025) 0:01:10.416 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.026) 0:01:10.442 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.199) 0:01:10.642 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.081) 0:01:10.723 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.051) 0:01:10.774 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.035) 0:01:10.810 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.206) 0:01:11.016 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.023) 0:01:11.040 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019664", "end": "2024-01-13 13:39:06.825076", "rc": 1, "start": "2024-01-13 13:39:06.805412" } 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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.218) 0:01:11.258 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.025) 0:01:11.283 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.026) 0:01:11.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.027) 0:01:11.337 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:39:06 +0000 (0:00:00.031) 0:01:11.368 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.033) 0:01:11.402 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.027) 0:01:11.429 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.033) 0:01:11.462 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.054) 0:01:11.517 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.043) 0:01:11.561 ****** 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.043459", "end": "2024-01-13 13:39:07.372882", "rc": 0, "start": "2024-01-13 13:39:07.329423" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tests_states.yml:126 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.243) 0:01:11.805 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.041) 0:01:11.846 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.026) 0:01:11.873 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.049) 0:01:11.922 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.038) 0:01:11.960 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.037) 0:01:11.997 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002924", "end": "2024-01-13 13:39:07.768396", "rc": 0, "start": "2024-01-13 13:39:07.765472" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.200) 0:01:12.198 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.026) 0:01:12.225 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.028) 0:01:12.253 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.090) 0:01:12.343 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:07 +0000 (0:00:00.044) 0:01:12.388 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:08 +0000 (0:00:00.046) 0:01:12.434 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:08 +0000 (0:00:00.030) 0:01:12.465 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:08 +0000 (0:00:00.023) 0:01:12.489 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:08 +0000 (0:00:00.024) 0:01:12.514 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:09 +0000 (0:00:01.581) 0:01:14.095 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:11 +0000 (0:00:01.359) 0:01:15.455 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:11 +0000 (0:00:00.025) 0:01:15.480 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:11 +0000 (0:00:00.024) 0:01:15.505 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:11 +0000 (0:00:00.024) 0:01:15.529 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:11 +0000 (0:00:00.046) 0:01:15.576 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:11 +0000 (0:00:00.023) 0:01:15.599 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:11 +0000 (0:00:00.023) 0:01:15.623 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:11 +0000 (0:00:00.026) 0:01:15.649 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:11 +0000 (0:00:00.023) 0:01:15.673 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:11 +0000 (0:00:00.023) 0:01:15.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:11 +0000 (0:00:00.347) 0:01:16.043 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmpupv2fe0b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:11 +0000 (0:00:00.306) 0:01:16.349 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:12 +0000 (0:00:00.311) 0:01:16.661 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:12 +0000 (0:00:00.026) 0:01:16.688 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:12 +0000 (0:00:00.037) 0:01:16.726 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:12 +0000 (0:00:00.048) 0:01:16.774 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:12 +0000 (0:00:00.023) 0:01:16.797 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:39:12 +0000 (0:00:00.194) 0:01:16.992 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:39:12 +0000 (0:00:00.024) 0:01:17.016 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:12 +0000 (0:00:00.038) 0:01:17.055 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:12 +0000 (0:00:00.044) 0:01:17.099 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:12 +0000 (0:00:00.067) 0:01:17.166 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:12 +0000 (0:00:00.030) 0:01:17.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:12 +0000 (0:00:00.035) 0:01:17.232 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:14 +0000 (0:00:01.589) 0:01:18.821 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:15 +0000 (0:00:01.327) 0:01:20.149 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.025) 0:01:20.174 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.022) 0:01:20.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.023) 0:01:20.220 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.046) 0:01:20.267 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.023) 0:01:20.290 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.025) 0:01:20.315 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.029) 0:01:20.345 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.023) 0:01:20.368 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.029) 0:01:20.398 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.376) 0:01:20.774 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmp2z2plbh9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.318) 0:01:21.093 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:17 +0000 (0:00:00.568) 0:01:21.662 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:17 +0000 (0:00:00.070) 0:01:21.732 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:17 +0000 (0:00:00.033) 0:01:21.766 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:17 +0000 (0:00:00.027) 0:01:21.794 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:17 +0000 (0:00:00.024) 0:01:21.818 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:39:17 +0000 (0:00:00.197) 0:01:22.015 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:17 +0000 (0:00:00.041) 0:01:22.057 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:17 +0000 (0:00:00.045) 0:01:22.102 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:17 +0000 (0:00:00.039) 0:01:22.141 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:17 +0000 (0:00:00.024) 0:01:22.166 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:17 +0000 (0:00:00.035) 0:01:22.201 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:19 +0000 (0:00:01.618) 0:01:23.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:20 +0000 (0:00:01.310) 0:01:25.130 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.041) 0:01:25.172 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.042) 0:01:25.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.030) 0:01:25.245 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.052) 0:01:25.298 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.023) 0:01:25.321 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.041) 0:01:25.363 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.064) 0:01:25.427 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.029) 0:01:25.457 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.036) 0:01:25.494 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.391) 0:01:25.885 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmpeotry22j" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.302) 0:01:26.188 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:22 +0000 (0:00:00.316) 0:01:26.504 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:22 +0000 (0:00:00.026) 0:01:26.531 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:22 +0000 (0:00:00.036) 0:01:26.567 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:22 +0000 (0:00:00.032) 0:01:26.599 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:22 +0000 (0:00:00.022) 0:01:26.622 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:39:22 +0000 (0:00:00.202) 0:01:26.825 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:39:22 +0000 (0:00:00.045) 0:01:26.870 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:22 +0000 (0:00:00.069) 0:01:26.940 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:22 +0000 (0:00:00.042) 0:01:26.982 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:22 +0000 (0:00:00.028) 0:01:27.011 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:22 +0000 (0:00:00.023) 0:01:27.035 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:22 +0000 (0:00:00.024) 0:01:27.060 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:24 +0000 (0:00:01.578) 0:01:28.638 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:25 +0000 (0:00:01.374) 0:01:30.013 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.040) 0:01:30.053 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.031) 0:01:30.084 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.025) 0:01:30.110 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.057) 0:01:30.167 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.023) 0:01:30.191 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.024) 0:01:30.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.027) 0:01:30.243 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.023) 0:01:30.266 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.026) 0:01:30.293 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:26 +0000 (0:00:00.361) 0:01:30.654 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1822540aupx1b/tmp3jrtckjd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:26 +0000 (0:00:00.301) 0:01:30.955 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:26 +0000 (0:00:00.289) 0:01:31.244 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:26 +0000 (0:00:00.037) 0:01:31.282 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:26 +0000 (0:00:00.026) 0:01:31.309 ****** 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-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:26 +0000 (0:00:00.029) 0:01:31.338 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:26 +0000 (0:00:00.040) 0:01:31.378 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.212) 0:01:31.591 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.059) 0:01:31.650 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.043) 0:01:31.693 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.025) 0:01:31.719 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.241) 0:01:31.960 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.026) 0:01:31.987 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019884", "end": "2024-01-13 13:39:27.775882", "rc": 1, "start": "2024-01-13 13:39:27.755998" } 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-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.219) 0:01:32.206 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.025) 0:01:32.232 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.025) 0:01:32.257 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.027) 0:01:32.285 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.026) 0:01:32.311 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.028) 0:01:32.340 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 13 January 2024 13:39:27 +0000 (0:00:00.028) 0:01:32.368 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.937887", "end": "2024-01-13 13:39:29.076925", "rc": 0, "start": "2024-01-13 13:39:28.139038" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 13 January 2024 13:39:29 +0000 (0:00:01.142) 0:01:33.510 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.027) 0:01:33.538 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.057) 0:01:33.596 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.029) 0:01:33.625 ****** 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-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.027) 0:01:33.653 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.049) 0:01:33.702 ****** 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.047628", "end": "2024-01-13 13:39:29.526768", "rc": 0, "start": "2024-01-13 13:39:29.479140" } 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 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.247) 0:01:33.950 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.31s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 2.08s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.78s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Configure networking connection profiles --- 1.77s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 1.55s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---