# 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-route_typemv6fs8x1/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/tests_states_initscripts.yml:5 Wednesday 10 January 2024 18:55:09 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/tests_states_initscripts.yml:8 Wednesday 10 January 2024 18:55:10 +0000 (0:00:00.701) 0:00:00.713 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 18:55:10 +0000 (0:00:00.021) 0:00:00.734 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 18:55:10 +0000 (0:00:00.354) 0:00:01.088 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 18:55:11 +0000 (0:00:00.285) 0:00:01.373 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 18:55:11 +0000 (0:00:00.025) 0:00:01.399 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 18:55:11 +0000 (0:00:00.018) 0:00:01.417 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 18:55:11 +0000 (0:00:00.031) 0:00:01.449 ***** 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-route_typemv6fs8x1/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 18:55:11 +0000 (0:00:00.263) 0:00:01.713 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 18:55:11 +0000 (0:00:00.011) 0:00:01.724 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 18:55:11 +0000 (0:00:00.011) 0:00:01.735 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.251392", "end": "2024-01-10 18:55:11.869510", "rc": 0, "start": "2024-01-10 18:55:11.618118" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 18:55:11 +0000 (0:00:00.457) 0:00:02.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tests_states_initscripts.yml:10 Wednesday 10 January 2024 18:55:11 +0000 (0:00:00.009) 0:00:02.203 ***** 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-route_typemv6fs8x1/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 18:55:11 +0000 (0:00:00.024) 0:00:02.227 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 18:55:12 +0000 (0:00:00.602) 0:00:02.830 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 18:55:12 +0000 (0:00:00.011) 0:00:02.841 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:55:12 +0000 (0:00:00.016) 0:00:02.858 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:55:12 +0000 (0:00:00.011) 0:00:02.869 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:55:12 +0000 (0:00:00.035) 0:00:02.905 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:55:12 +0000 (0:00:00.015) 0:00:02.920 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:55:12 +0000 (0:00:00.013) 0:00:02.933 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003422", "end": "2024-01-10 18:55:12.811797", "rc": 0, "start": "2024-01-10 18:55:12.808375" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:55:12 +0000 (0:00:00.190) 0:00:03.124 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:55:12 +0000 (0:00:00.012) 0:00:03.136 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:55:12 +0000 (0:00:00.012) 0:00:03.149 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 18:55:12 +0000 (0:00:00.021) 0:00:03.171 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008556", "end": "2024-01-10 18:55:13.053549", "rc": 1, "start": "2024-01-10 18:55:13.044993" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:55:13 +0000 (0:00:00.195) 0:00:03.366 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:55:13 +0000 (0:00:00.015) 0:00:03.381 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:55:13 +0000 (0:00:00.216) 0:00:03.598 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:55:13 +0000 (0:00:00.013) 0:00:03.611 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:55:13 +0000 (0:00:00.018) 0:00:03.630 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:55:13 +0000 (0:00:00.039) 0:00:03.669 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:55:13 +0000 (0:00:00.089) 0:00:03.759 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:55:13 +0000 (0:00:00.052) 0:00:03.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:55:13 +0000 (0:00:00.016) 0:00:03.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:55:13 +0000 (0:00:00.033) 0:00:03.861 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:55:15 +0000 (0:00:01.700) 0:00:05.562 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:55:16 +0000 (0:00:01.472) 0:00:07.034 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:55:16 +0000 (0:00:00.023) 0:00:07.057 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:55:16 +0000 (0:00:00.021) 0:00:07.078 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:55:16 +0000 (0:00:00.021) 0:00:07.100 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:55:16 +0000 (0:00:00.042) 0:00:07.143 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:55:16 +0000 (0:00:00.022) 0:00:07.166 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:55:16 +0000 (0:00:00.022) 0:00:07.188 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:55:16 +0000 (0:00:00.025) 0:00:07.213 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:55:16 +0000 (0:00:00.022) 0:00:07.236 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:55:16 +0000 (0:00:00.022) 0:00:07.258 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:55:17 +0000 (0:00:00.510) 0:00:07.769 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmpumtv__dg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:55:17 +0000 (0:00:00.425) 0:00:08.194 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:55:18 +0000 (0:00:00.468) 0:00:08.663 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:55:18 +0000 (0:00:00.057) 0:00:08.720 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:55:18 +0000 (0:00:00.034) 0:00:08.755 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:55:18 +0000 (0:00:00.050) 0:00:08.805 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:55:18 +0000 (0:00:00.025) 0:00:08.831 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:55:18 +0000 (0:00:00.303) 0:00:09.135 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:55:18 +0000 (0:00:00.030) 0:00:09.166 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:55:18 +0000 (0:00:00.045) 0:00:09.212 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:55:19 +0000 (0:00:00.083) 0:00:09.295 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:55:19 +0000 (0:00:00.042) 0:00:09.338 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912918.3124626, "block_size": 4096, "blocks": 8, "ctime": 1704912918.3124626, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6065222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704912918.3124626, "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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:55:19 +0000 (0:00:00.237) 0:00:09.575 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:55:19 +0000 (0:00:00.049) 0:00:09.625 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022147", "end": "2024-01-10 18:55:19.526397", "rc": 1, "start": "2024-01-10 18:55:19.504250" } 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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:55:19 +0000 (0:00:00.252) 0:00:09.877 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:55:19 +0000 (0:00:00.025) 0:00:09.903 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003687", "end": "2024-01-10 18:55:19.786454", "rc": 0, "start": "2024-01-10 18:55:19.782767" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:55:19 +0000 (0:00:00.209) 0:00:10.112 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:55:19 +0000 (0:00:00.034) 0:00:10.146 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003826", "end": "2024-01-10 18:55:20.057821", "rc": 0, "start": "2024-01-10 18:55:20.053995" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.239) 0:00:10.386 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.029) 0:00:10.415 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.027) 0:00:10.443 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.027) 0:00:10.471 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.025) 0:00:10.496 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.029) 0:00:10.525 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.045) 0:00:10.571 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.064) 0:00:10.635 ***** 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.040453", "end": "2024-01-10 18:55:20.570420", "rc": 1, "start": "2024-01-10 18:55:20.529967" } 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-route_typemv6fs8x1/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.259) 0:00:10.895 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.064) 0:00:10.959 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.026) 0:00:10.985 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.058) 0:00:11.044 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.038) 0:00:11.082 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:55:20 +0000 (0:00:00.037) 0:00:11.120 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003416", "end": "2024-01-10 18:55:21.000610", "rc": 0, "start": "2024-01-10 18:55:20.997194" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.218) 0:00:11.338 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.038) 0:00:11.377 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.031) 0:00:11.409 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.045) 0:00:11.454 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006976", "end": "2024-01-10 18:55:21.338899", "rc": 1, "start": "2024-01-10 18:55:21.331923" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.207) 0:00:11.662 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.038) 0:00:11.700 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.199) 0:00:11.900 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.025) 0:00:11.925 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.040) 0:00:11.965 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.043) 0:00:12.009 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.047) 0:00:12.056 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.036) 0:00:12.093 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.025) 0:00:12.118 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:55:21 +0000 (0:00:00.024) 0:00:12.143 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:55:23 +0000 (0:00:01.610) 0:00:13.754 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:55:24 +0000 (0:00:01.359) 0:00:15.114 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:55:24 +0000 (0:00:00.024) 0:00:15.139 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:55:24 +0000 (0:00:00.034) 0:00:15.173 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:55:24 +0000 (0:00:00.025) 0:00:15.199 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:55:24 +0000 (0:00:00.050) 0:00:15.249 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:55:24 +0000 (0:00:00.040) 0:00:15.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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:55:25 +0000 (0:00:00.040) 0:00:15.330 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:55:25 +0000 (0:00:00.037) 0:00:15.368 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:55:25 +0000 (0:00:00.053) 0:00:15.421 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:55:25 +0000 (0:00:00.026) 0:00:15.447 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:55:25 +0000 (0:00:00.375) 0:00:15.823 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmpou7wzpq_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:55:25 +0000 (0:00:00.356) 0:00:16.179 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:55:26 +0000 (0:00:00.302) 0:00:16.482 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:55:26 +0000 (0:00:00.027) 0:00:16.509 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:55:26 +0000 (0:00:00.025) 0:00:16.535 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:55:26 +0000 (0:00:00.027) 0:00:16.563 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:55:26 +0000 (0:00:00.025) 0:00:16.588 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 18:55:26 +0000 (0:00:00.237) 0:00:16.826 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:55:26 +0000 (0:00:00.023) 0:00:16.850 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:55:26 +0000 (0:00:00.124) 0:00:16.975 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:55:26 +0000 (0:00:00.042) 0:00:17.017 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:55:26 +0000 (0:00:00.232) 0:00:17.249 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:55:27 +0000 (0:00:00.067) 0:00:17.317 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:55:27 +0000 (0:00:00.056) 0:00:17.373 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:55:27 +0000 (0:00:00.030) 0:00:17.404 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912926.1534612, "block_size": 4096, "blocks": 8, "ctime": 1704912926.1534612, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6065222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704912926.1534612, "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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:55:27 +0000 (0:00:00.229) 0:00:17.633 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:55:27 +0000 (0:00:00.025) 0:00:17.658 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020510", "end": "2024-01-10 18:55:27.557584", "rc": 1, "start": "2024-01-10 18:55:27.537074" } 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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:55:27 +0000 (0:00:00.233) 0:00:17.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:55:27 +0000 (0:00:00.049) 0:00:17.941 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003716", "end": "2024-01-10 18:55:27.828494", "rc": 0, "start": "2024-01-10 18:55:27.824778" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:55:27 +0000 (0:00:00.214) 0:00:18.155 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:55:27 +0000 (0:00:00.037) 0:00:18.192 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003171", "end": "2024-01-10 18:55:28.105960", "rc": 0, "start": "2024-01-10 18:55:28.102789" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.256) 0:00:18.449 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.031) 0:00:18.480 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.027) 0:00:18.508 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.024) 0:00:18.533 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.023) 0:00:18.557 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.021) 0:00:18.578 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.026) 0:00:18.605 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.050) 0:00:18.655 ***** 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.039973", "end": "2024-01-10 18:55:28.572254", "rc": 1, "start": "2024-01-10 18:55:28.532281" } 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-route_typemv6fs8x1/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.240) 0:00:18.896 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.037) 0:00:18.934 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.022) 0:00:18.956 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.046) 0:00:19.002 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.059) 0:00:19.062 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:55:28 +0000 (0:00:00.035) 0:00:19.097 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003619", "end": "2024-01-10 18:55:28.976489", "rc": 0, "start": "2024-01-10 18:55:28.972870" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:55:29 +0000 (0:00:00.202) 0:00:19.300 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:55:29 +0000 (0:00:00.023) 0:00:19.324 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:55:29 +0000 (0:00:00.024) 0:00:19.348 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:55:29 +0000 (0:00:00.039) 0:00:19.388 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:55:29 +0000 (0:00:00.038) 0:00:19.426 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:55:29 +0000 (0:00:00.041) 0:00:19.467 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:55:29 +0000 (0:00:00.028) 0:00:19.496 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:55:29 +0000 (0:00:00.021) 0:00:19.518 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:55:29 +0000 (0:00:00.023) 0:00:19.541 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:55:30 +0000 (0:00:01.608) 0:00:21.150 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:55:32 +0000 (0:00:01.310) 0:00:22.460 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:55:32 +0000 (0:00:00.024) 0:00:22.484 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:55:32 +0000 (0:00:00.022) 0:00:22.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:55:32 +0000 (0:00:00.047) 0:00:22.554 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:55:32 +0000 (0:00:00.069) 0:00:22.623 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:55:32 +0000 (0:00:00.047) 0:00:22.671 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:55:32 +0000 (0:00:00.037) 0:00:22.708 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:55:32 +0000 (0:00:00.032) 0:00:22.741 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:55:32 +0000 (0:00:00.024) 0:00:22.766 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:55:32 +0000 (0:00:00.022) 0:00:22.789 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:55:32 +0000 (0:00:00.383) 0:00:23.172 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmpybrar_k3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:55:33 +0000 (0:00:00.343) 0:00:23.516 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:55:33 +0000 (0:00:00.341) 0:00:23.857 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:55:33 +0000 (0:00:00.068) 0:00:23.926 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:55:33 +0000 (0:00:00.073) 0:00:24.000 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:55:33 +0000 (0:00:00.044) 0:00:24.045 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:55:33 +0000 (0:00:00.051) 0:00:24.096 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:55:34 +0000 (0:00:00.262) 0:00:24.359 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:55:34 +0000 (0:00:00.072) 0:00:24.431 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:55:34 +0000 (0:00:00.089) 0:00:24.520 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:55:34 +0000 (0:00:00.056) 0:00:24.577 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:55:34 +0000 (0:00:00.048) 0:00:24.626 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:55:34 +0000 (0:00:00.029) 0:00:24.655 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:55:34 +0000 (0:00:00.043) 0:00:24.699 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:55:34 +0000 (0:00:00.023) 0:00:24.722 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:55:36 +0000 (0:00:01.597) 0:00:26.320 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:55:37 +0000 (0:00:01.332) 0:00:27.652 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.040) 0:00:27.693 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.067) 0:00:27.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.037) 0:00:27.798 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.082) 0:00:27.881 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.034) 0:00:27.915 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.028) 0:00:27.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.073) 0:00:28.017 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.030) 0:00:28.047 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.034) 0:00:28.082 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:55:38 +0000 (0:00:00.376) 0:00:28.459 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmplybiuum1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:55:38 +0000 (0:00:00.330) 0:00:28.789 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:55:39 +0000 (0:00:00.599) 0:00:29.389 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:55:39 +0000 (0:00:00.028) 0:00:29.417 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:55:39 +0000 (0:00:00.037) 0:00:29.455 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:55:39 +0000 (0:00:00.026) 0:00:29.481 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:55:39 +0000 (0:00:00.025) 0:00:29.507 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:55:39 +0000 (0:00:00.197) 0:00:29.704 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:55:39 +0000 (0:00:00.093) 0:00:29.798 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:55:39 +0000 (0:00:00.039) 0:00:29.838 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912938.941322, "block_size": 4096, "blocks": 0, "ctime": 1704912938.941322, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37617, "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": 1704912938.941322, "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-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:55:39 +0000 (0:00:00.206) 0:00:30.044 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:55:39 +0000 (0:00:00.027) 0:00:30.072 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:55:39 +0000 (0:00:00.040) 0:00:30.112 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:55:39 +0000 (0:00:00.024) 0:00:30.136 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912938.7554588, "block_size": 4096, "blocks": 8, "ctime": 1704912933.5014598, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6065222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704912933.5014598, "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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.212) 0:00:30.349 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.040) 0:00:30.390 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021078", "end": "2024-01-10 18:55:40.306313", "rc": 1, "start": "2024-01-10 18:55:40.285235" } 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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.240) 0:00:30.630 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.026) 0:00:30.657 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003332", "end": "2024-01-10 18:55:40.539796", "rc": 0, "start": "2024-01-10 18:55:40.536464" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.207) 0:00:30.864 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.027) 0:00:30.892 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003214", "end": "2024-01-10 18:55:40.773761", "rc": 0, "start": "2024-01-10 18:55:40.770547" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.219) 0:00:31.111 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.031) 0:00:31.142 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.030) 0:00:31.173 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.031) 0:00:31.205 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.028) 0:00:31.233 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.028) 0:00:31.262 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:55:40 +0000 (0:00:00.025) 0:00:31.288 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.050) 0:00:31.339 ***** 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.051389", "end": "2024-01-10 18:55:41.271693", "rc": 0, "start": "2024-01-10 18:55:41.220304" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.258) 0:00:31.597 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.037) 0:00:31.635 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.023) 0:00:31.658 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.053) 0:00:31.711 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.090) 0:00:31.802 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.041) 0:00:31.844 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003502", "end": "2024-01-10 18:55:41.748033", "rc": 0, "start": "2024-01-10 18:55:41.744531" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.249) 0:00:32.093 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.053) 0:00:32.147 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.039) 0:00:32.186 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.050) 0:00:32.237 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.039) 0:00:32.276 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:55:42 +0000 (0:00:00.041) 0:00:32.317 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:55:42 +0000 (0:00:00.028) 0:00:32.345 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:55:42 +0000 (0:00:00.022) 0:00:32.368 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:55:42 +0000 (0:00:00.024) 0:00:32.393 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:55:43 +0000 (0:00:01.602) 0:00:33.995 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:55:45 +0000 (0:00:01.337) 0:00:35.333 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.041) 0:00:35.374 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.043) 0:00:35.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.065) 0:00:35.484 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.112) 0:00:35.596 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.024) 0:00:35.621 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.026) 0:00:35.647 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.028) 0:00:35.676 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.023) 0:00:35.699 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.039) 0:00:35.738 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.390) 0:00:36.128 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmpvyk6r6ke" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.441) 0:00:36.570 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.335) 0:00:36.905 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.031) 0:00:36.937 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.024) 0:00:36.961 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.023) 0:00:36.985 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.021) 0:00:37.007 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.204) 0:00:37.211 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.058) 0:00:37.270 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:55:47 +0000 (0:00:00.041) 0:00:37.312 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:55:47 +0000 (0:00:00.044) 0:00:37.357 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:55:47 +0000 (0:00:00.029) 0:00:37.387 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:55:47 +0000 (0:00:00.026) 0:00:37.414 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:55:47 +0000 (0:00:00.023) 0:00:37.437 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:55:48 +0000 (0:00:01.600) 0:00:39.038 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:55:50 +0000 (0:00:01.341) 0:00:40.380 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.024) 0:00:40.405 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.023) 0:00:40.428 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.025) 0:00:40.454 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.045) 0:00:40.500 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.029) 0:00:40.529 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.022) 0:00:40.552 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.026) 0:00:40.578 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.022) 0:00:40.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.022) 0:00:40.624 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.349) 0:00:40.973 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmpklcjns4o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.335) 0:00:41.308 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.576) 0:00:41.885 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.043) 0:00:41.929 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.043) 0:00:41.972 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.044) 0:00:42.016 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.026) 0:00:42.042 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.215) 0:00:42.258 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.047) 0:00:42.305 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.045) 0:00:42.351 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.109) 0:00:42.461 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.039) 0:00:42.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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.027) 0:00:42.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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.022) 0:00:42.551 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:55:53 +0000 (0:00:01.603) 0:00:44.155 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:55:55 +0000 (0:00:01.341) 0:00:45.496 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:55:55 +0000 (0:00:00.024) 0:00:45.521 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:55:55 +0000 (0:00:00.022) 0:00:45.543 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:55:55 +0000 (0:00:00.021) 0:00:45.565 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:55:55 +0000 (0:00:00.044) 0:00:45.609 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:55:55 +0000 (0:00:00.022) 0:00:45.631 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:55:55 +0000 (0:00:00.021) 0:00:45.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:55:55 +0000 (0:00:00.024) 0:00:45.678 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:55:55 +0000 (0:00:00.022) 0:00:45.700 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:55:55 +0000 (0:00:00.021) 0:00:45.721 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:55:55 +0000 (0:00:00.347) 0:00:46.069 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmp00i6i4bo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.311) 0:00:46.380 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.344) 0:00:46.725 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.029) 0:00:46.754 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.027) 0:00:46.782 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.027) 0:00:46.809 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.025) 0:00:46.834 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.245) 0:00:47.080 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.083) 0:00:47.163 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.058) 0:00:47.222 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912951.459437, "block_size": 4096, "blocks": 0, "ctime": 1704912951.459437, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37748, "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": 1704912951.459437, "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-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.241) 0:00:47.464 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.041) 0:00:47.505 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.066) 0:00:47.571 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.069) 0:00:47.640 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.223) 0:00:47.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.067) 0:00:47.931 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020658", "end": "2024-01-10 18:55:57.846262", "rc": 1, "start": "2024-01-10 18:55:57.825604" } 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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.242) 0:00:48.174 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.029) 0:00:48.203 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.035) 0:00:48.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.024) 0:00:48.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.024) 0:00:48.287 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.024) 0:00:48.312 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.026) 0:00:48.338 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.022) 0:00:48.360 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.025) 0:00:48.385 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.068) 0:00:48.454 ***** 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.048997", "end": "2024-01-10 18:55:58.381706", "rc": 0, "start": "2024-01-10 18:55:58.332709" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.266) 0:00:48.721 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.074) 0:00:48.795 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.030) 0:00:48.825 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.059) 0:00:48.885 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.045) 0:00:48.930 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.043) 0:00:48.974 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003272", "end": "2024-01-10 18:55:58.876609", "rc": 0, "start": "2024-01-10 18:55:58.873337" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.238) 0:00:49.212 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.038) 0:00:49.250 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:55:58 +0000 (0:00:00.028) 0:00:49.279 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:55:59 +0000 (0:00:00.067) 0:00:49.346 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:55:59 +0000 (0:00:00.054) 0:00:49.401 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:55:59 +0000 (0:00:00.094) 0:00:49.496 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:55:59 +0000 (0:00:00.039) 0:00:49.535 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:55:59 +0000 (0:00:00.025) 0:00:49.561 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:55:59 +0000 (0:00:00.032) 0:00:49.593 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:00 +0000 (0:00:01.608) 0:00:51.202 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:02 +0000 (0:00:01.354) 0:00:52.556 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.025) 0:00:52.581 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.024) 0:00:52.606 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.022) 0:00:52.629 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.050) 0:00:52.679 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.027) 0:00:52.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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.025) 0:00:52.732 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.034) 0:00:52.766 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.035) 0:00:52.802 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.024) 0:00:52.826 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.355) 0:00:53.181 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmp8qk02xy2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.306) 0:00:53.487 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.367) 0:00:53.855 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.033) 0:00:53.888 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.045) 0:00:53.933 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.044) 0:00:53.978 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.056) 0:00:54.034 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.202) 0:00:54.236 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.027) 0:00:54.264 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.046) 0:00:54.311 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.048) 0:00:54.360 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.037) 0:00:54.397 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.028) 0:00:54.426 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.022) 0:00:54.449 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:05 +0000 (0:00:01.607) 0:00:56.056 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:07 +0000 (0:00:01.325) 0:00:57.382 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.034) 0:00:57.416 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.025) 0:00:57.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.043) 0:00:57.485 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.103) 0:00:57.589 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.031) 0:00:57.621 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.038) 0:00:57.660 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.065) 0:00:57.725 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.040) 0:00:57.765 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.041) 0:00:57.806 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.397) 0:00:58.204 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmpuy9ys_ri" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.376) 0:00:58.580 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.571) 0:00:59.152 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.032) 0:00:59.185 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.026) 0:00:59.212 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.025) 0:00:59.237 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.028) 0:00:59.266 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 18:56:09 +0000 (0:00:00.232) 0:00:59.498 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:09 +0000 (0:00:00.041) 0:00:59.540 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:09 +0000 (0:00:00.044) 0:00:59.584 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:09 +0000 (0:00:00.039) 0:00:59.624 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:09 +0000 (0:00:00.033) 0:00:59.658 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:09 +0000 (0:00:00.036) 0:00:59.695 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:10 +0000 (0:00:01.597) 0:01:01.292 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:12 +0000 (0:00:01.352) 0:01:02.644 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.025) 0:01:02.670 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.031) 0:01:02.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.024) 0:01:02.726 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.053) 0:01:02.779 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.025) 0:01:02.804 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.022) 0:01:02.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.027) 0:01:02.855 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.022) 0:01:02.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.022) 0:01:02.900 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.389) 0:01:03.290 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmpxzdk9m_x" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.368) 0:01:03.658 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.373) 0:01:04.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.025) 0:01:04.057 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.057) 0:01:04.115 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.037) 0:01:04.153 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.026) 0:01:04.179 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:56:14 +0000 (0:00:00.197) 0:01:04.377 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:56:14 +0000 (0:00:00.044) 0:01:04.421 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:14 +0000 (0:00:00.056) 0:01:04.477 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:14 +0000 (0:00:00.078) 0:01:04.556 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:14 +0000 (0:00:00.037) 0:01:04.594 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:14 +0000 (0:00:00.048) 0:01:04.643 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:14 +0000 (0:00:00.041) 0:01:04.684 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:16 +0000 (0:00:01.619) 0:01:06.304 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:17 +0000 (0:00:01.351) 0:01:07.655 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.024) 0:01:07.680 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.024) 0:01:07.704 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.043) 0:01:07.748 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.051) 0:01:07.799 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.023) 0:01:07.822 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.025) 0:01:07.848 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.031) 0:01:07.879 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.024) 0:01:07.904 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.023) 0:01:07.927 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.375) 0:01:08.302 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmpd3oqs1a9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.362) 0:01:08.665 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.452) 0:01:09.118 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.023) 0:01:09.141 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.026) 0:01:09.168 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.027) 0:01:09.195 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.027) 0:01:09.223 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.204) 0:01:09.427 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.042) 0:01:09.469 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.049) 0:01:09.519 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.041) 0:01:09.560 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.222) 0:01:09.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.027) 0:01:09.810 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020576", "end": "2024-01-10 18:56:19.719952", "rc": 1, "start": "2024-01-10 18:56:19.699376" } 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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.235) 0:01:10.046 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.025) 0:01:10.071 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.099) 0:01:10.171 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.028) 0:01:10.199 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.025) 0:01:10.225 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.025) 0:01:10.251 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.027) 0:01:10.279 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.028) 0:01:10.308 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.026) 0:01:10.334 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.054) 0:01:10.389 ***** 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.049262", "end": "2024-01-10 18:56:20.330517", "rc": 0, "start": "2024-01-10 18:56:20.281255" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.268) 0:01:10.658 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.043) 0:01:10.701 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.058) 0:01:10.760 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.054) 0:01:10.815 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.106) 0:01:10.921 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.054) 0:01:10.975 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003454", "end": "2024-01-10 18:56:20.859472", "rc": 0, "start": "2024-01-10 18:56:20.856018" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.207) 0:01:11.183 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.025) 0:01:11.208 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.024) 0:01:11.232 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.048) 0:01:11.281 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:21 +0000 (0:00:00.039) 0:01:11.321 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:21 +0000 (0:00:00.044) 0:01:11.366 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:21 +0000 (0:00:00.030) 0:01:11.396 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:21 +0000 (0:00:00.023) 0:01:11.419 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:21 +0000 (0:00:00.031) 0:01:11.451 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:22 +0000 (0:00:01.624) 0:01:13.075 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:24 +0000 (0:00:01.316) 0:01:14.392 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.024) 0:01:14.416 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.055) 0:01:14.471 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.026) 0:01:14.498 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.070) 0:01:14.569 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.039) 0:01:14.608 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.034) 0:01:14.642 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.027) 0:01:14.669 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.024) 0:01:14.693 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.022) 0:01:14.716 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.353) 0:01:15.069 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmpobel6apa" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.309) 0:01:15.378 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.302) 0:01:15.681 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.023) 0:01:15.704 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.024) 0:01:15.729 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.024) 0:01:15.754 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.052) 0:01:15.807 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.207) 0:01:16.015 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.025) 0:01:16.040 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.037) 0:01:16.077 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.042) 0:01:16.120 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.029) 0:01:16.149 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.023) 0:01:16.173 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.024) 0:01:16.198 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:27 +0000 (0:00:01.627) 0:01:17.825 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:28 +0000 (0:00:01.318) 0:01:19.144 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.028) 0:01:19.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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.042) 0:01:19.215 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.033) 0:01:19.249 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.048) 0:01:19.297 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.027) 0:01:19.325 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.024) 0:01:19.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.025) 0:01:19.375 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.051) 0:01:19.426 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.024) 0:01:19.451 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.349) 0:01:19.800 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmp7jl_10jh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.308) 0:01:20.109 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:30 +0000 (0:00:00.582) 0:01:20.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:30 +0000 (0:00:00.023) 0:01:20.715 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:30 +0000 (0:00:00.025) 0:01:20.741 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:30 +0000 (0:00:00.025) 0:01:20.767 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:30 +0000 (0:00:00.023) 0:01:20.791 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:56:30 +0000 (0:00:00.197) 0:01:20.989 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:30 +0000 (0:00:00.065) 0:01:21.054 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:30 +0000 (0:00:00.041) 0:01:21.096 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:30 +0000 (0:00:00.029) 0:01:21.125 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:30 +0000 (0:00:00.023) 0:01:21.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:30 +0000 (0:00:00.023) 0:01:21.171 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:32 +0000 (0:00:01.610) 0:01:22.782 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:33 +0000 (0:00:01.348) 0:01:24.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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.033) 0:01:24.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.035) 0:01:24.198 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.037) 0:01:24.236 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.051) 0:01:24.287 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.043) 0:01:24.331 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.049) 0:01:24.381 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.058) 0:01:24.439 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.040) 0:01:24.480 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.028) 0:01:24.509 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.369) 0:01:24.878 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmptfhyilvy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.304) 0:01:25.183 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:35 +0000 (0:00:00.314) 0:01:25.497 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:35 +0000 (0:00:00.022) 0:01:25.519 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:35 +0000 (0:00:00.023) 0:01:25.543 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:35 +0000 (0:00:00.024) 0:01:25.567 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:35 +0000 (0:00:00.023) 0:01:25.591 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:56:35 +0000 (0:00:00.197) 0:01:25.788 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:56:35 +0000 (0:00:00.050) 0:01:25.839 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:35 +0000 (0:00:00.042) 0:01:25.881 ***** included: /WORKDIR/git-route_typemv6fs8x1/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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:35 +0000 (0:00:00.042) 0:01:25.924 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:35 +0000 (0:00:00.029) 0:01:25.953 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:35 +0000 (0:00:00.077) 0:01:26.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:35 +0000 (0:00:00.027) 0:01:26.058 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:37 +0000 (0:00:01.612) 0:01:27.670 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:38 +0000 (0:00:01.337) 0:01:29.008 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.062) 0:01:29.070 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.023) 0:01:29.094 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.032) 0:01:29.126 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.061) 0:01:29.188 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.044) 0:01:29.232 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.028) 0:01:29.261 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.062) 0:01:29.324 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.043) 0:01:29.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.029) 0:01:29.397 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.349) 0:01:29.747 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18342zonf6dcn/tmpjfocx_yt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.320) 0:01:30.068 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.293) 0:01:30.362 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.061) 0:01:30.424 ***** 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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.031) 0:01:30.456 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "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-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.027) 0:01:30.483 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.024) 0:01:30.508 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.215) 0:01:30.724 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.052) 0:01:30.776 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.043) 0:01:30.819 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.025) 0:01:30.845 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.202) 0:01:31.048 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.022) 0:01:31.071 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021647", "end": "2024-01-10 18:56:40.968252", "rc": 1, "start": "2024-01-10 18:56:40.946605" } 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-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:56:41 +0000 (0:00:00.228) 0:01:31.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:56:41 +0000 (0:00:00.025) 0:01:31.325 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:56:41 +0000 (0:00:00.026) 0:01:31.351 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:56:41 +0000 (0:00:00.077) 0:01:31.428 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:56:41 +0000 (0:00:00.027) 0:01:31.456 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:56:41 +0000 (0:00:00.026) 0:01:31.482 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 18:56:41 +0000 (0:00:00.025) 0:01:31.508 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.947441", "end": "2024-01-10 18:56:42.331598", "rc": 0, "start": "2024-01-10 18:56:41.384157" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 18:56:42 +0000 (0:00:01.172) 0:01:32.680 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 18:56:42 +0000 (0:00:00.024) 0:01:32.705 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:56:42 +0000 (0:00:00.043) 0:01:32.748 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:56:42 +0000 (0:00:00.056) 0:01:32.804 ***** 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-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:56:42 +0000 (0:00:00.029) 0:01:32.833 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:56:42 +0000 (0:00:00.051) 0:01:32.885 ***** 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.050520", "end": "2024-01-10 18:56:42.811518", "rc": 0, "start": "2024-01-10 18:56:42.760998" } 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 Wednesday 10 January 2024 18:56:42 +0000 (0:00:00.239) 0:01:33.124 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.33s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.99s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.84s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Configure networking connection profiles --- 1.80s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 1.47s /WORKDIR/git-route_typemv6fs8x1/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. ---^---^---^---^---^---