# 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_type8mc2ghcb/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_type8mc2ghcb/tests/tests_auto_gateway_initscripts.yml:5 Tuesday 09 January 2024 20:07:17 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 09 January 2024 20:07:18 +0000 (0:00:00.867) 0:00:00.879 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:07:18 +0000 (0:00:00.014) 0:00:00.894 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:07:18 +0000 (0:00:00.248) 0:00:01.142 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:07:18 +0000 (0:00:00.175) 0:00:01.318 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:07:18 +0000 (0:00:00.021) 0:00:01.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:07:18 +0000 (0:00:00.018) 0:00:01.358 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:07:18 +0000 (0:00:00.033) 0:00:01.391 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:07:18 +0000 (0:00:00.011) 0:00:01.403 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:07:18 +0000 (0:00:00.010) 0:00:01.413 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:07:18 +0000 (0:00:00.010) 0:00:01.424 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:07:18 +0000 (0:00:00.011) 0:00:01.436 ******* changed: [sut] => { "changed": true, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "md5sum": "12399e686d606599d8958688eeeed500", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "src": "/root/.ansible/tmp/ansible-tmp-1704830838.602923-2678-73709326690335/source", "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 09 January 2024 20:07:19 +0000 (0:00:00.515) 0:00:01.951 ******* 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_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 09 January 2024 20:07:19 +0000 (0:00:00.027) 0:00:01.978 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 09 January 2024 20:07:19 +0000 (0:00:00.764) 0:00:02.743 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:07:19 +0000 (0:00:00.027) 0:00:02.770 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:07:19 +0000 (0:00:00.016) 0:00:02.787 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003330", "end": "2024-01-09 20:07:20.136724", "rc": 0, "start": "2024-01-09 20:07:20.133394" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:07:20 +0000 (0:00:00.197) 0:00:02.985 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:07:20 +0000 (0:00:00.013) 0:00:02.999 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 09 January 2024 20:07:20 +0000 (0:00:00.012) 0:00:03.011 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:07:20 +0000 (0:00:00.031) 0:00:03.043 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:07:20 +0000 (0:00:00.012) 0:00:03.055 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:07:20 +0000 (0:00:00.012) 0:00:03.067 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:07:20 +0000 (0:00:00.016) 0:00:03.084 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:07:20 +0000 (0:00:00.016) 0:00:03.100 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003264", "end": "2024-01-09 20:07:20.383325", "rc": 0, "start": "2024-01-09 20:07:20.380061" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:07:20 +0000 (0:00:00.129) 0:00:03.230 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:07:20 +0000 (0:00:00.013) 0:00:03.244 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:07:20 +0000 (0:00:00.014) 0:00:03.259 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 20:07:20 +0000 (0:00:00.529) 0:00:03.788 ******* 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.176590", "end": "2024-01-09 20:07:21.249585", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 20:07:21.072995" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004863", "end": "2024-01-09 20:07:21.429975", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 20:07:21.425112" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003461", "end": "2024-01-09 20:07:21.556769", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 20:07:21.553308" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 20:07:21 +0000 (0:00:00.617) 0:00:04.406 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli d set veth0 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 20:07:21 +0000 (0:00:00.127) 0:00:04.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 20:07:21 +0000 (0:00:00.013) 0:00:04.547 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 20:07:21 +0000 (0:00:00.013) 0:00:04.561 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:07:21 +0000 (0:00:00.012) 0:00:04.573 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 20:07:21 +0000 (0:00:00.012) 0:00:04.586 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 09 January 2024 20:07:21 +0000 (0:00:00.011) 0:00:04.598 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:07:21 +0000 (0:00:00.029) 0:00:04.628 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:07:21 +0000 (0:00:00.016) 0:00:04.644 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830841.309999, "block_size": 4096, "blocks": 0, "ctime": 1704830841.271999, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6437, "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": 1704830841.271999, "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_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:07:21 +0000 (0:00:00.121) 0:00:04.765 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 09 January 2024 20:07:21 +0000 (0:00:00.014) 0:00:04.780 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:07:21 +0000 (0:00:00.012) 0:00:04.793 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:07:22 +0000 (0:00:00.068) 0:00:04.862 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:07:22 +0000 (0:00:00.017) 0:00:04.879 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:07:22 +0000 (0:00:00.011) 0:00:04.890 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:07:22 +0000 (0:00:00.012) 0:00:04.903 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:07:23 +0000 (0:00:01.656) 0:00:06.559 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:07:24 +0000 (0:00:00.796) 0:00:07.355 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:07:24 +0000 (0:00:00.026) 0:00:07.382 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:07:24 +0000 (0:00:00.027) 0:00:07.409 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:07:24 +0000 (0:00:00.021) 0:00:07.431 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:07:24 +0000 (0:00:00.045) 0:00:07.476 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:07:24 +0000 (0:00:00.021) 0:00:07.498 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:07:24 +0000 (0:00:00.020) 0:00:07.518 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:07:24 +0000 (0:00:00.024) 0:00:07.543 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:07:24 +0000 (0:00:00.020) 0:00:07.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:07:24 +0000 (0:00:00.021) 0:00:07.585 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:07:25 +0000 (0:00:00.308) 0:00:07.894 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2606f_w9jgi2/tmpqxfwxjd5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:07:25 +0000 (0:00:00.218) 0:00:08.112 ******* 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='Determining if ip address 203.0.113.2 is already in use for device veth0... ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:07:29 +0000 (0:00:04.473) 0:00:12.585 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:07:29 +0000 (0:00:00.023) 0:00:12.609 ******* 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='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:07:29 +0000 (0:00:00.034) 0:00:12.643 ******* 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='Determining if ip address 203.0.113.2 is already in use for device veth0...\n', err=''\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='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:07:29 +0000 (0:00:00.027) 0:00:12.671 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:07:29 +0000 (0:00:00.022) 0:00:12.693 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.202) 0:00:12.895 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.069) 0:00:12.965 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.033) 0:00:12.999 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830841.309999, "block_size": 4096, "blocks": 0, "ctime": 1704830841.271999, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6437, "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": 1704830841.271999, "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_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.136) 0:00:13.136 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.023) 0:00:13.159 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.047) 0:00:13.207 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.035) 0:00:13.243 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.021) 0:00:13.264 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830845.613999, "block_size": 4096, "blocks": 8, "ctime": 1704830845.6009989, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830845.6009989, "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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.131) 0:00:13.396 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.023) 0:00:13.420 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.005199", "end": "2024-01-09 20:07:30.701745", "rc": 1, "start": "2024-01-09 20:07:30.696546" } STDERR: /bin/sh: nmcli: command not found 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.136) 0:00:13.556 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.022) 0:00:13.579 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003100", "end": "2024-01-09 20:07:30.862759", "rc": 0, "start": "2024-01-09 20:07:30.859659" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.169) 0:00:13.749 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:07:30 +0000 (0:00:00.027) 0:00:13.776 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003180", "end": "2024-01-09 20:07:31.060924", "rc": 0, "start": "2024-01-09 20:07:31.057744" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.142) 0:00:13.918 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.027) 0:00:13.946 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.023) 0:00:13.969 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.023) 0:00:13.993 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.024) 0:00:14.017 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003132", "end": "2024-01-09 20:07:31.296407", "rc": 0, "start": "2024-01-09 20:07:31.293275" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.212 169.254.0.0/16 dev eth0 scope link metric 1002 169.254.0.0/16 dev veth0 scope link metric 1004 default via 10.31.40.1 dev eth0 default via 203.0.113.1 dev veth0 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.134) 0:00:14.152 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.024) 0:00:14.176 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003184", "end": "2024-01-09 20:07:31.455924", "rc": 0, "start": "2024-01-09 20:07:31.452740" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 2001:db8::/64 dev veth0 proto kernel metric 256 mtu 1500 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 fe80::/64 dev veth0 proto kernel metric 256 mtu 1500 fe80::/64 dev peerveth0 proto kernel metric 256 mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.135) 0:00:14.311 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.021) 0:00:14.333 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.021) 0:00:14.354 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.036) 0:00:14.390 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.025) 0:00:14.416 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.021) 0:00:14.437 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:07:31 +0000 (0:00:00.057) 0:00:14.495 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:07:33 +0000 (0:00:01.511) 0:00:16.006 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.587) 0:00:16.593 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.024) 0:00:16.618 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.021) 0:00:16.639 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.020) 0:00:16.660 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.042) 0:00:16.703 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.045) 0:00:16.749 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.021) 0:00:16.770 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.025) 0:00:16.795 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.021) 0:00:16.816 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:07:33 +0000 (0:00:00.020) 0:00:16.837 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:07:34 +0000 (0:00:00.192) 0:00:17.029 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2606f_w9jgi2/tmp0x19x5qt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:07:34 +0000 (0:00:00.195) 0:00:17.225 ******* 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='', err='' [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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:07:34 +0000 (0:00:00.401) 0:00:17.627 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:07:34 +0000 (0:00:00.020) 0:00:17.648 ******* 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='', err=''", "[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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:07:34 +0000 (0:00:00.022) 0:00:17.670 ******* 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='', err=''\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='', err=''", "[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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:07:34 +0000 (0:00:00.022) 0:00:17.692 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:07:34 +0000 (0:00:00.020) 0:00:17.713 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 09 January 2024 20:07:34 +0000 (0:00:00.131) 0:00:17.845 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:07:35 +0000 (0:00:00.091) 0:00:17.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:07:35 +0000 (0:00:00.021) 0:00:17.959 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:07:35 +0000 (0:00:00.024) 0:00:17.983 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:07:35 +0000 (0:00:00.037) 0:00:18.020 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:07:35 +0000 (0:00:00.033) 0:00:18.054 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003298", "end": "2024-01-09 20:07:35.333428", "rc": 0, "start": "2024-01-09 20:07:35.330130" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:07:35 +0000 (0:00:00.135) 0:00:18.189 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:07:35 +0000 (0:00:00.022) 0:00:18.211 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:07:35 +0000 (0:00:00.021) 0:00:18.233 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 20:07:35 +0000 (0:00:00.395) 0:00:18.628 ******* 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_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 20:07:35 +0000 (0:00:00.031) 0:00:18.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 20:07:35 +0000 (0:00:00.023) 0:00:18.683 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.049120", "end": "2024-01-09 20:07:36.012144", "rc": 0, "start": "2024-01-09 20:07:35.963024" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.193) 0:00:18.877 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.021) 0:00:18.899 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.051) 0:00:18.950 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.023) 0:00:18.974 ******* 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_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.021) 0:00:18.996 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.021) 0:00:19.017 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.050) 0:00:19.067 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.021) 0:00:19.089 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.020) 0:00:19.109 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.033) 0:00:19.143 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.032) 0:00:19.175 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003278", "end": "2024-01-09 20:07:36.456305", "rc": 0, "start": "2024-01-09 20:07:36.453027" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.136) 0:00:19.312 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.022) 0:00:19.334 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.020) 0:00:19.355 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 20:07:36 +0000 (0:00:00.427) 0:00:19.782 ******* 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.004299", "end": "2024-01-09 20:07:37.067455", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 20:07:37.063156" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.005005", "end": "2024-01-09 20:07:37.219753", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 20:07:37.214748" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003466", "end": "2024-01-09 20:07:37.342145", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 20:07:37.338679" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 20:07:37 +0000 (0:00:00.416) 0:00:20.199 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli d set veth0 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 20:07:37 +0000 (0:00:00.136) 0:00:20.336 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 20:07:37 +0000 (0:00:00.023) 0:00:20.359 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 20:07:37 +0000 (0:00:00.023) 0:00:20.383 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:07:37 +0000 (0:00:00.022) 0:00:20.405 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 20:07:37 +0000 (0:00:00.024) 0:00:20.430 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:07:37 +0000 (0:00:00.022) 0:00:20.452 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:07:37 +0000 (0:00:00.038) 0:00:20.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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:07:37 +0000 (0:00:00.026) 0:00:20.518 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:07:37 +0000 (0:00:00.022) 0:00:20.540 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:07:37 +0000 (0:00:00.022) 0:00:20.562 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:07:39 +0000 (0:00:01.500) 0:00:22.063 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:07:39 +0000 (0:00:00.582) 0:00:22.645 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:07:39 +0000 (0:00:00.022) 0:00:22.668 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:07:39 +0000 (0:00:00.021) 0:00:22.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:07:39 +0000 (0:00:00.021) 0:00:22.711 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:07:39 +0000 (0:00:00.042) 0:00:22.753 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:07:39 +0000 (0:00:00.020) 0:00:22.774 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:07:39 +0000 (0:00:00.022) 0:00:22.797 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:07:39 +0000 (0:00:00.025) 0:00:22.822 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:07:39 +0000 (0:00:00.020) 0:00:22.843 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:07:40 +0000 (0:00:00.057) 0:00:22.901 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:07:40 +0000 (0:00:00.201) 0:00:23.102 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2606f_w9jgi2/tmp4kulmkd6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:07:40 +0000 (0:00:00.206) 0:00:23.308 ******* 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='Determining if ip address 203.0.113.2 is already in use for device veth0... ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:07:44 +0000 (0:00:04.374) 0:00:27.683 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:07:44 +0000 (0:00:00.023) 0:00:27.706 ******* 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='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:07:44 +0000 (0:00:00.022) 0:00:27.729 ******* 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='Determining if ip address 203.0.113.2 is already in use for device veth0...\n', err=''\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='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:07:44 +0000 (0:00:00.022) 0:00:27.751 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:07:44 +0000 (0:00:00.021) 0:00:27.773 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 09 January 2024 20:07:45 +0000 (0:00:00.130) 0:00:27.904 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:07:45 +0000 (0:00:00.090) 0:00:27.994 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:07:45 +0000 (0:00:00.034) 0:00:28.029 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830857.088999, "block_size": 4096, "blocks": 0, "ctime": 1704830857.067999, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6437, "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": 1704830857.067999, "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_type8mc2ghcb/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:07:45 +0000 (0:00:00.132) 0:00:28.161 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 09 January 2024 20:07:45 +0000 (0:00:00.023) 0:00:28.185 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:07:45 +0000 (0:00:00.051) 0:00:28.236 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:07:45 +0000 (0:00:00.036) 0:00:28.272 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:07:45 +0000 (0:00:00.033) 0:00:28.306 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830860.7229989, "block_size": 4096, "blocks": 8, "ctime": 1704830860.710999, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830860.710999, "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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:07:45 +0000 (0:00:00.144) 0:00:28.451 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:07:45 +0000 (0:00:00.022) 0:00:28.473 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004926", "end": "2024-01-09 20:07:45.755129", "rc": 1, "start": "2024-01-09 20:07:45.750203" } STDERR: /bin/sh: nmcli: command not found 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:07:45 +0000 (0:00:00.144) 0:00:28.618 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:07:45 +0000 (0:00:00.071) 0:00:28.689 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003132", "end": "2024-01-09 20:07:46.004036", "rc": 0, "start": "2024-01-09 20:07:46.000904" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.174) 0:00:28.864 ******* 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_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.028) 0:00:28.892 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003229", "end": "2024-01-09 20:07:46.176577", "rc": 0, "start": "2024-01-09 20:07:46.173348" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.146) 0:00:29.038 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.029) 0:00:29.068 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.027) 0:00:29.095 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.023) 0:00:29.119 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.023) 0:00:29.142 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003198", "end": "2024-01-09 20:07:46.420874", "rc": 0, "start": "2024-01-09 20:07:46.417676" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.212 169.254.0.0/16 dev eth0 scope link metric 1002 169.254.0.0/16 dev veth0 scope link metric 1006 default via 10.31.40.1 dev eth0 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.134) 0:00:29.277 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.025) 0:00:29.303 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003140", "end": "2024-01-09 20:07:46.583017", "rc": 0, "start": "2024-01-09 20:07:46.579877" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 2001:db8::/64 dev veth0 proto kernel metric 256 mtu 1500 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 fe80::/64 dev veth0 proto kernel metric 256 mtu 1500 fe80::/64 dev peerveth0 proto kernel metric 256 mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.135) 0:00:29.438 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.021) 0:00:29.460 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.023) 0:00:29.483 ******* included: /WORKDIR/git-route_type8mc2ghcb/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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.038) 0:00:29.521 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.029) 0:00:29.550 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.081) 0:00:29.632 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:07:46 +0000 (0:00:00.053) 0:00:29.685 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:07:48 +0000 (0:00:01.491) 0:00:31.177 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:07:48 +0000 (0:00:00.574) 0:00:31.751 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:07:48 +0000 (0:00:00.037) 0:00:31.788 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:07:48 +0000 (0:00:00.047) 0:00:31.835 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.049) 0:00:31.885 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.060) 0:00:31.945 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.070) 0:00:32.016 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.022) 0:00:32.038 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.024) 0:00:32.063 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.021) 0:00:32.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.021) 0:00:32.107 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.194) 0:00:32.301 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2606f_w9jgi2/tmpz4oqey3w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:07:49 +0000 (0:00:00.208) 0:00:32.509 ******* 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='', err='' [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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.362) 0:00:32.872 ******* 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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.024) 0:00:32.896 ******* 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='', err=''", "[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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.024) 0:00:32.921 ******* 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='', err=''\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='', err=''", "[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_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.029) 0:00:32.951 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.038) 0:00:32.990 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.142) 0:00:33.133 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.123) 0:00:33.257 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.022) 0:00:33.279 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.025) 0:00:33.305 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.051) 0:00:33.357 ******* included: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.045) 0:00:33.402 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003245", "end": "2024-01-09 20:07:50.689173", "rc": 0, "start": "2024-01-09 20:07:50.685928" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.172) 0:00:33.574 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.028) 0:00:33.603 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:07:50 +0000 (0:00:00.035) 0:00:33.638 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 20:07:51 +0000 (0:00:00.397) 0:00:34.036 ******* 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_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 20:07:51 +0000 (0:00:00.051) 0:00:34.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 20:07:51 +0000 (0:00:00.027) 0:00:34.115 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.043686", "end": "2024-01-09 20:07:51.440733", "rc": 0, "start": "2024-01-09 20:07:51.397047" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 20:07:51 +0000 (0:00:00.190) 0:00:34.305 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 20:07:51 +0000 (0:00:00.022) 0:00:34.328 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:07:51 +0000 (0:00:00.074) 0:00:34.402 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 20:07:51 +0000 (0:00:00.026) 0:00:34.429 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=136 changed=5 unreachable=0 failed=0 skipped=91 rescued=0 ignored=4 Tuesday 09 January 2024 20:07:51 +0000 (0:00:00.026) 0:00:34.455 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.47s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 4.37s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-route_type8mc2ghcb/tests/tests_auto_gateway_initscripts.yml:5 ---- linux-system-roles.network : Check which packages are installed --------- 0.80s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tests_auto_gateway.yml:3 ------ linux-system-roles.network : Configure networking connection profiles --- 0.76s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Create veth interface veth0 --------------------------------------------- 0.62s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Check which packages are installed --------- 0.59s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.58s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.57s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.53s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:16 Enable EPEL 6 ----------------------------------------------------------- 0.52s /WORKDIR/git-route_type8mc2ghcb/tests/tasks/enable_epel.yml:40 ---------------- Install iproute --------------------------------------------------------- 0.43s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface veth0 --------------------------------------------- 0.42s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.40s /WORKDIR/git-route_type8mc2ghcb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Install iproute --------------------------------------------------------- 0.40s /WORKDIR/git-route_type8mc2ghcb/tests/playbooks/tasks/manage_test_interface.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---