# 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_typevzdh1lfv/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 02:42:19 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 02:42:19 +0000 (0:00:00.700) 0:00:00.712 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 02:42:19 +0000 (0:00:00.021) 0:00:00.734 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 02:42:20 +0000 (0:00:00.331) 0:00:01.065 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 02:42:20 +0000 (0:00:00.251) 0:00:01.317 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 02:42:20 +0000 (0:00:00.022) 0:00:01.340 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 02:42:20 +0000 (0:00:00.028) 0:00:01.368 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 02:42:20 +0000 (0:00:00.030) 0:00:01.398 ******* 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_typevzdh1lfv/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 02:42:20 +0000 (0:00:00.256) 0:00:01.655 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 02:42:20 +0000 (0:00:00.011) 0:00:01.666 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 02:42:20 +0000 (0:00:00.011) 0:00:01.677 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244749", "end": "2024-01-09 02:42:21.341943", "rc": 0, "start": "2024-01-09 02:42:21.097194" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 02:42:21 +0000 (0:00:00.446) 0:00:02.123 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 02:42:21 +0000 (0:00:00.028) 0:00:02.152 ******* 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_typevzdh1lfv/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 02:42:21 +0000 (0:00:00.012) 0:00:02.164 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.587) 0:00:02.751 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.010) 0:00:02.761 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.016) 0:00:02.778 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.011) 0:00:02.790 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.085) 0:00:02.875 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.023) 0:00:02.898 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.018) 0:00:02.917 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003062", "end": "2024-01-09 02:42:22.344087", "rc": 0, "start": "2024-01-09 02:42:22.341025" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.193) 0:00:03.110 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.016) 0:00:03.126 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.023) 0:00:03.149 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.059) 0:00:03.209 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008269", "end": "2024-01-09 02:42:22.653312", "rc": 1, "start": "2024-01-09 02:42:22.645043" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.208) 0:00:03.417 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.047) 0:00:03.464 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.183) 0:00:03.648 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.015) 0:00:03.663 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.018) 0:00:03.682 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:42:22 +0000 (0:00:00.032) 0:00:03.714 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:42:23 +0000 (0:00:00.073) 0:00:03.788 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:42:23 +0000 (0:00:00.013) 0:00:03.801 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:42:23 +0000 (0:00:00.015) 0:00:03.817 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:42:23 +0000 (0:00:00.010) 0:00:03.827 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:42:24 +0000 (0:00:01.642) 0:00:05.470 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:42:26 +0000 (0:00:01.450) 0:00:06.920 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:42:26 +0000 (0:00:00.024) 0:00:06.944 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:42:26 +0000 (0:00:00.023) 0:00:06.968 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:42:26 +0000 (0:00:00.026) 0:00:06.994 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:42:26 +0000 (0:00:00.050) 0:00:07.044 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:42:26 +0000 (0:00:00.055) 0:00:07.100 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:42:26 +0000 (0:00:00.028) 0:00:07.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:42:26 +0000 (0:00:00.027) 0:00:07.156 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:42:26 +0000 (0:00:00.023) 0:00:07.180 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:42:26 +0000 (0:00:00.022) 0:00:07.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:42:26 +0000 (0:00:00.501) 0:00:07.704 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmpgwjew78d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:42:27 +0000 (0:00:00.310) 0:00:08.014 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:42:27 +0000 (0:00:00.420) 0:00:08.435 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:42:27 +0000 (0:00:00.023) 0:00:08.459 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:42:27 +0000 (0:00:00.022) 0:00:08.482 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:42:27 +0000 (0:00:00.022) 0:00:08.504 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:42:27 +0000 (0:00:00.021) 0:00:08.526 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:42:28 +0000 (0:00:00.236) 0:00:08.763 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:42:28 +0000 (0:00:00.023) 0:00:08.786 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:42:28 +0000 (0:00:00.041) 0:00:08.827 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:42:28 +0000 (0:00:00.039) 0:00:08.867 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:42:28 +0000 (0:00:00.025) 0:00:08.893 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768147.6574457, "block_size": 4096, "blocks": 8, "ctime": 1704768147.6574457, "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": 1704768147.6574457, "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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:42:28 +0000 (0:00:00.198) 0:00:09.091 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:42:28 +0000 (0:00:00.023) 0:00:09.115 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020384", "end": "2024-01-09 02:42:28.558661", "rc": 1, "start": "2024-01-09 02:42:28.538277" } 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:42:28 +0000 (0:00:00.221) 0:00:09.336 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:42:28 +0000 (0:00:00.025) 0:00:09.361 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003027", "end": "2024-01-09 02:42:28.787516", "rc": 0, "start": "2024-01-09 02:42:28.784489" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:42:28 +0000 (0:00:00.225) 0:00:09.586 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:42:28 +0000 (0:00:00.037) 0:00:09.623 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003414", "end": "2024-01-09 02:42:29.061767", "rc": 0, "start": "2024-01-09 02:42:29.058353" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.215) 0:00:09.839 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.028) 0:00:09.867 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.038) 0:00:09.906 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.029) 0:00:09.936 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.044) 0:00:09.981 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.077) 0:00:10.058 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.029) 0:00:10.088 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.049) 0:00:10.138 ******* 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.037630", "end": "2024-01-09 02:42:29.598432", "rc": 1, "start": "2024-01-09 02:42:29.560802" } 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_typevzdh1lfv/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.239) 0:00:10.377 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.063) 0:00:10.440 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.023) 0:00:10.463 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.056) 0:00:10.519 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.046) 0:00:10.566 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:42:29 +0000 (0:00:00.061) 0:00:10.627 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003265", "end": "2024-01-09 02:42:30.059911", "rc": 0, "start": "2024-01-09 02:42:30.056646" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.208) 0:00:10.835 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.023) 0:00:10.859 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.023) 0:00:10.883 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.043) 0:00:10.927 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006459", "end": "2024-01-09 02:42:30.368364", "rc": 1, "start": "2024-01-09 02:42:30.361905" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.235) 0:00:11.162 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.062) 0:00:11.224 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.198) 0:00:11.423 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.032) 0:00:11.456 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.046) 0:00:11.503 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.056) 0:00:11.560 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.042) 0:00:11.602 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.029) 0:00:11.631 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.023) 0:00:11.655 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:42:30 +0000 (0:00:00.023) 0:00:11.678 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:42:32 +0000 (0:00:01.563) 0:00:13.242 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:42:33 +0000 (0:00:01.310) 0:00:14.552 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:42:33 +0000 (0:00:00.025) 0:00:14.577 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:42:33 +0000 (0:00:00.037) 0:00:14.614 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:42:33 +0000 (0:00:00.029) 0:00:14.644 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:42:33 +0000 (0:00:00.063) 0:00:14.708 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:42:34 +0000 (0:00:00.042) 0:00:14.751 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:42:34 +0000 (0:00:00.024) 0:00:14.775 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:42:34 +0000 (0:00:00.066) 0:00:14.842 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:42:34 +0000 (0:00:00.039) 0:00:14.882 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:42:34 +0000 (0:00:00.038) 0:00:14.920 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:42:34 +0000 (0:00:00.406) 0:00:15.326 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmpk7dd70ew" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:42:34 +0000 (0:00:00.347) 0:00:15.674 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.288) 0:00:15.962 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.024) 0:00:15.987 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.023) 0:00:16.010 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.022) 0:00:16.033 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.020) 0:00:16.054 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.192) 0:00:16.247 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.024) 0:00:16.272 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.066) 0:00:16.338 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.036) 0:00:16.375 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.196) 0:00:16.571 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.023) 0:00:16.595 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.059) 0:00:16.654 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:42:35 +0000 (0:00:00.025) 0:00:16.679 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768155.186387, "block_size": 4096, "blocks": 8, "ctime": 1704768155.186387, "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": 1704768155.186387, "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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:42:36 +0000 (0:00:00.210) 0:00:16.889 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:42:36 +0000 (0:00:00.024) 0:00:16.914 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019378", "end": "2024-01-09 02:42:36.353519", "rc": 1, "start": "2024-01-09 02:42:36.334141" } 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:42:36 +0000 (0:00:00.213) 0:00:17.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:42:36 +0000 (0:00:00.027) 0:00:17.155 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003011", "end": "2024-01-09 02:42:36.582746", "rc": 0, "start": "2024-01-09 02:42:36.579735" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:42:36 +0000 (0:00:00.205) 0:00:17.361 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:42:36 +0000 (0:00:00.056) 0:00:17.418 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003360", "end": "2024-01-09 02:42:36.847006", "rc": 0, "start": "2024-01-09 02:42:36.843646" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:42:36 +0000 (0:00:00.207) 0:00:17.625 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:42:36 +0000 (0:00:00.028) 0:00:17.654 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:42:36 +0000 (0:00:00.024) 0:00:17.678 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:42:36 +0000 (0:00:00.024) 0:00:17.703 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:42:36 +0000 (0:00:00.023) 0:00:17.726 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.020) 0:00:17.746 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.023) 0:00:17.770 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.041) 0:00:17.811 ******* 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.036690", "end": "2024-01-09 02:42:37.273716", "rc": 1, "start": "2024-01-09 02:42:37.237026" } 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_typevzdh1lfv/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.258) 0:00:18.069 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.061) 0:00:18.130 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.040) 0:00:18.171 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.057) 0:00:18.228 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.074) 0:00:18.303 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.035) 0:00:18.339 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003249", "end": "2024-01-09 02:42:37.761717", "rc": 0, "start": "2024-01-09 02:42:37.758468" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.198) 0:00:18.537 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.023) 0:00:18.561 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.022) 0:00:18.583 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.039) 0:00:18.623 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.037) 0:00:18.661 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.044) 0:00:18.705 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:42:37 +0000 (0:00:00.026) 0:00:18.732 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:42:38 +0000 (0:00:00.021) 0:00:18.754 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:42:38 +0000 (0:00:00.042) 0:00:18.796 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:42:39 +0000 (0:00:01.564) 0:00:20.361 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:42:40 +0000 (0:00:01.313) 0:00:21.675 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:42:40 +0000 (0:00:00.025) 0:00:21.700 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:42:40 +0000 (0:00:00.042) 0:00:21.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:42:41 +0000 (0:00:00.023) 0:00:21.766 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:42:41 +0000 (0:00:00.049) 0:00:21.815 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:42:41 +0000 (0:00:00.023) 0:00:21.838 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:42:41 +0000 (0:00:00.022) 0:00:21.861 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:42:41 +0000 (0:00:00.025) 0:00:21.886 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:42:41 +0000 (0:00:00.022) 0:00:21.909 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:42:41 +0000 (0:00:00.023) 0:00:21.932 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:42:41 +0000 (0:00:00.352) 0:00:22.285 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmpld272kaz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:42:41 +0000 (0:00:00.306) 0:00:22.591 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.313) 0:00:22.904 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.028) 0:00:22.933 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.036) 0:00:22.970 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.086) 0:00:23.056 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.031) 0:00:23.088 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.218) 0:00:23.306 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.025) 0:00:23.332 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.040) 0:00:23.372 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.041) 0:00:23.414 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.052) 0:00:23.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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.053) 0:00:23.521 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.035) 0:00:23.556 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:42:42 +0000 (0:00:00.036) 0:00:23.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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:42:44 +0000 (0:00:01.584) 0:00:25.178 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:42:45 +0000 (0:00:01.317) 0:00:26.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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:42:45 +0000 (0:00:00.024) 0:00:26.520 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:42:45 +0000 (0:00:00.046) 0:00:26.567 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:42:45 +0000 (0:00:00.025) 0:00:26.592 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:42:45 +0000 (0:00:00.075) 0:00:26.668 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:42:45 +0000 (0:00:00.037) 0:00:26.705 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:42:46 +0000 (0:00:00.041) 0:00:26.746 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:42:46 +0000 (0:00:00.085) 0:00:26.832 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:42:46 +0000 (0:00:00.049) 0:00:26.882 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:42:46 +0000 (0:00:00.036) 0:00:26.919 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:42:46 +0000 (0:00:00.379) 0:00:27.298 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmpib6g8bed" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:42:46 +0000 (0:00:00.298) 0:00:27.596 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:42:47 +0000 (0:00:00.577) 0:00:28.174 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:42:47 +0000 (0:00:00.026) 0:00:28.201 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:42:47 +0000 (0:00:00.046) 0:00:28.247 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:42:47 +0000 (0:00:00.046) 0:00:28.294 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:42:47 +0000 (0:00:00.029) 0:00:28.323 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:42:47 +0000 (0:00:00.218) 0:00:28.541 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:42:47 +0000 (0:00:00.097) 0:00:28.639 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:42:47 +0000 (0:00:00.046) 0:00:28.686 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768167.2896101, "block_size": 4096, "blocks": 0, "ctime": 1704768167.2896101, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35962, "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": 1704768167.2896101, "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_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:42:48 +0000 (0:00:00.234) 0:00:28.920 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:42:48 +0000 (0:00:00.040) 0:00:28.961 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:42:48 +0000 (0:00:00.083) 0:00:29.045 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:42:48 +0000 (0:00:00.059) 0:00:29.104 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768167.1072946, "block_size": 4096, "blocks": 8, "ctime": 1704768162.1053333, "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": 1704768162.1053333, "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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:42:48 +0000 (0:00:00.236) 0:00:29.341 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:42:48 +0000 (0:00:00.046) 0:00:29.387 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019553", "end": "2024-01-09 02:42:48.841415", "rc": 1, "start": "2024-01-09 02:42:48.821862" } 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:42:48 +0000 (0:00:00.228) 0:00:29.616 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:42:48 +0000 (0:00:00.026) 0:00:29.643 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003027", "end": "2024-01-09 02:42:49.071516", "rc": 0, "start": "2024-01-09 02:42:49.068489" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.239) 0:00:29.882 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.045) 0:00:29.927 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002851", "end": "2024-01-09 02:42:49.371124", "rc": 0, "start": "2024-01-09 02:42:49.368273" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.244) 0:00:30.172 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.028) 0:00:30.201 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.027) 0:00:30.228 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.029) 0:00:30.258 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.025) 0:00:30.283 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.026) 0:00:30.309 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.031) 0:00:30.340 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.053) 0:00:30.394 ******* 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.047720", "end": "2024-01-09 02:42:49.863383", "rc": 0, "start": "2024-01-09 02:42:49.815663" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.244) 0:00:30.639 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.037) 0:00:30.676 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.021) 0:00:30.698 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:42:49 +0000 (0:00:00.047) 0:00:30.745 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:42:50 +0000 (0:00:00.042) 0:00:30.788 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:42:50 +0000 (0:00:00.068) 0:00:30.857 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003189", "end": "2024-01-09 02:42:50.303873", "rc": 0, "start": "2024-01-09 02:42:50.300684" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:42:50 +0000 (0:00:00.222) 0:00:31.080 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:42:50 +0000 (0:00:00.026) 0:00:31.106 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:42:50 +0000 (0:00:00.023) 0:00:31.130 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:42:50 +0000 (0:00:00.045) 0:00:31.175 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:42:50 +0000 (0:00:00.043) 0:00:31.218 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:42:50 +0000 (0:00:00.050) 0:00:31.268 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:42:50 +0000 (0:00:00.058) 0:00:31.327 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:42:50 +0000 (0:00:00.025) 0:00:31.353 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:42:50 +0000 (0:00:00.023) 0:00:31.376 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:42:52 +0000 (0:00:01.565) 0:00:32.941 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:42:53 +0000 (0:00:01.341) 0:00:34.283 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:42:53 +0000 (0:00:00.040) 0:00:34.324 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:42:53 +0000 (0:00:00.028) 0:00:34.352 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:42:53 +0000 (0:00:00.039) 0:00:34.391 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:42:53 +0000 (0:00:00.068) 0:00:34.460 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:42:53 +0000 (0:00:00.048) 0:00:34.509 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:42:53 +0000 (0:00:00.058) 0:00:34.568 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:42:53 +0000 (0:00:00.030) 0:00:34.598 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:42:53 +0000 (0:00:00.076) 0:00:34.675 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:42:53 +0000 (0:00:00.036) 0:00:34.711 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:42:54 +0000 (0:00:00.385) 0:00:35.097 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmpq54pi52n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:42:54 +0000 (0:00:00.399) 0:00:35.496 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:42:55 +0000 (0:00:00.302) 0:00:35.798 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:42:55 +0000 (0:00:00.031) 0:00:35.829 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:42:55 +0000 (0:00:00.024) 0:00:35.854 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:42:55 +0000 (0:00:00.027) 0:00:35.882 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:42:55 +0000 (0:00:00.037) 0:00:35.920 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:42:55 +0000 (0:00:00.193) 0:00:36.113 ******* 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_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:42:55 +0000 (0:00:00.025) 0:00:36.139 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:42:55 +0000 (0:00:00.051) 0:00:36.191 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:42:55 +0000 (0:00:00.088) 0:00:36.280 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:42:55 +0000 (0:00:00.046) 0:00:36.327 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:42:55 +0000 (0:00:00.041) 0:00:36.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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:42:55 +0000 (0:00:00.022) 0:00:36.391 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:42:57 +0000 (0:00:01.567) 0:00:37.959 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:42:58 +0000 (0:00:01.314) 0:00:39.273 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:42:58 +0000 (0:00:00.023) 0:00:39.296 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:42:58 +0000 (0:00:00.022) 0:00:39.318 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:42:58 +0000 (0:00:00.020) 0:00:39.339 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:42:58 +0000 (0:00:00.044) 0:00:39.384 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:42:58 +0000 (0:00:00.023) 0:00:39.407 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:42:58 +0000 (0:00:00.022) 0:00:39.429 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:42:58 +0000 (0:00:00.026) 0:00:39.456 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:42:58 +0000 (0:00:00.024) 0:00:39.480 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:42:58 +0000 (0:00:00.022) 0:00:39.502 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:42:59 +0000 (0:00:00.343) 0:00:39.846 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmpadepncq3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:42:59 +0000 (0:00:00.314) 0:00:40.161 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:43:00 +0000 (0:00:00.611) 0:00:40.773 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:43:00 +0000 (0:00:00.026) 0:00:40.799 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:43:00 +0000 (0:00:00.024) 0:00:40.824 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:43:00 +0000 (0:00:00.029) 0:00:40.853 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:43:00 +0000 (0:00:00.023) 0:00:40.877 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:43:00 +0000 (0:00:00.194) 0:00:41.072 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:43:00 +0000 (0:00:00.057) 0:00:41.129 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:43:00 +0000 (0:00:00.061) 0:00:41.191 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:43:00 +0000 (0:00:00.055) 0:00:41.246 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:43:00 +0000 (0:00:00.028) 0:00:41.275 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:43:00 +0000 (0:00:00.021) 0:00:41.296 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:43:00 +0000 (0:00:00.061) 0:00:41.358 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:43:02 +0000 (0:00:01.585) 0:00:42.943 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:43:03 +0000 (0:00:01.298) 0:00:44.242 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:43:03 +0000 (0:00:00.024) 0:00:44.267 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:43:03 +0000 (0:00:00.022) 0:00:44.290 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:43:03 +0000 (0:00:00.046) 0:00:44.336 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:43:03 +0000 (0:00:00.049) 0:00:44.385 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:43:03 +0000 (0:00:00.022) 0:00:44.407 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:43:03 +0000 (0:00:00.021) 0:00:44.428 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:43:03 +0000 (0:00:00.024) 0:00:44.453 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:43:03 +0000 (0:00:00.021) 0:00:44.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:43:03 +0000 (0:00:00.020) 0:00:44.495 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:43:04 +0000 (0:00:00.366) 0:00:44.862 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmp25qpog75" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:43:04 +0000 (0:00:00.325) 0:00:45.187 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:43:04 +0000 (0:00:00.299) 0:00:45.487 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:43:04 +0000 (0:00:00.032) 0:00:45.519 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:43:04 +0000 (0:00:00.054) 0:00:45.573 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:43:04 +0000 (0:00:00.025) 0:00:45.599 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:43:04 +0000 (0:00:00.061) 0:00:45.660 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:43:05 +0000 (0:00:00.192) 0:00:45.853 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:43:05 +0000 (0:00:00.045) 0:00:45.898 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:43:05 +0000 (0:00:00.045) 0:00:45.944 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768179.9045131, "block_size": 4096, "blocks": 0, "ctime": 1704768179.9045131, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36093, "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": 1704768179.9045131, "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_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:43:05 +0000 (0:00:00.198) 0:00:46.143 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:43:05 +0000 (0:00:00.024) 0:00:46.167 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:43:05 +0000 (0:00:00.039) 0:00:46.206 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:43:05 +0000 (0:00:00.023) 0:00:46.230 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:43:05 +0000 (0:00:00.191) 0:00:46.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:43:05 +0000 (0:00:00.022) 0:00:46.444 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019683", "end": "2024-01-09 02:43:05.883628", "rc": 1, "start": "2024-01-09 02:43:05.863945" } 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:43:05 +0000 (0:00:00.215) 0:00:46.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:43:05 +0000 (0:00:00.055) 0:00:46.716 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:43:05 +0000 (0:00:00.024) 0:00:46.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.023) 0:00:46.764 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.023) 0:00:46.787 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.023) 0:00:46.811 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.026) 0:00:46.837 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.027) 0:00:46.865 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.030) 0:00:46.896 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.047) 0:00:46.943 ******* 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.044837", "end": "2024-01-09 02:43:06.411731", "rc": 0, "start": "2024-01-09 02:43:06.366894" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.245) 0:00:47.189 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.040) 0:00:47.229 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.023) 0:00:47.253 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.045) 0:00:47.299 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.064) 0:00:47.364 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.051) 0:00:47.416 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003058", "end": "2024-01-09 02:43:06.839608", "rc": 0, "start": "2024-01-09 02:43:06.836550" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.199) 0:00:47.616 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.026) 0:00:47.642 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.026) 0:00:47.669 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:43:06 +0000 (0:00:00.047) 0:00:47.716 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:43:07 +0000 (0:00:00.052) 0:00:47.769 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:43:07 +0000 (0:00:00.042) 0:00:47.811 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:43:07 +0000 (0:00:00.031) 0:00:47.843 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:43:07 +0000 (0:00:00.022) 0:00:47.865 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:43:07 +0000 (0:00:00.024) 0:00:47.890 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:43:08 +0000 (0:00:01.594) 0:00:49.484 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:43:10 +0000 (0:00:01.304) 0:00:50.788 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:43:10 +0000 (0:00:00.022) 0:00:50.811 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:43:10 +0000 (0:00:00.021) 0:00:50.833 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:43:10 +0000 (0:00:00.045) 0:00:50.879 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:43:10 +0000 (0:00:00.048) 0:00:50.927 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:43:10 +0000 (0:00:00.022) 0:00:50.950 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:43:10 +0000 (0:00:00.022) 0:00:50.972 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:43:10 +0000 (0:00:00.024) 0:00:50.997 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:43:10 +0000 (0:00:00.021) 0:00:51.019 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:43:10 +0000 (0:00:00.022) 0:00:51.041 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:43:10 +0000 (0:00:00.356) 0:00:51.398 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmpycgdt22w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:43:10 +0000 (0:00:00.312) 0:00:51.711 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:43:11 +0000 (0:00:00.315) 0:00:52.027 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:43:11 +0000 (0:00:00.024) 0:00:52.052 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:43:11 +0000 (0:00:00.031) 0:00:52.083 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:43:11 +0000 (0:00:00.031) 0:00:52.115 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:43:11 +0000 (0:00:00.037) 0:00:52.152 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:43:11 +0000 (0:00:00.245) 0:00:52.398 ******* 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_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:43:11 +0000 (0:00:00.043) 0:00:52.441 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:43:11 +0000 (0:00:00.050) 0:00:52.492 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:43:11 +0000 (0:00:00.057) 0:00:52.549 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:43:11 +0000 (0:00:00.028) 0:00:52.578 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:43:11 +0000 (0:00:00.024) 0:00:52.603 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:43:11 +0000 (0:00:00.026) 0:00:52.629 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:43:13 +0000 (0:00:01.627) 0:00:54.256 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:43:14 +0000 (0:00:01.357) 0:00:55.614 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:43:14 +0000 (0:00:00.043) 0:00:55.657 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:43:14 +0000 (0:00:00.026) 0:00:55.684 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:43:14 +0000 (0:00:00.025) 0:00:55.710 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:43:15 +0000 (0:00:00.045) 0:00:55.755 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:43:15 +0000 (0:00:00.031) 0:00:55.787 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:43:15 +0000 (0:00:00.028) 0:00:55.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:43:15 +0000 (0:00:00.028) 0:00:55.844 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:43:15 +0000 (0:00:00.022) 0:00:55.866 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:43:15 +0000 (0:00:00.047) 0:00:55.914 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:43:15 +0000 (0:00:00.357) 0:00:56.272 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmpw2_w_sma" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:43:15 +0000 (0:00:00.319) 0:00:56.591 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:43:16 +0000 (0:00:00.562) 0:00:57.154 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:43:16 +0000 (0:00:00.021) 0:00:57.176 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:43:16 +0000 (0:00:00.023) 0:00:57.200 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:43:16 +0000 (0:00:00.023) 0:00:57.223 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:43:16 +0000 (0:00:00.020) 0:00:57.244 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:43:16 +0000 (0:00:00.191) 0:00:57.435 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:43:16 +0000 (0:00:00.044) 0:00:57.479 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:43:16 +0000 (0:00:00.064) 0:00:57.544 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:43:16 +0000 (0:00:00.027) 0:00:57.571 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:43:16 +0000 (0:00:00.031) 0:00:57.602 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:43:16 +0000 (0:00:00.021) 0:00:57.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:43:18 +0000 (0:00:01.574) 0:00:59.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:43:19 +0000 (0:00:01.321) 0:01:00.519 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:43:19 +0000 (0:00:00.026) 0:01:00.546 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:43:19 +0000 (0:00:00.025) 0:01:00.571 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:43:19 +0000 (0:00:00.030) 0:01:00.602 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:43:19 +0000 (0:00:00.046) 0:01:00.648 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:43:19 +0000 (0:00:00.035) 0:01:00.684 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:43:19 +0000 (0:00:00.032) 0:01:00.717 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:43:19 +0000 (0:00:00.026) 0:01:00.743 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:43:20 +0000 (0:00:00.026) 0:01:00.769 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:43:20 +0000 (0:00:00.032) 0:01:00.802 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:43:20 +0000 (0:00:00.357) 0:01:01.160 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmpkp48go0_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:43:20 +0000 (0:00:00.380) 0:01:01.541 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:43:21 +0000 (0:00:00.349) 0:01:01.890 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:43:21 +0000 (0:00:00.041) 0:01:01.931 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:43:21 +0000 (0:00:00.032) 0:01:01.963 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:43:21 +0000 (0:00:00.028) 0:01:01.991 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:43:21 +0000 (0:00:00.025) 0:01:02.017 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:43:21 +0000 (0:00:00.274) 0:01:02.291 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:43:21 +0000 (0:00:00.062) 0:01:02.354 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:43:21 +0000 (0:00:00.044) 0:01:02.398 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:43:21 +0000 (0:00:00.100) 0:01:02.499 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:43:21 +0000 (0:00:00.041) 0:01:02.541 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:43:21 +0000 (0:00:00.034) 0:01:02.575 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:43:21 +0000 (0:00:00.054) 0:01:02.630 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:43:23 +0000 (0:00:01.563) 0:01:04.194 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:43:24 +0000 (0:00:01.306) 0:01:05.501 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:43:24 +0000 (0:00:00.028) 0:01:05.529 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:43:24 +0000 (0:00:00.021) 0:01:05.551 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:43:24 +0000 (0:00:00.044) 0:01:05.595 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:43:24 +0000 (0:00:00.045) 0:01:05.640 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:43:24 +0000 (0:00:00.040) 0:01:05.680 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:43:24 +0000 (0:00:00.056) 0:01:05.737 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:43:25 +0000 (0:00:00.027) 0:01:05.765 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:43:25 +0000 (0:00:00.023) 0:01:05.788 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:43:25 +0000 (0:00:00.027) 0:01:05.816 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:43:25 +0000 (0:00:00.348) 0:01:06.165 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmpvbyvhucs" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:43:25 +0000 (0:00:00.301) 0:01:06.466 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:43:26 +0000 (0:00:00.315) 0:01:06.782 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:43:26 +0000 (0:00:00.040) 0:01:06.823 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:43:26 +0000 (0:00:00.047) 0:01:06.870 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:43:26 +0000 (0:00:00.043) 0:01:06.913 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:43:26 +0000 (0:00:00.043) 0:01:06.957 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:43:26 +0000 (0:00:00.210) 0:01:07.167 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:43:26 +0000 (0:00:00.041) 0:01:07.208 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:43:26 +0000 (0:00:00.039) 0:01:07.248 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:43:26 +0000 (0:00:00.030) 0:01:07.279 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:43:26 +0000 (0:00:00.212) 0:01:07.491 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:43:26 +0000 (0:00:00.033) 0:01:07.525 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019936", "end": "2024-01-09 02:43:26.987586", "rc": 1, "start": "2024-01-09 02:43:26.967650" } 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.238) 0:01:07.763 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.023) 0:01:07.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.023) 0:01:07.810 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.023) 0:01:07.833 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.024) 0:01:07.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.022) 0:01:07.880 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.025) 0:01:07.906 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.055) 0:01:07.961 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.023) 0:01:07.985 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.040) 0:01:08.026 ******* 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.045780", "end": "2024-01-09 02:43:27.492801", "rc": 0, "start": "2024-01-09 02:43:27.447021" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.245) 0:01:08.272 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.038) 0:01:08.310 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.029) 0:01:08.339 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.049) 0:01:08.389 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.051) 0:01:08.441 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.055) 0:01:08.496 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003234", "end": "2024-01-09 02:43:27.932009", "rc": 0, "start": "2024-01-09 02:43:27.928775" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:43:27 +0000 (0:00:00.215) 0:01:08.712 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:43:28 +0000 (0:00:00.061) 0:01:08.773 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:43:28 +0000 (0:00:00.034) 0:01:08.808 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:43:28 +0000 (0:00:00.057) 0:01:08.866 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:43:28 +0000 (0:00:00.046) 0:01:08.913 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:43:28 +0000 (0:00:00.043) 0:01:08.956 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:43:28 +0000 (0:00:00.032) 0:01:08.988 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:43:28 +0000 (0:00:00.025) 0:01:09.014 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:43:28 +0000 (0:00:00.026) 0:01:09.040 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:43:29 +0000 (0:00:01.598) 0:01:10.639 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:43:31 +0000 (0:00:01.322) 0:01:11.961 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:43:31 +0000 (0:00:00.025) 0:01:11.987 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:43:31 +0000 (0:00:00.022) 0:01:12.009 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:43:31 +0000 (0:00:00.021) 0:01:12.031 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:43:31 +0000 (0:00:00.044) 0:01:12.075 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:43:31 +0000 (0:00:00.022) 0:01:12.097 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:43:31 +0000 (0:00:00.028) 0:01:12.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:43:31 +0000 (0:00:00.048) 0:01:12.174 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:43:31 +0000 (0:00:00.041) 0:01:12.216 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:43:31 +0000 (0:00:00.051) 0:01:12.268 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:43:31 +0000 (0:00:00.352) 0:01:12.621 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmp6jq1ptv5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:43:32 +0000 (0:00:00.295) 0:01:12.916 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:43:32 +0000 (0:00:00.320) 0:01:13.237 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:43:32 +0000 (0:00:00.027) 0:01:13.264 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:43:32 +0000 (0:00:00.024) 0:01:13.289 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:43:32 +0000 (0:00:00.032) 0:01:13.321 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:43:32 +0000 (0:00:00.034) 0:01:13.356 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:43:32 +0000 (0:00:00.230) 0:01:13.587 ******* 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_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:43:32 +0000 (0:00:00.035) 0:01:13.623 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:43:32 +0000 (0:00:00.045) 0:01:13.669 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:43:33 +0000 (0:00:00.080) 0:01:13.749 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:43:33 +0000 (0:00:00.031) 0:01:13.781 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:43:33 +0000 (0:00:00.039) 0:01:13.820 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:43:33 +0000 (0:00:00.032) 0:01:13.853 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:43:34 +0000 (0:00:01.613) 0:01:15.466 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:43:36 +0000 (0:00:01.372) 0:01:16.838 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:43:36 +0000 (0:00:00.080) 0:01:16.918 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:43:36 +0000 (0:00:00.031) 0:01:16.949 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:43:36 +0000 (0:00:00.028) 0:01:16.978 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:43:36 +0000 (0:00:00.078) 0:01:17.056 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:43:36 +0000 (0:00:00.051) 0:01:17.108 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:43:36 +0000 (0:00:00.051) 0:01:17.159 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:43:36 +0000 (0:00:00.035) 0:01:17.195 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:43:36 +0000 (0:00:00.042) 0:01:17.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:43:36 +0000 (0:00:00.032) 0:01:17.270 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:43:36 +0000 (0:00:00.439) 0:01:17.710 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmp12g_sfz3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:43:37 +0000 (0:00:00.403) 0:01:18.113 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:43:37 +0000 (0:00:00.562) 0:01:18.675 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:43:37 +0000 (0:00:00.022) 0:01:18.697 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:43:38 +0000 (0:00:00.051) 0:01:18.748 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:43:38 +0000 (0:00:00.035) 0:01:18.784 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:43:38 +0000 (0:00:00.033) 0:01:18.818 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:43:38 +0000 (0:00:00.192) 0:01:19.010 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:43:38 +0000 (0:00:00.037) 0:01:19.047 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:43:38 +0000 (0:00:00.041) 0:01:19.089 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:43:38 +0000 (0:00:00.028) 0:01:19.118 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:43:38 +0000 (0:00:00.023) 0:01:19.141 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:43:38 +0000 (0:00:00.022) 0:01:19.163 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:43:40 +0000 (0:00:01.592) 0:01:20.756 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:43:41 +0000 (0:00:01.297) 0:01:22.054 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:43:41 +0000 (0:00:00.024) 0:01:22.078 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:43:41 +0000 (0:00:00.024) 0:01:22.103 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:43:41 +0000 (0:00:00.022) 0:01:22.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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:43:41 +0000 (0:00:00.045) 0:01:22.171 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:43:41 +0000 (0:00:00.022) 0:01:22.194 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:43:41 +0000 (0:00:00.030) 0:01:22.225 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:43:41 +0000 (0:00:00.029) 0:01:22.254 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:43:41 +0000 (0:00:00.053) 0:01:22.308 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:43:41 +0000 (0:00:00.024) 0:01:22.333 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:43:41 +0000 (0:00:00.364) 0:01:22.697 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmpqt92ep8b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:43:42 +0000 (0:00:00.317) 0:01:23.015 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:43:42 +0000 (0:00:00.325) 0:01:23.341 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:43:42 +0000 (0:00:00.022) 0:01:23.363 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:43:42 +0000 (0:00:00.024) 0:01:23.388 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:43:42 +0000 (0:00:00.027) 0:01:23.415 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:43:42 +0000 (0:00:00.027) 0:01:23.443 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:43:42 +0000 (0:00:00.203) 0:01:23.646 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:43:42 +0000 (0:00:00.043) 0:01:23.690 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:43:43 +0000 (0:00:00.082) 0:01:23.773 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:43:43 +0000 (0:00:00.062) 0:01:23.835 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:43:43 +0000 (0:00:00.059) 0:01:23.894 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:43:43 +0000 (0:00:00.038) 0:01:23.933 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:43:43 +0000 (0:00:00.023) 0:01:23.956 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:43:44 +0000 (0:00:01.570) 0:01:25.527 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:43:46 +0000 (0:00:01.327) 0:01:26.854 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:43:46 +0000 (0:00:00.026) 0:01:26.881 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:43:46 +0000 (0:00:00.039) 0:01:26.920 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:43:46 +0000 (0:00:00.040) 0:01:26.961 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:43:46 +0000 (0:00:00.052) 0:01:27.013 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:43:46 +0000 (0:00:00.024) 0:01:27.037 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:43:46 +0000 (0:00:00.028) 0:01:27.066 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:43:46 +0000 (0:00:00.045) 0:01:27.111 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:43:46 +0000 (0:00:00.035) 0:01:27.146 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:43:46 +0000 (0:00:00.037) 0:01:27.183 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:43:46 +0000 (0:00:00.382) 0:01:27.566 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17667fgf199j4/tmpb10kmr3w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:43:47 +0000 (0:00:00.337) 0:01:27.903 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:43:47 +0000 (0:00:00.335) 0:01:28.238 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:43:47 +0000 (0:00:00.088) 0:01:28.327 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:43:47 +0000 (0:00:00.029) 0:01:28.356 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:43:47 +0000 (0:00:00.036) 0:01:28.393 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:43:47 +0000 (0:00:00.031) 0:01:28.424 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:43:47 +0000 (0:00:00.215) 0:01:28.640 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:43:47 +0000 (0:00:00.068) 0:01:28.709 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:43:48 +0000 (0:00:00.038) 0:01:28.747 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:43:48 +0000 (0:00:00.026) 0:01:28.773 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:43:48 +0000 (0:00:00.193) 0:01:28.967 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:43:48 +0000 (0:00:00.021) 0:01:28.989 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020597", "end": "2024-01-09 02:43:48.431127", "rc": 1, "start": "2024-01-09 02:43:48.410530" } 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:43:48 +0000 (0:00:00.234) 0:01:29.223 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:43:48 +0000 (0:00:00.025) 0:01:29.249 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:43:48 +0000 (0:00:00.069) 0:01:29.318 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:43:48 +0000 (0:00:00.025) 0:01:29.344 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:43:48 +0000 (0:00:00.032) 0:01:29.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:43:48 +0000 (0:00:00.038) 0:01:29.415 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 02:43:48 +0000 (0:00:00.050) 0:01:29.465 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.940501", "end": "2024-01-09 02:43:49.827580", "rc": 0, "start": "2024-01-09 02:43:48.887079" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 02:43:49 +0000 (0:00:01.176) 0:01:30.642 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 02:43:49 +0000 (0:00:00.047) 0:01:30.690 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:43:50 +0000 (0:00:00.063) 0:01:30.753 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:43:50 +0000 (0:00:00.050) 0:01:30.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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:43:50 +0000 (0:00:00.079) 0:01:30.884 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:43:50 +0000 (0:00:00.074) 0:01:30.959 ******* 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.044140", "end": "2024-01-09 02:43:50.434524", "rc": 0, "start": "2024-01-09 02:43:50.390384" } 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 Tuesday 09 January 2024 02:43:50 +0000 (0:00:00.256) 0:01:31.215 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.31s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.95s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.67s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.62s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 1.52s /WORKDIR/git-route_typevzdh1lfv/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. ---^---^---^---^---^---