# 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_type59r4anw1/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_type59r4anw1/tests/tests_auto_gateway_initscripts.yml:4 Tuesday 02 January 2024 19:23:59 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type59r4anw1/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 02 January 2024 19:24:00 +0000 (0:00:00.895) 0:00:00.907 ******* included: /WORKDIR/git-route_type59r4anw1/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_type59r4anw1/tests/tasks/el_repo_setup.yml:3 Tuesday 02 January 2024 19:24:00 +0000 (0:00:00.013) 0:00:00.921 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/tasks/el_repo_setup.yml:19 Tuesday 02 January 2024 19:24:01 +0000 (0:00:00.241) 0:00:01.162 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type59r4anw1/tests/tasks/el_repo_setup.yml:24 Tuesday 02 January 2024 19:24:01 +0000 (0:00:00.176) 0:00:01.339 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/tasks/el_repo_setup.yml:28 Tuesday 02 January 2024 19:24:01 +0000 (0:00:00.027) 0:00:01.366 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/tasks/el_repo_setup.yml:53 Tuesday 02 January 2024 19:24:01 +0000 (0:00:00.021) 0:00:01.388 ******* included: /WORKDIR/git-route_type59r4anw1/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/tasks/enable_epel.yml:8 Tuesday 02 January 2024 19:24:01 +0000 (0:00:00.035) 0:00:01.423 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/tasks/enable_epel.yml:24 Tuesday 02 January 2024 19:24:01 +0000 (0:00:00.011) 0:00:01.435 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/tasks/enable_epel.yml:30 Tuesday 02 January 2024 19:24:01 +0000 (0:00:00.011) 0:00:01.447 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/tasks/enable_epel.yml:35 Tuesday 02 January 2024 19:24:01 +0000 (0:00:00.011) 0:00:01.458 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/tasks/enable_epel.yml:40 Tuesday 02 January 2024 19:24:01 +0000 (0:00:00.011) 0:00:01.469 ******* 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-1704223441.4328182-2348-182332878652821/source", "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type59r4anw1/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 02 January 2024 19:24:01 +0000 (0:00:00.511) 0:00:01.981 ******* 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_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 02 January 2024 19:24:01 +0000 (0:00:00.013) 0:00:01.994 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 02 January 2024 19:24:02 +0000 (0:00:00.766) 0:00:02.760 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:24:02 +0000 (0:00:00.026) 0:00:02.786 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:24:02 +0000 (0:00:00.017) 0:00:02.804 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003659", "end": "2024-01-02 19:24:03.018525", "rc": 0, "start": "2024-01-02 19:24:03.014866" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:24:02 +0000 (0:00:00.223) 0:00:03.027 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:24:02 +0000 (0:00:00.015) 0:00:03.042 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 02 January 2024 19:24:02 +0000 (0:00:00.013) 0:00:03.055 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:24:03 +0000 (0:00:00.032) 0:00:03.088 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:24:03 +0000 (0:00:00.012) 0:00:03.101 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:24:03 +0000 (0:00:00.012) 0:00:03.113 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:24:03 +0000 (0:00:00.017) 0:00:03.131 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:24:03 +0000 (0:00:00.016) 0:00:03.148 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003322", "end": "2024-01-02 19:24:03.268121", "rc": 0, "start": "2024-01-02 19:24:03.264799" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:24:03 +0000 (0:00:00.128) 0:00:03.276 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:24:03 +0000 (0:00:00.013) 0:00:03.289 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:24:03 +0000 (0:00:00.012) 0:00:03.302 ******* 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_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:24:03 +0000 (0:00:00.555) 0:00:03.857 ******* 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.168819", "end": "2024-01-02 19:24:04.193031", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-02 19:24:04.024212" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004373", "end": "2024-01-02 19:24:04.383363", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-02 19:24:04.378990" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003656", "end": "2024-01-02 19:24:04.522969", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-02 19:24:04.519313" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:24:04 +0000 (0:00:00.683) 0:00:04.541 ******* 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_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:24:04 +0000 (0:00:00.139) 0:00:04.681 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:24:04 +0000 (0:00:00.019) 0:00:04.700 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:24:04 +0000 (0:00:00.014) 0:00:04.715 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:24:04 +0000 (0:00:00.022) 0:00:04.738 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:24:04 +0000 (0:00:00.027) 0:00:04.766 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 02 January 2024 19:24:04 +0000 (0:00:00.024) 0:00:04.791 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:24:04 +0000 (0:00:00.034) 0:00:04.825 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:24:04 +0000 (0:00:00.022) 0:00:04.847 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223444.3382814, "block_size": 4096, "blocks": 0, "ctime": 1704223444.3182914, "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": 1704223444.3182914, "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_type59r4anw1/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:24:04 +0000 (0:00:00.123) 0:00:04.971 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 02 January 2024 19:24:04 +0000 (0:00:00.014) 0:00:04.986 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:24:04 +0000 (0:00:00.012) 0:00:04.999 ******* included: /WORKDIR/git-route_type59r4anw1/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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:24:05 +0000 (0:00:00.072) 0:00:05.071 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:24:05 +0000 (0:00:00.015) 0:00:05.086 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:24:05 +0000 (0:00:00.012) 0:00:05.099 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:24:05 +0000 (0:00:00.012) 0:00:05.111 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:24:06 +0000 (0:00:01.715) 0:00:06.827 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:24:07 +0000 (0:00:00.837) 0:00:07.665 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:24:07 +0000 (0:00:00.026) 0:00:07.691 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:24:07 +0000 (0:00:00.022) 0:00:07.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:24:07 +0000 (0:00:00.025) 0:00:07.739 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:24:07 +0000 (0:00:00.052) 0:00:07.791 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:24:07 +0000 (0:00:00.027) 0:00:07.819 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:24:07 +0000 (0:00:00.023) 0:00:07.842 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:24:07 +0000 (0:00:00.033) 0:00:07.875 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:24:07 +0000 (0:00:00.023) 0:00:07.898 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:24:07 +0000 (0:00:00.023) 0:00:07.922 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:24:08 +0000 (0:00:00.296) 0:00:08.219 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2320ik0r5q7d/tmp5inlsp5v" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:24:08 +0000 (0:00:00.201) 0:00:08.421 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:24:12 +0000 (0:00:04.489) 0:00:12.910 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:24:12 +0000 (0:00:00.035) 0:00:12.946 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:24:12 +0000 (0:00:00.033) 0:00:12.979 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:24:12 +0000 (0:00:00.024) 0:00:13.003 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:24:12 +0000 (0:00:00.025) 0:00:13.028 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 02 January 2024 19:24:13 +0000 (0:00:00.207) 0:00:13.236 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:24:13 +0000 (0:00:00.073) 0:00:13.310 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:24:13 +0000 (0:00:00.035) 0:00:13.345 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223444.3382814, "block_size": 4096, "blocks": 0, "ctime": 1704223444.3182914, "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": 1704223444.3182914, "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_type59r4anw1/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:24:13 +0000 (0:00:00.133) 0:00:13.478 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 02 January 2024 19:24:13 +0000 (0:00:00.024) 0:00:13.503 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:24:13 +0000 (0:00:00.053) 0:00:13.556 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:24:13 +0000 (0:00:00.040) 0:00:13.597 ******* 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_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:24:13 +0000 (0:00:00.022) 0:00:13.619 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223448.767066, "block_size": 4096, "blocks": 8, "ctime": 1704223448.7540724, "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": 1704223448.7540724, "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_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:24:13 +0000 (0:00:00.132) 0:00:13.752 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:24:13 +0000 (0:00:00.026) 0:00:13.778 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.005051", "end": "2024-01-02 19:24:13.895759", "rc": 1, "start": "2024-01-02 19:24:13.890708" } 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_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:24:13 +0000 (0:00:00.139) 0:00:13.918 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:24:13 +0000 (0:00:00.023) 0:00:13.942 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003335", "end": "2024-01-02 19:24:14.065832", "rc": 0, "start": "2024-01-02 19:24:14.062497" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.186) 0:00:14.128 ******* 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_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.029) 0:00:14.158 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003169", "end": "2024-01-02 19:24:14.276499", "rc": 0, "start": "2024-01-02 19:24:14.273330" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.148) 0:00:14.307 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.042) 0:00:14.349 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.030) 0:00:14.379 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.029) 0:00:14.409 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.025) 0:00:14.435 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003211", "end": "2024-01-02 19:24:14.555761", "rc": 0, "start": "2024-01-02 19:24:14.552550" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.224 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.8.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_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.145) 0:00:14.580 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.029) 0:00:14.609 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003169", "end": "2024-01-02 19:24:14.722412", "rc": 0, "start": "2024-01-02 19:24:14.719243" } 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_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.135) 0:00:14.744 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.021) 0:00:14.766 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.022) 0:00:14.789 ******* included: /WORKDIR/git-route_type59r4anw1/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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.037) 0:00:14.826 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.026) 0:00:14.853 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.024) 0:00:14.877 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:24:14 +0000 (0:00:00.059) 0:00:14.937 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:24:16 +0000 (0:00:01.542) 0:00:16.480 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:24:17 +0000 (0:00:00.591) 0:00:17.072 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:24:17 +0000 (0:00:00.023) 0:00:17.095 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:24:17 +0000 (0:00:00.021) 0:00:17.116 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:24:17 +0000 (0:00:00.021) 0:00:17.138 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:24:17 +0000 (0:00:00.042) 0:00:17.181 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:24:17 +0000 (0:00:00.048) 0:00:17.229 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:24:17 +0000 (0:00:00.022) 0:00:17.251 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:24:17 +0000 (0:00:00.028) 0:00:17.280 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:24:17 +0000 (0:00:00.022) 0:00:17.302 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:24:17 +0000 (0:00:00.022) 0:00:17.324 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:24:17 +0000 (0:00:00.196) 0:00:17.521 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2320ik0r5q7d/tmpba2ccoz_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:24:17 +0000 (0:00:00.206) 0:00:17.727 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.426) 0:00:18.154 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.023) 0:00:18.177 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.024) 0:00:18.201 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.023) 0:00:18.224 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.021) 0:00:18.246 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.132) 0:00:18.378 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.085) 0:00:18.463 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.023) 0:00:18.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.024) 0:00:18.512 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.037) 0:00:18.549 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.034) 0:00:18.584 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003406", "end": "2024-01-02 19:24:18.703379", "rc": 0, "start": "2024-01-02 19:24:18.699973" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.143) 0:00:18.728 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.023) 0:00:18.751 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:24:18 +0000 (0:00:00.023) 0:00:18.774 ******* 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_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.421) 0:00:19.196 ******* 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_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.031) 0:00:19.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.023) 0:00:19.251 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.044972", "end": "2024-01-02 19:24:19.409180", "rc": 0, "start": "2024-01-02 19:24:19.364208" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.192) 0:00:19.443 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.024) 0:00:19.467 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.079) 0:00:19.546 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.022) 0:00:19.569 ******* 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_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.021) 0:00:19.590 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.024) 0:00:19.615 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.053) 0:00:19.668 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.021) 0:00:19.690 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.021) 0:00:19.711 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.034) 0:00:19.746 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.035) 0:00:19.782 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003575", "end": "2024-01-02 19:24:19.902921", "rc": 0, "start": "2024-01-02 19:24:19.899346" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.145) 0:00:19.927 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.023) 0:00:19.951 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:24:19 +0000 (0:00:00.024) 0:00:19.975 ******* 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_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:24:20 +0000 (0:00:00.430) 0:00:20.405 ******* 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.003899", "end": "2024-01-02 19:24:20.529271", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-02 19:24:20.525372" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003323", "end": "2024-01-02 19:24:20.688305", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-02 19:24:20.684982" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003653", "end": "2024-01-02 19:24:20.807972", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-02 19:24:20.804319" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:24:20 +0000 (0:00:00.429) 0:00:20.835 ******* 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_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:24:20 +0000 (0:00:00.144) 0:00:20.980 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:24:20 +0000 (0:00:00.023) 0:00:21.003 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:24:20 +0000 (0:00:00.024) 0:00:21.027 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:24:20 +0000 (0:00:00.023) 0:00:21.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:24:21 +0000 (0:00:00.022) 0:00:21.073 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:24:21 +0000 (0:00:00.022) 0:00:21.096 ******* included: /WORKDIR/git-route_type59r4anw1/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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:24:21 +0000 (0:00:00.039) 0:00:21.135 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:24:21 +0000 (0:00:00.027) 0:00:21.163 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:24:21 +0000 (0:00:00.021) 0:00:21.184 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:24:21 +0000 (0:00:00.021) 0:00:21.206 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:24:22 +0000 (0:00:01.548) 0:00:22.755 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:24:23 +0000 (0:00:00.587) 0:00:23.342 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:24:23 +0000 (0:00:00.024) 0:00:23.366 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:24:23 +0000 (0:00:00.023) 0:00:23.389 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:24:23 +0000 (0:00:00.023) 0:00:23.413 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:24:23 +0000 (0:00:00.045) 0:00:23.458 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:24:23 +0000 (0:00:00.021) 0:00:23.480 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:24:23 +0000 (0:00:00.021) 0:00:23.502 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:24:23 +0000 (0:00:00.024) 0:00:23.527 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:24:23 +0000 (0:00:00.070) 0:00:23.597 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:24:23 +0000 (0:00:00.023) 0:00:23.620 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:24:23 +0000 (0:00:00.195) 0:00:23.816 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2320ik0r5q7d/tmp1icaoqju" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:24:23 +0000 (0:00:00.203) 0:00:24.019 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:24:28 +0000 (0:00:04.367) 0:00:28.387 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:24:28 +0000 (0:00:00.022) 0:00:28.409 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:24:28 +0000 (0:00:00.022) 0:00:28.431 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:24:28 +0000 (0:00:00.057) 0:00:28.489 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:24:28 +0000 (0:00:00.023) 0:00:28.512 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 02 January 2024 19:24:28 +0000 (0:00:00.132) 0:00:28.644 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:24:28 +0000 (0:00:00.054) 0:00:28.699 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:24:28 +0000 (0:00:00.038) 0:00:28.737 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223460.561166, "block_size": 4096, "blocks": 0, "ctime": 1704223460.53318, "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": 1704223460.53318, "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_type59r4anw1/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:24:28 +0000 (0:00:00.137) 0:00:28.875 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 02 January 2024 19:24:28 +0000 (0:00:00.026) 0:00:28.901 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:24:28 +0000 (0:00:00.053) 0:00:28.955 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:24:28 +0000 (0:00:00.036) 0:00:28.991 ******* 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_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:24:28 +0000 (0:00:00.023) 0:00:29.015 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223464.2483215, "block_size": 4096, "blocks": 8, "ctime": 1704223464.2363274, "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": 1704223464.2363274, "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_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.179) 0:00:29.194 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.023) 0:00:29.218 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.005263", "end": "2024-01-02 19:24:29.330786", "rc": 1, "start": "2024-01-02 19:24:29.325523" } 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_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.142) 0:00:29.360 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.024) 0:00:29.385 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003234", "end": "2024-01-02 19:24:29.497760", "rc": 0, "start": "2024-01-02 19:24:29.494526" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.143) 0:00:29.529 ******* 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_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.028) 0:00:29.557 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003409", "end": "2024-01-02 19:24:29.670030", "rc": 0, "start": "2024-01-02 19:24:29.666621" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.142) 0:00:29.699 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.027) 0:00:29.727 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.024) 0:00:29.752 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.024) 0:00:29.777 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.024) 0:00:29.801 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003156", "end": "2024-01-02 19:24:29.908210", "rc": 0, "start": "2024-01-02 19:24:29.905054" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.224 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.8.1 dev eth0 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.135) 0:00:29.937 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 02 January 2024 19:24:29 +0000 (0:00:00.023) 0:00:29.961 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003117", "end": "2024-01-02 19:24:30.067479", "rc": 0, "start": "2024-01-02 19:24:30.064362" } 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_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 02 January 2024 19:24:30 +0000 (0:00:00.135) 0:00:30.096 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 02 January 2024 19:24:30 +0000 (0:00:00.021) 0:00:30.118 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:24:30 +0000 (0:00:00.020) 0:00:30.139 ******* included: /WORKDIR/git-route_type59r4anw1/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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:24:30 +0000 (0:00:00.074) 0:00:30.213 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:24:30 +0000 (0:00:00.027) 0:00:30.241 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:24:30 +0000 (0:00:00.022) 0:00:30.263 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:24:30 +0000 (0:00:00.022) 0:00:30.285 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:24:31 +0000 (0:00:01.518) 0:00:31.804 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:24:32 +0000 (0:00:00.633) 0:00:32.437 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:24:32 +0000 (0:00:00.023) 0:00:32.461 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:24:32 +0000 (0:00:00.022) 0:00:32.484 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:24:32 +0000 (0:00:00.024) 0:00:32.508 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:24:32 +0000 (0:00:00.044) 0:00:32.552 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:24:32 +0000 (0:00:00.022) 0:00:32.575 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:24:32 +0000 (0:00:00.021) 0:00:32.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:24:32 +0000 (0:00:00.027) 0:00:32.624 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:24:32 +0000 (0:00:00.022) 0:00:32.646 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:24:32 +0000 (0:00:00.021) 0:00:32.667 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:24:32 +0000 (0:00:00.194) 0:00:32.861 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2320ik0r5q7d/tmpoqkm63_h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.206) 0:00:33.068 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.375) 0:00:33.443 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.022) 0:00:33.465 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.022) 0:00:33.488 ******* 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_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.072) 0:00:33.560 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.022) 0:00:33.583 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.138) 0:00:33.722 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.056) 0:00:33.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.022) 0:00:33.801 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.021) 0:00:33.823 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.035) 0:00:33.858 ******* included: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.034) 0:00:33.893 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003326", "end": "2024-01-02 19:24:34.001184", "rc": 0, "start": "2024-01-02 19:24:33.997858" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.138) 0:00:34.032 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:24:33 +0000 (0:00:00.022) 0:00:34.055 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:24:34 +0000 (0:00:00.022) 0:00:34.078 ******* 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_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:24:34 +0000 (0:00:00.405) 0:00:34.484 ******* 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_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:24:34 +0000 (0:00:00.091) 0:00:34.575 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:24:34 +0000 (0:00:00.023) 0:00:34.598 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.041998", "end": "2024-01-02 19:24:34.747188", "rc": 0, "start": "2024-01-02 19:24:34.705190" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:24:34 +0000 (0:00:00.189) 0:00:34.788 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:24:34 +0000 (0:00:00.023) 0:00:34.812 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:24:34 +0000 (0:00:00.024) 0:00:34.836 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:24:34 +0000 (0:00:00.023) 0:00:34.860 ******* 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 02 January 2024 19:24:34 +0000 (0:00:00.009) 0:00:34.869 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.49s /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 4.37s /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-route_type59r4anw1/tests/tests_auto_gateway_initscripts.yml:4 ---- linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.80s /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-route_type59r4anw1/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.68s /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Check which packages are installed --------- 0.63s /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.59s /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.59s /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.56s /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:16 Enable EPEL 6 ----------------------------------------------------------- 0.51s /WORKDIR/git-route_type59r4anw1/tests/tasks/enable_epel.yml:40 ---------------- Install iproute --------------------------------------------------------- 0.43s /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface veth0 --------------------------------------------- 0.43s /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:24 Install iproute --------------------------------------------------------- 0.42s /WORKDIR/git-route_type59r4anw1/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.41s /WORKDIR/git-route_type59r4anw1/tests/roles/linux-system-roles.network/tasks/main.yml:113 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---