# 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_types97i77li/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_types97i77li/tests/tests_auto_gateway_initscripts.yml:5 Wednesday 10 January 2024 15:35:47 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_types97i77li/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 10 January 2024 15:35:47 +0000 (0:00:00.842) 0:00:00.854 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 15:35:47 +0000 (0:00:00.015) 0:00:00.869 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 15:35:48 +0000 (0:00:00.235) 0:00:01.104 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 15:35:48 +0000 (0:00:00.166) 0:00:01.271 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 15:35:48 +0000 (0:00:00.021) 0:00:01.292 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 15:35:48 +0000 (0:00:00.018) 0:00:01.311 ***** included: /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 15:35:48 +0000 (0:00:00.032) 0:00:01.343 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 15:35:48 +0000 (0:00:00.010) 0:00:01.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 15:35:48 +0000 (0:00:00.010) 0:00:01.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 15:35:48 +0000 (0:00:00.010) 0:00:01.375 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 15:35:48 +0000 (0:00:00.010) 0:00:01.386 ***** 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-1704900948.4353876-2893-7055154916512/source", "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_types97i77li/tests/tests_auto_gateway_initscripts.yml:10 Wednesday 10 January 2024 15:35:48 +0000 (0:00:00.483) 0:00:01.869 ***** 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_types97i77li/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 10 January 2024 15:35:48 +0000 (0:00:00.011) 0:00:01.881 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 10 January 2024 15:35:49 +0000 (0:00:00.721) 0:00:02.603 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:35:49 +0000 (0:00:00.025) 0:00:02.629 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:35:49 +0000 (0:00:00.015) 0:00:02.645 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003063", "end": "2024-01-10 15:35:49.787414", "rc": 0, "start": "2024-01-10 15:35:49.784351" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:35:49 +0000 (0:00:00.194) 0:00:02.839 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:35:49 +0000 (0:00:00.013) 0:00:02.852 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 10 January 2024 15:35:49 +0000 (0:00:00.011) 0:00:02.864 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:35:49 +0000 (0:00:00.030) 0:00:02.894 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:35:49 +0000 (0:00:00.012) 0:00:02.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:35:49 +0000 (0:00:00.011) 0:00:02.919 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:35:49 +0000 (0:00:00.015) 0:00:02.934 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:35:49 +0000 (0:00:00.015) 0:00:02.949 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002950", "end": "2024-01-10 15:35:50.014530", "rc": 0, "start": "2024-01-10 15:35:50.011580" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:35:50 +0000 (0:00:00.117) 0:00:03.066 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:35:50 +0000 (0:00:00.013) 0:00:03.079 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:35:50 +0000 (0:00:00.011) 0:00:03.091 ***** 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_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 10 January 2024 15:35:50 +0000 (0:00:00.518) 0:00:03.609 ***** 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.235264", "end": "2024-01-10 15:35:50.918307", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-10 15:35:50.683043" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.007372", "end": "2024-01-10 15:35:51.089976", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-10 15:35:51.082604" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003404", "end": "2024-01-10 15:35:51.220718", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-10 15:35:51.217314" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.664) 0:00:04.274 ***** 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_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.120) 0:00:04.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.013) 0:00:04.408 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.014) 0:00:04.422 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.013) 0:00:04.435 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.012) 0:00:04.448 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.011) 0:00:04.460 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.030) 0:00:04.491 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.016) 0:00:04.507 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900951.0569599, "block_size": 4096, "blocks": 0, "ctime": 1704900951.0379505, "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": 1704900951.0379505, "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_types97i77li/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.116) 0:00:04.624 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.014) 0:00:04.639 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.012) 0:00:04.651 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.069) 0:00:04.720 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.013) 0:00:04.734 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.012) 0:00:04.746 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:35:51 +0000 (0:00:00.011) 0:00:04.757 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:35:53 +0000 (0:00:01.599) 0:00:06.357 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:35:54 +0000 (0:00:00.763) 0:00:07.121 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:35:54 +0000 (0:00:00.021) 0:00:07.143 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:35:54 +0000 (0:00:00.020) 0:00:07.164 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:35:54 +0000 (0:00:00.020) 0:00:07.185 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:35:54 +0000 (0:00:00.042) 0:00:07.227 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:35:54 +0000 (0:00:00.021) 0:00:07.249 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:35:54 +0000 (0:00:00.020) 0:00:07.269 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:35:54 +0000 (0:00:00.026) 0:00:07.296 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:35:54 +0000 (0:00:00.023) 0:00:07.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:35:54 +0000 (0:00:00.021) 0:00:07.341 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:35:54 +0000 (0:00:00.270) 0:00:07.611 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-28529rq3zrxk/tmplht5x953" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:35:54 +0000 (0:00:00.191) 0:00:07.803 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:35:59 +0000 (0:00:04.457) 0:00:12.260 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:35:59 +0000 (0:00:00.022) 0:00:12.283 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:35:59 +0000 (0:00:00.024) 0:00:12.307 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:35:59 +0000 (0:00:00.028) 0:00:12.336 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:35:59 +0000 (0:00:00.032) 0:00:12.368 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 10 January 2024 15:35:59 +0000 (0:00:00.205) 0:00:12.574 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:35:59 +0000 (0:00:00.075) 0:00:12.650 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:35:59 +0000 (0:00:00.034) 0:00:12.684 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900951.0569599, "block_size": 4096, "blocks": 0, "ctime": 1704900951.0379505, "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": 1704900951.0379505, "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_types97i77li/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:35:59 +0000 (0:00:00.127) 0:00:12.812 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 10 January 2024 15:35:59 +0000 (0:00:00.023) 0:00:12.835 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:35:59 +0000 (0:00:00.048) 0:00:12.884 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:35:59 +0000 (0:00:00.042) 0:00:12.926 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:35:59 +0000 (0:00:00.024) 0:00:12.950 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900955.0919764, "block_size": 4096, "blocks": 8, "ctime": 1704900955.080971, "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": 1704900955.080971, "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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.126) 0:00:13.077 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.024) 0:00:13.101 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004935", "end": "2024-01-10 15:36:00.178307", "rc": 1, "start": "2024-01-10 15:36:00.173372" } 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.132) 0:00:13.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.022) 0:00:13.255 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003002", "end": "2024-01-10 15:36:00.331233", "rc": 0, "start": "2024-01-10 15:36:00.328231" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.163) 0:00:13.419 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.027) 0:00:13.446 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002974", "end": "2024-01-10 15:36:00.525504", "rc": 0, "start": "2024-01-10 15:36:00.522530" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.137) 0:00:13.583 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.026) 0:00:13.610 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.023) 0:00:13.633 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.023) 0:00:13.657 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.024) 0:00:13.681 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003065", "end": "2024-01-10 15:36:00.754093", "rc": 0, "start": "2024-01-10 15:36:00.751028" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.150 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.44.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_types97i77li/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.130) 0:00:13.811 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.023) 0:00:13.835 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003036", "end": "2024-01-10 15:36:00.906248", "rc": 0, "start": "2024-01-10 15:36:00.903212" } 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_types97i77li/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 10 January 2024 15:36:00 +0000 (0:00:00.128) 0:00:13.963 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 10 January 2024 15:36:01 +0000 (0:00:00.020) 0:00:13.984 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:36:01 +0000 (0:00:00.021) 0:00:14.005 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:36:01 +0000 (0:00:00.036) 0:00:14.041 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:36:01 +0000 (0:00:00.025) 0:00:14.067 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:36:01 +0000 (0:00:00.020) 0:00:14.087 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:36:01 +0000 (0:00:00.053) 0:00:14.141 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:36:02 +0000 (0:00:01.446) 0:00:15.588 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:36:03 +0000 (0:00:00.566) 0:00:16.155 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:36:03 +0000 (0:00:00.022) 0:00:16.177 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:36:03 +0000 (0:00:00.021) 0:00:16.198 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:36:03 +0000 (0:00:00.020) 0:00:16.219 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:36:03 +0000 (0:00:00.042) 0:00:16.261 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:36:03 +0000 (0:00:00.046) 0:00:16.307 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:36:03 +0000 (0:00:00.021) 0:00:16.329 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:36:03 +0000 (0:00:00.025) 0:00:16.354 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:36:03 +0000 (0:00:00.021) 0:00:16.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:36:03 +0000 (0:00:00.020) 0:00:16.397 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:36:03 +0000 (0:00:00.182) 0:00:16.579 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-28529rq3zrxk/tmpgnqnn96a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:36:04 +0000 (0:00:00.557) 0:00:17.137 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:36:04 +0000 (0:00:00.377) 0:00:17.515 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:36:04 +0000 (0:00:00.020) 0:00:17.536 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:36:04 +0000 (0:00:00.023) 0:00:17.559 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:36:04 +0000 (0:00:00.022) 0:00:17.582 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:36:04 +0000 (0:00:00.021) 0:00:17.603 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 10 January 2024 15:36:04 +0000 (0:00:00.126) 0:00:17.730 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:36:04 +0000 (0:00:00.086) 0:00:17.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:36:04 +0000 (0:00:00.021) 0:00:17.838 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:36:04 +0000 (0:00:00.021) 0:00:17.859 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:36:04 +0000 (0:00:00.034) 0:00:17.893 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:36:04 +0000 (0:00:00.033) 0:00:17.927 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003182", "end": "2024-01-10 15:36:05.007984", "rc": 0, "start": "2024-01-10 15:36:05.004802" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.134) 0:00:18.062 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.022) 0:00:18.084 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.021) 0:00:18.106 ***** 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_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.371) 0:00:18.478 ***** 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_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.031) 0:00:18.510 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.021) 0:00:18.531 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.039302", "end": "2024-01-10 15:36:05.645488", "rc": 0, "start": "2024-01-10 15:36:05.606186" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.173) 0:00:18.704 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.074) 0:00:18.779 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.022) 0:00:18.802 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.021) 0:00:18.824 ***** 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_types97i77li/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.022) 0:00:18.846 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.021) 0:00:18.867 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.050) 0:00:18.918 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.021) 0:00:18.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:36:05 +0000 (0:00:00.021) 0:00:18.960 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:36:06 +0000 (0:00:00.033) 0:00:18.993 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:36:06 +0000 (0:00:00.033) 0:00:19.027 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003061", "end": "2024-01-10 15:36:06.102364", "rc": 0, "start": "2024-01-10 15:36:06.099303" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:36:06 +0000 (0:00:00.129) 0:00:19.156 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:36:06 +0000 (0:00:00.022) 0:00:19.178 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:36:06 +0000 (0:00:00.021) 0:00:19.200 ***** 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_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 10 January 2024 15:36:06 +0000 (0:00:00.361) 0:00:19.561 ***** 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.003615", "end": "2024-01-10 15:36:06.645732", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-10 15:36:06.642117" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.002984", "end": "2024-01-10 15:36:06.792552", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-10 15:36:06.789568" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003232", "end": "2024-01-10 15:36:06.902984", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-10 15:36:06.899752" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 10 January 2024 15:36:06 +0000 (0:00:00.395) 0:00:19.956 ***** 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_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 10 January 2024 15:36:07 +0000 (0:00:00.129) 0:00:20.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 10 January 2024 15:36:07 +0000 (0:00:00.022) 0:00:20.109 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 10 January 2024 15:36:07 +0000 (0:00:00.021) 0:00:20.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:36:07 +0000 (0:00:00.023) 0:00:20.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 10 January 2024 15:36:07 +0000 (0:00:00.022) 0:00:20.176 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:36:07 +0000 (0:00:00.021) 0:00:20.197 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:36:07 +0000 (0:00:00.036) 0:00:20.234 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:36:07 +0000 (0:00:00.025) 0:00:20.259 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:36:07 +0000 (0:00:00.021) 0:00:20.281 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:36:07 +0000 (0:00:00.021) 0:00:20.302 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:36:08 +0000 (0:00:01.425) 0:00:21.727 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:36:09 +0000 (0:00:00.562) 0:00:22.290 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:36:09 +0000 (0:00:00.023) 0:00:22.313 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:36:09 +0000 (0:00:00.023) 0:00:22.337 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:36:09 +0000 (0:00:00.021) 0:00:22.358 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:36:09 +0000 (0:00:00.041) 0:00:22.400 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:36:09 +0000 (0:00:00.021) 0:00:22.422 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:36:09 +0000 (0:00:00.021) 0:00:22.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:36:09 +0000 (0:00:00.024) 0:00:22.468 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:36:09 +0000 (0:00:00.071) 0:00:22.540 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:36:09 +0000 (0:00:00.028) 0:00:22.568 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:36:09 +0000 (0:00:00.185) 0:00:22.754 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-28529rq3zrxk/tmpskwenmmh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:36:09 +0000 (0:00:00.192) 0:00:22.946 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:36:14 +0000 (0:00:04.954) 0:00:27.901 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:36:14 +0000 (0:00:00.029) 0:00:27.931 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:36:14 +0000 (0:00:00.028) 0:00:27.959 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.023) 0:00:27.983 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.028) 0:00:28.011 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.166) 0:00:28.177 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.051) 0:00:28.229 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.033) 0:00:28.263 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900966.6777666, "block_size": 4096, "blocks": 0, "ctime": 1704900966.650753, "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": 1704900966.650753, "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_types97i77li/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.127) 0:00:28.390 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.023) 0:00:28.414 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.050) 0:00:28.464 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.034) 0:00:28.499 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.021) 0:00:28.520 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900970.719787, "block_size": 4096, "blocks": 8, "ctime": 1704900970.7187862, "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": 1704900970.7187862, "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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.129) 0:00:28.650 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.022) 0:00:28.672 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.005084", "end": "2024-01-10 15:36:15.754736", "rc": 1, "start": "2024-01-10 15:36:15.749652" } 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.130) 0:00:28.803 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:36:15 +0000 (0:00:00.059) 0:00:28.863 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002994", "end": "2024-01-10 15:36:15.949635", "rc": 0, "start": "2024-01-10 15:36:15.946641" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.137) 0:00:29.000 ***** 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_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.027) 0:00:29.027 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002927", "end": "2024-01-10 15:36:16.113064", "rc": 0, "start": "2024-01-10 15:36:16.110137" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.135) 0:00:29.162 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.026) 0:00:29.189 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.024) 0:00:29.213 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.023) 0:00:29.237 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.022) 0:00:29.260 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002893", "end": "2024-01-10 15:36:16.453073", "rc": 0, "start": "2024-01-10 15:36:16.450180" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.150 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.44.1 dev eth0 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.240) 0:00:29.500 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.022) 0:00:29.523 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.002970", "end": "2024-01-10 15:36:16.603935", "rc": 0, "start": "2024-01-10 15:36:16.600965" } 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_types97i77li/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.129) 0:00:29.652 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.020) 0:00:29.673 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.021) 0:00:29.694 ***** included: /WORKDIR/git-route_types97i77li/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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.036) 0:00:29.731 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.066) 0:00:29.797 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.021) 0:00:29.819 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:36:16 +0000 (0:00:00.021) 0:00:29.841 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:36:18 +0000 (0:00:01.390) 0:00:31.232 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:36:18 +0000 (0:00:00.562) 0:00:31.795 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:36:18 +0000 (0:00:00.022) 0:00:31.818 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:36:18 +0000 (0:00:00.020) 0:00:31.838 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:36:18 +0000 (0:00:00.055) 0:00:31.894 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:36:18 +0000 (0:00:00.044) 0:00:31.938 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:36:18 +0000 (0:00:00.021) 0:00:31.960 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:36:19 +0000 (0:00:00.020) 0:00:31.981 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:36:19 +0000 (0:00:00.026) 0:00:32.007 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:36:19 +0000 (0:00:00.021) 0:00:32.029 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:36:19 +0000 (0:00:00.019) 0:00:32.049 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:36:19 +0000 (0:00:00.184) 0:00:32.233 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-28529rq3zrxk/tmp08nazh3d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:36:19 +0000 (0:00:00.192) 0:00:32.425 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:36:19 +0000 (0:00:00.337) 0:00:32.763 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:36:19 +0000 (0:00:00.021) 0:00:32.785 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:36:19 +0000 (0:00:00.023) 0:00:32.808 ***** 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_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:36:19 +0000 (0:00:00.024) 0:00:32.833 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:36:19 +0000 (0:00:00.022) 0:00:32.855 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 10 January 2024 15:36:20 +0000 (0:00:00.133) 0:00:32.989 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:36:20 +0000 (0:00:00.104) 0:00:33.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:36:20 +0000 (0:00:00.022) 0:00:33.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:36:20 +0000 (0:00:00.024) 0:00:33.141 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:36:20 +0000 (0:00:00.035) 0:00:33.177 ***** included: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:36:20 +0000 (0:00:00.034) 0:00:33.211 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003120", "end": "2024-01-10 15:36:20.305353", "rc": 0, "start": "2024-01-10 15:36:20.302233" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:36:20 +0000 (0:00:00.148) 0:00:33.359 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:36:20 +0000 (0:00:00.023) 0:00:33.383 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:36:20 +0000 (0:00:00.024) 0:00:33.407 ***** 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_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 10 January 2024 15:36:20 +0000 (0:00:00.370) 0:00:33.777 ***** 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_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 10 January 2024 15:36:20 +0000 (0:00:00.034) 0:00:33.812 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 10 January 2024 15:36:20 +0000 (0:00:00.023) 0:00:33.835 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.035491", "end": "2024-01-10 15:36:20.956545", "rc": 0, "start": "2024-01-10 15:36:20.921054" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 10 January 2024 15:36:21 +0000 (0:00:00.180) 0:00:34.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 10 January 2024 15:36:21 +0000 (0:00:00.104) 0:00:34.121 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:36:21 +0000 (0:00:00.024) 0:00:34.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 10 January 2024 15:36:21 +0000 (0:00:00.023) 0:00:34.168 ***** 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 Wednesday 10 January 2024 15:36:21 +0000 (0:00:00.013) 0:00:34.182 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.95s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 4.46s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.84s /WORKDIR/git-route_types97i77li/tests/tests_auto_gateway_initscripts.yml:5 ---- linux-system-roles.network : Check which packages are installed --------- 0.76s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.75s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-route_types97i77li/tests/playbooks/tests_auto_gateway.yml:3 ------ linux-system-roles.network : Configure networking connection profiles --- 0.72s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/main.yml:122 Create veth interface veth0 --------------------------------------------- 0.66s /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Check which packages are installed --------- 0.57s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.56s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.56s /WORKDIR/git-route_types97i77li/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.52s /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:16 Enable EPEL 6 ----------------------------------------------------------- 0.48s /WORKDIR/git-route_types97i77li/tests/tasks/enable_epel.yml:40 ---------------- Create veth interface veth0 --------------------------------------------- 0.40s /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:24 Install iproute --------------------------------------------------------- 0.37s /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.37s /WORKDIR/git-route_types97i77li/tests/playbooks/tasks/manage_test_interface.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---