# 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_auto_gateway_initscripts.yml *********************************** 2 plays in /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tests_auto_gateway_initscripts.yml:4 Wednesday 20 December 2023 20:27:25 +0000 (0:00:00.013) 0:00:00.013 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 20 December 2023 20:27:26 +0000 (0:00:00.743) 0:00:00.757 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 20:27:26 +0000 (0:00:00.011) 0:00:00.768 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:19 Wednesday 20 December 2023 20:27:26 +0000 (0:00:00.354) 0:00:01.123 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:24 Wednesday 20 December 2023 20:27:26 +0000 (0:00:00.267) 0:00:01.391 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:28 Wednesday 20 December 2023 20:27:26 +0000 (0:00:00.038) 0:00:01.429 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:53 Wednesday 20 December 2023 20:27:26 +0000 (0:00:00.027) 0:00:01.457 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 20:27:26 +0000 (0:00:00.033) 0:00:01.490 **** 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-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 20:27:27 +0000 (0:00:00.244) 0:00:01.735 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 20:27:27 +0000 (0:00:00.011) 0:00:01.747 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 20:27:27 +0000 (0:00:00.012) 0:00:01.759 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.255784", "end": "2023-12-20 20:27:27.658797", "rc": 0, "start": "2023-12-20 20:27:27.403013" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 20:27:27 +0000 (0:00:00.448) 0:00:02.208 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tests_auto_gateway_initscripts.yml:10 Wednesday 20 December 2023 20:27:27 +0000 (0:00:00.023) 0:00:02.231 **** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 20 December 2023 20:27:27 +0000 (0:00:00.039) 0:00:02.270 **** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.599) 0:00:02.869 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.031) 0:00:02.900 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.015) 0:00:02.916 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003576", "end": "2023-12-20 20:27:28.564675", "rc": 0, "start": "2023-12-20 20:27:28.561099" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.197) 0:00:03.113 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.013) 0:00:03.126 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.011) 0:00:03.137 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.027) 0:00:03.165 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.011) 0:00:03.176 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.010) 0:00:03.187 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.014) 0:00:03.201 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.016) 0:00:03.218 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003577", "end": "2023-12-20 20:27:28.864090", "rc": 0, "start": "2023-12-20 20:27:28.860513" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.193) 0:00:03.412 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.012) 0:00:03.424 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:27:28 +0000 (0:00:00.011) 0:00:03.436 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:27:32 +0000 (0:00:03.320) 0:00:06.757 **** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.015655", "end": "2023-12-20 20:27:32.435959", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-20 20:27:32.420304" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003840", "end": "2023-12-20 20:27:32.663842", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-20 20:27:32.660002" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004451", "end": "2023-12-20 20:27:32.880635", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-20 20:27:32.876184" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:27:32 +0000 (0:00:00.677) 0:00:07.435 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.128738", "end": "2023-12-20 20:27:33.205463", "rc": 0, "start": "2023-12-20 20:27:33.076725" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.327) 0:00:07.762 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.012) 0:00:07.775 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.012) 0:00:07.787 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.012) 0:00:07.799 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.012) 0:00:07.811 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.012) 0:00:07.823 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.044) 0:00:07.867 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.016) 0:00:07.884 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104052.4310374, "block_size": 4096, "blocks": 0, "ctime": 1703104052.4310374, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21804, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703104052.4310374, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.199) 0:00:08.083 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.019) 0:00:08.103 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.012) 0:00:08.116 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.070) 0:00:08.186 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.015) 0:00:08.202 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.011) 0:00:08.214 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:27:33 +0000 (0:00:00.011) 0:00:08.225 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:27:35 +0000 (0:00:01.585) 0:00:09.810 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:27:36 +0000 (0:00:01.558) 0:00:11.369 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:27:36 +0000 (0:00:00.032) 0:00:11.402 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:27:36 +0000 (0:00:00.059) 0:00:11.461 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:27:36 +0000 (0:00:00.023) 0:00:11.485 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:27:41 +0000 (0:00:04.896) 0:00:16.381 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:27:41 +0000 (0:00:00.023) 0:00:16.405 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:27:41 +0000 (0:00:00.023) 0:00:16.428 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:27:41 +0000 (0:00:00.027) 0:00:16.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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:27:41 +0000 (0:00:00.048) 0:00:16.504 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:27:42 +0000 (0:00:00.027) 0:00:16.532 **** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:27:42 +0000 (0:00:00.916) 0:00:17.449 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2604kacn2uee/tmp00n8rrme" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:27:43 +0000 (0:00:00.417) 0:00:17.867 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:27:51 +0000 (0:00:07.765) 0:00:25.632 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:27:51 +0000 (0:00:00.025) 0:00:25.658 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:27:51 +0000 (0:00:00.027) 0:00:25.686 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:27:51 +0000 (0:00:00.052) 0:00:25.738 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:27:51 +0000 (0:00:00.024) 0:00:25.762 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 20 December 2023 20:27:51 +0000 (0:00:00.245) 0:00:26.008 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:27:51 +0000 (0:00:00.051) 0:00:26.059 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:27:51 +0000 (0:00:00.037) 0:00:26.097 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104052.4310374, "block_size": 4096, "blocks": 0, "ctime": 1703104052.4310374, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21804, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703104052.4310374, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:27:51 +0000 (0:00:00.201) 0:00:26.298 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 20 December 2023 20:27:51 +0000 (0:00:00.032) 0:00:26.330 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:27:51 +0000 (0:00:00.056) 0:00:26.387 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:27:51 +0000 (0:00:00.038) 0:00:26.426 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.113) 0:00:26.539 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104063.8271358, "block_size": 4096, "blocks": 8, "ctime": 1703104063.8261359, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703104063.8261359, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.207) 0:00:26.747 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.025) 0:00:26.773 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021608", "end": "2023-12-20 20:27:52.436458", "rc": 1, "start": "2023-12-20 20:27:52.414850" } 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.222) 0:00:26.995 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.023) 0:00:27.018 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003208", "end": "2023-12-20 20:27:52.663527", "rc": 0, "start": "2023-12-20 20:27:52.660319" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.216) 0:00:27.234 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.039) 0:00:27.273 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003393", "end": "2023-12-20 20:27:52.920500", "rc": 0, "start": "2023-12-20 20:27:52.917107" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.208) 0:00:27.482 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:27:52 +0000 (0:00:00.037) 0:00:27.520 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.024) 0:00:27.545 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.025) 0:00:27.571 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.025) 0:00:27.596 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003982", "end": "2023-12-20 20:27:53.240350", "rc": 0, "start": "2023-12-20 20:27:53.236368" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.4 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.4 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.207) 0:00:27.803 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.060) 0:00:27.864 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004110", "end": "2023-12-20 20:27:53.511942", "rc": 0, "start": "2023-12-20 20:27:53.507832" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.217) 0:00:28.081 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.043) 0:00:28.125 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.039) 0:00:28.164 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.050) 0:00:28.215 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.036) 0:00:28.251 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.023) 0:00:28.286 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:27:53 +0000 (0:00:00.026) 0:00:28.313 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:27:55 +0000 (0:00:01.613) 0:00:29.926 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:27:56 +0000 (0:00:01.374) 0:00:31.301 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.026) 0:00:31.328 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.025) 0:00:31.353 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.024) 0:00:31.377 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.046) 0:00:31.423 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.023) 0:00:31.447 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.023) 0:00:31.470 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.027) 0:00:31.497 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:27:56 +0000 (0:00:00.022) 0:00:31.520 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:27:57 +0000 (0:00:00.022) 0:00:31.543 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:27:57 +0000 (0:00:00.375) 0:00:31.919 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2604kacn2uee/tmp248kb53p" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:27:57 +0000 (0:00:00.343) 0:00:32.262 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.441) 0:00:32.703 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.023) 0:00:32.727 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.025) 0:00:32.752 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.025) 0:00:32.777 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.023) 0:00:32.801 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.196) 0:00:32.997 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.058) 0:00:33.056 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.029) 0:00:33.085 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.056) 0:00:33.141 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.037) 0:00:33.178 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.035) 0:00:33.214 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003430", "end": "2023-12-20 20:27:58.858449", "rc": 0, "start": "2023-12-20 20:27:58.855019" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.203) 0:00:33.418 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.023) 0:00:33.441 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:27:58 +0000 (0:00:00.034) 0:00:33.476 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:28:02 +0000 (0:00:03.127) 0:00:36.603 **** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.091) 0:00:36.695 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.040) 0:00:36.735 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012312", "end": "2023-12-20 20:28:02.392807", "rc": 0, "start": "2023-12-20 20:28:02.380495" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.248) 0:00:36.984 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.038) 0:00:37.022 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.031) 0:00:37.054 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.051) 0:00:37.106 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.049) 0:00:37.155 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.029) 0:00:37.185 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.185) 0:00:37.370 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.090) 0:00:37.460 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:28:02 +0000 (0:00:00.027) 0:00:37.488 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.066) 0:00:37.554 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.110) 0:00:37.664 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003524", "end": "2023-12-20 20:28:03.389633", "rc": 0, "start": "2023-12-20 20:28:03.386109" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.343) 0:00:38.008 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.077) 0:00:38.085 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:28:03 +0000 (0:00:00.130) 0:00:38.216 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:28:06 +0000 (0:00:03.096) 0:00:41.312 **** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.012532", "end": "2023-12-20 20:28:07.053630", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-20 20:28:07.041098" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004122", "end": "2023-12-20 20:28:07.291900", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-20 20:28:07.287778" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004549", "end": "2023-12-20 20:28:07.493315", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-20 20:28:07.488766" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:28:07 +0000 (0:00:00.768) 0:00:42.081 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022489", "end": "2023-12-20 20:28:07.776802", "rc": 0, "start": "2023-12-20 20:28:07.754313" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:28:07 +0000 (0:00:00.288) 0:00:42.370 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:28:07 +0000 (0:00:00.035) 0:00:42.405 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:28:07 +0000 (0:00:00.074) 0:00:42.479 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:28:07 +0000 (0:00:00.030) 0:00:42.510 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:28:08 +0000 (0:00:00.039) 0:00:42.549 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:28:08 +0000 (0:00:00.047) 0:00:42.597 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:28:08 +0000 (0:00:00.159) 0:00:42.756 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:28:08 +0000 (0:00:00.043) 0:00:42.800 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:28:08 +0000 (0:00:00.040) 0:00:42.840 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:28:08 +0000 (0:00:00.033) 0:00:42.873 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:28:10 +0000 (0:00:01.658) 0:00:44.532 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:28:11 +0000 (0:00:01.372) 0:00:45.905 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.086) 0:00:45.991 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.087) 0:00:46.078 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.063) 0:00:46.142 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.308) 0:00:46.450 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:28:11 +0000 (0:00:00.056) 0:00:46.506 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:28:12 +0000 (0:00:00.030) 0:00:46.537 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:28:12 +0000 (0:00:00.052) 0:00:46.589 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:28:12 +0000 (0:00:00.041) 0:00:46.631 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:28:12 +0000 (0:00:00.055) 0:00:46.686 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:28:12 +0000 (0:00:00.511) 0:00:47.197 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2604kacn2uee/tmppmhyrqye" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:28:13 +0000 (0:00:00.459) 0:00:47.657 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:28:19 +0000 (0:00:06.582) 0:00:54.239 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:28:19 +0000 (0:00:00.077) 0:00:54.316 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:28:19 +0000 (0:00:00.036) 0:00:54.353 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:28:19 +0000 (0:00:00.029) 0:00:54.383 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:28:19 +0000 (0:00:00.025) 0:00:54.408 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.204) 0:00:54.613 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.114) 0:00:54.727 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.053) 0:00:54.781 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104087.0449166, "block_size": 4096, "blocks": 0, "ctime": 1703104087.0449166, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703104087.0449166, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.216) 0:00:54.997 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.030) 0:00:55.027 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.054) 0:00:55.081 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.036) 0:00:55.118 **** 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.024) 0:00:55.143 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104093.4656982, "block_size": 4096, "blocks": 8, "ctime": 1703104093.4446979, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4750454, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703104093.4446979, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.239) 0:00:55.383 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:28:20 +0000 (0:00:00.093) 0:00:55.476 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021436", "end": "2023-12-20 20:28:21.163560", "rc": 1, "start": "2023-12-20 20:28:21.142124" } 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-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:28:21 +0000 (0:00:00.259) 0:00:55.736 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:28:21 +0000 (0:00:00.173) 0:00:55.909 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003370", "end": "2023-12-20 20:28:21.579558", "rc": 0, "start": "2023-12-20 20:28:21.576188" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:28:21 +0000 (0:00:00.259) 0:00:56.168 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:28:21 +0000 (0:00:00.050) 0:00:56.219 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003132", "end": "2023-12-20 20:28:21.895773", "rc": 0, "start": "2023-12-20 20:28:21.892641" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:28:21 +0000 (0:00:00.276) 0:00:56.495 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.042) 0:00:56.538 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.047) 0:00:56.586 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.063) 0:00:56.650 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.055) 0:00:56.706 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003784", "end": "2023-12-20 20:28:22.412344", "rc": 0, "start": "2023-12-20 20:28:22.408560" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.4 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.4 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.281) 0:00:56.988 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.036) 0:00:57.024 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004185", "end": "2023-12-20 20:28:22.675476", "rc": 0, "start": "2023-12-20 20:28:22.671291" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.226) 0:00:57.250 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.022) 0:00:57.272 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.032) 0:00:57.305 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.052) 0:00:57.357 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.111) 0:00:57.469 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:28:22 +0000 (0:00:00.059) 0:00:57.528 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:28:23 +0000 (0:00:00.050) 0:00:57.579 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:28:24 +0000 (0:00:01.619) 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:28:26 +0000 (0:00:01.371) 0:01:00.569 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:28:26 +0000 (0:00:00.064) 0:01:00.634 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:28:26 +0000 (0:00:00.101) 0:01:00.735 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:28:26 +0000 (0:00:00.049) 0:01:00.784 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:28:26 +0000 (0:00:00.082) 0:01:00.867 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:28:26 +0000 (0:00:00.029) 0:01:00.896 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:28:26 +0000 (0:00:00.056) 0:01:00.953 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:28:26 +0000 (0:00:00.093) 0:01:01.047 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:28:26 +0000 (0:00:00.052) 0:01:01.100 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:28:26 +0000 (0:00:00.029) 0:01:01.129 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:28:27 +0000 (0:00:00.406) 0:01:01.535 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2604kacn2uee/tmpnc21ayy3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:28:27 +0000 (0:00:00.556) 0:01:02.092 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:28:28 +0000 (0:00:00.521) 0:01:02.613 **** 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-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:28:28 +0000 (0:00:00.030) 0:01:02.644 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:28:28 +0000 (0:00:00.048) 0:01:02.693 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:28:28 +0000 (0:00:00.052) 0:01:02.745 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:28:28 +0000 (0:00:00.022) 0:01:02.768 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 20 December 2023 20:28:28 +0000 (0:00:00.313) 0:01:03.081 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:28:28 +0000 (0:00:00.102) 0:01:03.184 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:28:28 +0000 (0:00:00.066) 0:01:03.250 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:28:28 +0000 (0:00:00.041) 0:01:03.292 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:28:28 +0000 (0:00:00.050) 0:01:03.343 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:28:28 +0000 (0:00:00.043) 0:01:03.387 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003171", "end": "2023-12-20 20:28:29.049531", "rc": 0, "start": "2023-12-20 20:28:29.046360" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:28:29 +0000 (0:00:00.240) 0:01:03.627 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:28:29 +0000 (0:00:00.029) 0:01:03.656 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:28:29 +0000 (0:00:00.032) 0:01:03.689 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:28:32 +0000 (0:00:03.013) 0:01:06.702 **** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:28:32 +0000 (0:00:00.035) 0:01:06.737 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:28:32 +0000 (0:00:00.024) 0:01:06.761 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014285", "end": "2023-12-20 20:28:32.419951", "rc": 0, "start": "2023-12-20 20:28:32.405666" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:28:32 +0000 (0:00:00.224) 0:01:06.986 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:28:32 +0000 (0:00:00.032) 0:01:07.018 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:28:32 +0000 (0:00:00.037) 0:01:07.056 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:28:32 +0000 (0:00:00.028) 0:01:07.085 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=138 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Wednesday 20 December 2023 20:28:32 +0000 (0:00:00.050) 0:01:07.135 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 7.77s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 6.58s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Install packages --------------------------- 4.90s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 3.32s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.13s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.10s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.01s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.56s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.96s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.92s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.90s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 0.78s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Create veth interface veth0 --------------------------------------------- 0.77s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:24 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---