# 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-route_typellq02zyd/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-route_typellq02zyd/tests/tests_auto_gateway_initscripts.yml:4 Tuesday 19 December 2023 23:18:51 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typellq02zyd/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 19 December 2023 23:18:52 +0000 (0:00:01.732) 0:00:01.745 ****** included: /WORKDIR/git-route_typellq02zyd/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/el_repo_setup.yml:3 Tuesday 19 December 2023 23:18:52 +0000 (0:00:00.023) 0:00:01.769 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/el_repo_setup.yml:19 Tuesday 19 December 2023 23:18:53 +0000 (0:00:00.375) 0:00:02.144 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/el_repo_setup.yml:24 Tuesday 19 December 2023 23:18:53 +0000 (0:00:00.282) 0:00:02.426 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/el_repo_setup.yml:28 Tuesday 19 December 2023 23:18:53 +0000 (0:00:00.032) 0:00:02.459 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/el_repo_setup.yml:53 Tuesday 19 December 2023 23:18:53 +0000 (0:00:00.021) 0:00:02.481 ****** included: /WORKDIR/git-route_typellq02zyd/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/enable_epel.yml:8 Tuesday 19 December 2023 23:18:53 +0000 (0:00:00.049) 0:00:02.530 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/enable_epel.yml:24 Tuesday 19 December 2023 23:18:53 +0000 (0:00:00.251) 0:00:02.782 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/enable_epel.yml:30 Tuesday 19 December 2023 23:18:53 +0000 (0:00:00.011) 0:00:02.793 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/enable_epel.yml:35 Tuesday 19 December 2023 23:18:53 +0000 (0:00:00.010) 0:00:02.803 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.265508", "end": "2023-12-19 23:18:54.325343", "rc": 0, "start": "2023-12-19 23:18:54.059835" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/enable_epel.yml:40 Tuesday 19 December 2023 23:18:54 +0000 (0:00:00.475) 0:00:03.279 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 19 December 2023 23:18:54 +0000 (0:00:00.022) 0:00:03.301 ****** 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-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 19 December 2023 23:18:54 +0000 (0:00:00.015) 0:00:03.316 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.687) 0:00:04.003 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.022) 0:00:04.026 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.016) 0:00:04.042 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003560", "end": "2023-12-19 23:18:55.304218", "rc": 0, "start": "2023-12-19 23:18:55.300658" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.209) 0:00:04.251 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.015) 0:00:04.267 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.018) 0:00:04.286 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.040) 0:00:04.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.012) 0:00:04.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.016) 0:00:04.355 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.036) 0:00:04.391 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.026) 0:00:04.417 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003792", "end": "2023-12-19 23:18:55.683410", "rc": 0, "start": "2023-12-19 23:18:55.679618" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.209) 0:00:04.627 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.025) 0:00:04.653 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 23:18:55 +0000 (0:00:00.020) 0:00:04.673 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 19 December 2023 23:18:59 +0000 (0:00:03.324) 0:00:07.997 ****** 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.016571", "end": "2023-12-19 23:18:59.283972", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-19 23:18:59.267401" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004856", "end": "2023-12-19 23:18:59.541449", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-19 23:18:59.536593" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005021", "end": "2023-12-19 23:18:59.737345", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-19 23:18:59.732324" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 19 December 2023 23:18:59 +0000 (0:00:00.678) 0:00:08.676 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.117745", "end": "2023-12-19 23:19:00.053964", "rc": 0, "start": "2023-12-19 23:18:59.936219" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.316) 0:00:08.993 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.017) 0:00:09.010 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.013) 0:00:09.024 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.015) 0:00:09.040 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.012) 0:00:09.053 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.011) 0:00:09.064 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.036) 0:00:09.101 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.015) 0:00:09.116 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027939.2785158, "block_size": 4096, "blocks": 0, "ctime": 1703027939.2785158, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21774, "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": 1703027939.2785158, "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-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.213) 0:00:09.329 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.028) 0:00:09.358 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.031) 0:00:09.390 ****** included: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.101) 0:00:09.491 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.028) 0:00:09.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.022) 0:00:09.542 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:19:00 +0000 (0:00:00.012) 0:00:09.555 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:19:02 +0000 (0:00:01.751) 0:00:11.307 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:19:04 +0000 (0:00:01.626) 0:00:12.934 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:19:04 +0000 (0:00:00.025) 0:00:12.959 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:19:04 +0000 (0:00:00.028) 0:00:12.987 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:19:04 +0000 (0:00:00.028) 0:00:13.016 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:19:08 +0000 (0:00:04.889) 0:00:17.906 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:19:09 +0000 (0:00:00.032) 0:00:17.938 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:19:09 +0000 (0:00:00.024) 0:00:17.962 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:19:09 +0000 (0:00:00.076) 0:00:18.039 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:19:09 +0000 (0:00:00.027) 0:00:18.066 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:19:09 +0000 (0:00:00.027) 0:00:18.093 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:19:10 +0000 (0:00:00.840) 0:00:18.934 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2486wvat1t_a/tmpxii0uleo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:19:10 +0000 (0:00:00.314) 0:00:19.248 ****** 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\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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:19:17 +0000 (0:00:06.675) 0:00:25.923 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:19:17 +0000 (0:00:00.023) 0:00:25.946 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:19:17 +0000 (0:00:00.027) 0:00:25.974 ****** 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\\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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:19:17 +0000 (0:00:00.026) 0:00:26.000 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:19:17 +0000 (0:00:00.022) 0:00:26.023 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 19 December 2023 23:19:17 +0000 (0:00:00.306) 0:00:26.329 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 23:19:17 +0000 (0:00:00.109) 0:00:26.439 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:19:17 +0000 (0:00:00.037) 0:00:26.477 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027939.2785158, "block_size": 4096, "blocks": 0, "ctime": 1703027939.2785158, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21774, "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": 1703027939.2785158, "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-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 23:19:17 +0000 (0:00:00.209) 0:00:26.686 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 19 December 2023 23:19:17 +0000 (0:00:00.024) 0:00:26.711 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 23:19:17 +0000 (0:00:00.052) 0:00:26.764 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 23:19:17 +0000 (0:00:00.040) 0:00:26.804 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 23:19:17 +0000 (0:00:00.024) 0:00:26.828 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027950.7281933, "block_size": 4096, "blocks": 8, "ctime": 1703027950.727193, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703027950.727193, "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-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 23:19:18 +0000 (0:00:00.205) 0:00:27.034 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 23:19:18 +0000 (0:00:00.033) 0:00:27.067 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021583", "end": "2023-12-19 23:19:18.346280", "rc": 1, "start": "2023-12-19 23:19:18.324697" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 23:19:18 +0000 (0:00:00.264) 0:00:27.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 23:19:18 +0000 (0:00:00.027) 0:00:27.360 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003363", "end": "2023-12-19 23:19:18.647462", "rc": 0, "start": "2023-12-19 23:19:18.644099" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 23:19:18 +0000 (0:00:00.256) 0:00:27.616 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 23:19:18 +0000 (0:00:00.056) 0:00:27.673 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003615", "end": "2023-12-19 23:19:18.960578", "rc": 0, "start": "2023-12-19 23:19:18.956963" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.265) 0:00:27.939 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.033) 0:00:27.972 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.049) 0:00:28.022 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.028) 0:00:28.050 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.026) 0:00:28.077 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003917", "end": "2023-12-19 23:19:19.337680", "rc": 0, "start": "2023-12-19 23:19:19.333763" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.218 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.11.218 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-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.210) 0:00:28.288 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.027) 0:00:28.315 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003893", "end": "2023-12-19 23:19:19.580079", "rc": 0, "start": "2023-12-19 23:19:19.576186" } 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-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.217) 0:00:28.532 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.028) 0:00:28.561 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.024) 0:00:28.586 ****** included: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.119) 0:00:28.705 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.044) 0:00:28.750 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.034) 0:00:28.784 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:19:19 +0000 (0:00:00.027) 0:00:28.811 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:19:21 +0000 (0:00:01.741) 0:00:30.553 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:19:23 +0000 (0:00:01.447) 0:00:32.000 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:19:23 +0000 (0:00:00.033) 0:00:32.034 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:19:23 +0000 (0:00:00.022) 0:00:32.057 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:19:23 +0000 (0:00:00.025) 0:00:32.082 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:19:23 +0000 (0:00:00.060) 0:00:32.142 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:19:23 +0000 (0:00:00.030) 0:00:32.173 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:19:23 +0000 (0:00:00.025) 0:00:32.199 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:19:23 +0000 (0:00:00.029) 0:00:32.228 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:19:23 +0000 (0:00:00.041) 0:00:32.270 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:19:23 +0000 (0:00:00.068) 0:00:32.338 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:19:23 +0000 (0:00:00.409) 0:00:32.747 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2486wvat1t_a/tmp1n8z_v0b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:19:24 +0000 (0:00:00.425) 0:00:33.173 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:19:24 +0000 (0:00:00.500) 0:00:33.674 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:19:24 +0000 (0:00:00.031) 0:00:33.705 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:19:24 +0000 (0:00:00.075) 0:00:33.780 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:19:24 +0000 (0:00:00.027) 0:00:33.808 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:19:24 +0000 (0:00:00.042) 0:00:33.851 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 19 December 2023 23:19:25 +0000 (0:00:00.277) 0:00:34.128 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 23:19:25 +0000 (0:00:00.068) 0:00:34.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 23:19:25 +0000 (0:00:00.030) 0:00:34.228 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 23:19:25 +0000 (0:00:00.046) 0:00:34.275 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:19:25 +0000 (0:00:00.038) 0:00:34.313 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:19:25 +0000 (0:00:00.046) 0:00:34.360 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003569", "end": "2023-12-19 23:19:25.668876", "rc": 0, "start": "2023-12-19 23:19:25.665307" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:19:25 +0000 (0:00:00.272) 0:00:34.632 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:19:25 +0000 (0:00:00.025) 0:00:34.657 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 23:19:25 +0000 (0:00:00.027) 0:00:34.685 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 19 December 2023 23:19:28 +0000 (0:00:03.075) 0:00:37.761 ****** 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-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 19 December 2023 23:19:28 +0000 (0:00:00.046) 0:00:37.807 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 19 December 2023 23:19:28 +0000 (0:00:00.025) 0:00:37.833 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014576", "end": "2023-12-19 23:19:29.110981", "rc": 0, "start": "2023-12-19 23:19:29.096405" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.260) 0:00:38.093 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.028) 0:00:38.122 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.030) 0:00:38.152 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.027) 0:00:38.180 ****** 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-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.078) 0:00:38.258 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.030) 0:00:38.289 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.077) 0:00:38.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.027) 0:00:38.394 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.030) 0:00:38.425 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.040) 0:00:38.465 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.057) 0:00:38.523 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003486", "end": "2023-12-19 23:19:29.803462", "rc": 0, "start": "2023-12-19 23:19:29.799976" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.246) 0:00:38.770 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.046) 0:00:38.816 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 23:19:29 +0000 (0:00:00.026) 0:00:38.842 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 19 December 2023 23:19:32 +0000 (0:00:03.045) 0:00:41.888 ****** 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.012142", "end": "2023-12-19 23:19:33.160413", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-19 23:19:33.148271" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004057", "end": "2023-12-19 23:19:33.390128", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-19 23:19:33.386071" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004522", "end": "2023-12-19 23:19:33.608436", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-19 23:19:33.603914" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 19 December 2023 23:19:33 +0000 (0:00:00.669) 0:00:42.558 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.025266", "end": "2023-12-19 23:19:33.839915", "rc": 0, "start": "2023-12-19 23:19:33.814649" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 19 December 2023 23:19:33 +0000 (0:00:00.232) 0:00:42.791 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 19 December 2023 23:19:33 +0000 (0:00:00.025) 0:00:42.816 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 19 December 2023 23:19:33 +0000 (0:00:00.023) 0:00:42.840 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 23:19:33 +0000 (0:00:00.024) 0:00:42.864 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 19 December 2023 23:19:33 +0000 (0:00:00.024) 0:00:42.889 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:19:34 +0000 (0:00:00.033) 0:00:42.922 ****** included: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:19:34 +0000 (0:00:00.115) 0:00:43.037 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:19:34 +0000 (0:00:00.032) 0:00:43.070 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:19:34 +0000 (0:00:00.027) 0:00:43.098 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:19:34 +0000 (0:00:00.044) 0:00:43.142 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:19:35 +0000 (0:00:01.686) 0:00:44.829 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:19:37 +0000 (0:00:01.460) 0:00:46.290 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:19:37 +0000 (0:00:00.048) 0:00:46.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:19:37 +0000 (0:00:00.053) 0:00:46.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:19:37 +0000 (0:00:00.059) 0:00:46.451 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:19:37 +0000 (0:00:00.100) 0:00:46.552 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:19:37 +0000 (0:00:00.043) 0:00:46.596 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:19:37 +0000 (0:00:00.033) 0:00:46.630 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:19:37 +0000 (0:00:00.055) 0:00:46.685 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:19:37 +0000 (0:00:00.036) 0:00:46.722 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:19:37 +0000 (0:00:00.092) 0:00:46.814 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:19:38 +0000 (0:00:00.486) 0:00:47.301 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2486wvat1t_a/tmpkmtp54qy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:19:38 +0000 (0:00:00.333) 0:00:47.634 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:19:45 +0000 (0:00:06.547) 0:00:54.181 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:19:45 +0000 (0:00:00.035) 0:00:54.217 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:19:45 +0000 (0:00:00.031) 0:00:54.248 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:19:45 +0000 (0:00:00.026) 0:00:54.275 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:19:45 +0000 (0:00:00.023) 0:00:54.298 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 19 December 2023 23:19:45 +0000 (0:00:00.243) 0:00:54.542 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 23:19:45 +0000 (0:00:00.062) 0:00:54.605 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:19:45 +0000 (0:00:00.046) 0:00:54.652 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027973.152187, "block_size": 4096, "blocks": 0, "ctime": 1703027973.152187, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22360, "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": 1703027973.152187, "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-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 23:19:45 +0000 (0:00:00.250) 0:00:54.903 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 19 December 2023 23:19:46 +0000 (0:00:00.034) 0:00:54.937 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 23:19:46 +0000 (0:00:00.084) 0:00:55.022 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 23:19:46 +0000 (0:00:00.049) 0:00:55.072 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 23:19:46 +0000 (0:00:00.036) 0:00:55.108 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027979.0142019, "block_size": 4096, "blocks": 8, "ctime": 1703027978.9922018, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703027978.9922018, "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-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 23:19:46 +0000 (0:00:00.209) 0:00:55.318 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 23:19:46 +0000 (0:00:00.023) 0:00:55.342 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021869", "end": "2023-12-19 23:19:46.621965", "rc": 1, "start": "2023-12-19 23:19:46.600096" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 23:19:46 +0000 (0:00:00.301) 0:00:55.644 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 23:19:46 +0000 (0:00:00.035) 0:00:55.679 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003350", "end": "2023-12-19 23:19:46.981398", "rc": 0, "start": "2023-12-19 23:19:46.978048" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 23:19:47 +0000 (0:00:00.283) 0:00:55.963 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 23:19:47 +0000 (0:00:00.053) 0:00:56.017 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003523", "end": "2023-12-19 23:19:47.287397", "rc": 0, "start": "2023-12-19 23:19:47.283874" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 23:19:47 +0000 (0:00:00.232) 0:00:56.249 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 23:19:47 +0000 (0:00:00.052) 0:00:56.301 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 23:19:47 +0000 (0:00:00.030) 0:00:56.331 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 23:19:47 +0000 (0:00:00.040) 0:00:56.372 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 19 December 2023 23:19:47 +0000 (0:00:00.038) 0:00:56.410 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003831", "end": "2023-12-19 23:19:47.670578", "rc": 0, "start": "2023-12-19 23:19:47.666747" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.218 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.218 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-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 19 December 2023 23:19:47 +0000 (0:00:00.221) 0:00:56.631 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 19 December 2023 23:19:47 +0000 (0:00:00.030) 0:00:56.662 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004023", "end": "2023-12-19 23:19:47.965414", "rc": 0, "start": "2023-12-19 23:19:47.961391" } 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-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 19 December 2023 23:19:48 +0000 (0:00:00.286) 0:00:56.949 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 19 December 2023 23:19:48 +0000 (0:00:00.041) 0:00:56.990 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:19:48 +0000 (0:00:00.040) 0:00:57.031 ****** included: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:19:48 +0000 (0:00:00.124) 0:00:57.156 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:19:48 +0000 (0:00:00.043) 0:00:57.199 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:19:48 +0000 (0:00:00.039) 0:00:57.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:19:48 +0000 (0:00:00.095) 0:00:57.335 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:19:50 +0000 (0:00:01.766) 0:00:59.101 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:19:51 +0000 (0:00:01.326) 0:01:00.428 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:19:51 +0000 (0:00:00.080) 0:01:00.509 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:19:51 +0000 (0:00:00.034) 0:01:00.544 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:19:51 +0000 (0:00:00.037) 0:01:00.581 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:19:51 +0000 (0:00:00.051) 0:01:00.632 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:19:51 +0000 (0:00:00.028) 0:01:00.661 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:19:51 +0000 (0:00:00.024) 0:01:00.685 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:19:51 +0000 (0:00:00.040) 0:01:00.725 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:19:51 +0000 (0:00:00.032) 0:01:00.758 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:19:51 +0000 (0:00:00.023) 0:01:00.782 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:19:52 +0000 (0:00:00.365) 0:01:01.148 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2486wvat1t_a/tmp0f32xv1s" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:19:52 +0000 (0:00:00.378) 0:01:01.526 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.468) 0:01:01.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.031) 0:01:02.027 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.089) 0:01:02.116 ****** 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-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.032) 0:01:02.149 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.037) 0:01:02.186 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.203) 0:01:02.390 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.058) 0:01:02.448 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.023) 0:01:02.471 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.023) 0:01:02.495 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.037) 0:01:02.532 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.037) 0:01:02.570 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003516", "end": "2023-12-19 23:19:53.828275", "rc": 0, "start": "2023-12-19 23:19:53.824759" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.207) 0:01:02.777 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.024) 0:01:02.801 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 23:19:53 +0000 (0:00:00.023) 0:01:02.825 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 19 December 2023 23:19:56 +0000 (0:00:03.035) 0:01:05.861 ****** 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-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 19 December 2023 23:19:56 +0000 (0:00:00.035) 0:01:05.897 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 19 December 2023 23:19:57 +0000 (0:00:00.025) 0:01:05.923 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009366", "end": "2023-12-19 23:19:57.189950", "rc": 0, "start": "2023-12-19 23:19:57.180584" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 19 December 2023 23:19:57 +0000 (0:00:00.219) 0:01:06.142 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 19 December 2023 23:19:57 +0000 (0:00:00.026) 0:01:06.169 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 23:19:57 +0000 (0:00:00.025) 0:01:06.194 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 19 December 2023 23:19:57 +0000 (0:00:00.024) 0:01:06.219 ****** 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 Tuesday 19 December 2023 23:19:57 +0000 (0:00:00.027) 0:01:06.247 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.68s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 6.55s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Install packages --------------------------- 4.89s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 3.32s /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.08s /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.05s /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.04s /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.77s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 1.73s /WORKDIR/git-route_typellq02zyd/tests/tests_auto_gateway_initscripts.yml:4 ---- linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.63s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.46s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.97s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.84s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.80s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 0.78s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:105 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---