# 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_nm.yml ******************************************** 2 plays in /WORKDIR/git-route_typeimp34ksm/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/tests_auto_gateway_nm.yml:6 Wednesday 10 January 2024 15:20:42 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeimp34ksm/tests/tests_auto_gateway_nm.yml:9 Wednesday 10 January 2024 15:20:43 +0000 (0:00:00.925) 0:00:00.938 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 15:20:43 +0000 (0:00:00.015) 0:00:00.953 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 15:20:43 +0000 (0:00:00.554) 0:00:01.508 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 15:20:43 +0000 (0:00:00.270) 0:00:01.778 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 15:20:43 +0000 (0:00:00.019) 0:00:01.798 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 15:20:44 +0000 (0:00:00.015) 0:00:01.814 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 15:20:44 +0000 (0:00:00.043) 0:00:01.858 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 15:20:44 +0000 (0:00:00.013) 0:00:01.871 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 15:20:44 +0000 (0:00:00.009) 0:00:01.880 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 15:20:44 +0000 (0:00:00.009) 0:00:01.890 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 15:20:44 +0000 (0:00:00.009) 0:00:01.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tests_auto_gateway_nm.yml:11 Wednesday 10 January 2024 15:20:44 +0000 (0:00:00.009) 0:00:01.909 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 10 January 2024 15:20:44 +0000 (0:00:00.011) 0:00:01.920 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 10 January 2024 15:20:44 +0000 (0:00:00.754) 0:00:02.675 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:20:44 +0000 (0:00:00.024) 0:00:02.700 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:20:44 +0000 (0:00:00.012) 0:00:02.712 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004854", "end": "2024-01-10 15:20:46.140118", "rc": 0, "start": "2024-01-10 15:20:45.135264" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:20:46 +0000 (0:00:01.260) 0:00:03.973 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:20:46 +0000 (0:00:00.011) 0:00:03.984 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 10 January 2024 15:20:46 +0000 (0:00:00.010) 0:00:03.995 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:20:46 +0000 (0:00:00.027) 0:00:04.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:20:46 +0000 (0:00:00.017) 0:00:04.040 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:20:46 +0000 (0:00:00.009) 0:00:04.049 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:20:46 +0000 (0:00:00.030) 0:00:04.080 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:20:46 +0000 (0:00:00.014) 0:00:04.095 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003713", "end": "2024-01-10 15:20:46.465076", "rc": 0, "start": "2024-01-10 15:20:46.461363" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:20:46 +0000 (0:00:00.213) 0:00:04.309 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:20:46 +0000 (0:00:00.022) 0:00:04.331 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:20:46 +0000 (0:00:00.026) 0:00:04.357 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 10 January 2024 15:20:49 +0000 (0:00:02.561) 0:00:06.919 ***** 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.048544", "end": "2024-01-10 15:20:49.345835", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-10 15:20:49.297291" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004024", "end": "2024-01-10 15:20:49.598059", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-10 15:20:49.594035" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004190", "end": "2024-01-10 15:20:49.793593", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-10 15:20:49.789403" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 10 January 2024 15:20:49 +0000 (0:00:00.707) 0:00:07.626 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.137366", "end": "2024-01-10 15:20:50.151053", "rc": 0, "start": "2024-01-10 15:20:50.013687" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.360) 0:00:07.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.010) 0:00:07.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.010) 0:00:08.008 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.010) 0:00:08.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.010) 0:00:08.028 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.009) 0:00:08.038 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.041) 0:00:08.080 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.014) 0:00:08.094 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900049.3427064, "block_size": 4096, "blocks": 0, "ctime": 1704900049.3427064, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26307, "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": 1704900049.3427064, "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_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.197) 0:00:08.292 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.013) 0:00:08.306 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.010) 0:00:08.317 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.065) 0:00:08.382 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.011) 0:00:08.393 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.010) 0:00:08.403 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:20:50 +0000 (0:00:00.010) 0:00:08.414 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:20:52 +0000 (0:00:02.217) 0:00:10.631 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:20:53 +0000 (0:00:01.087) 0:00:11.719 ***** ok: [sut] => {} MSG: Using network provider: nm 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:20:53 +0000 (0:00:00.023) 0:00:11.742 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:20:53 +0000 (0:00:00.021) 0:00:11.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:20:53 +0000 (0:00:00.023) 0:00:11.787 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:20:54 +0000 (0:00:00.053) 0:00:11.841 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:20:54 +0000 (0:00:00.024) 0:00:11.865 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:20:54 +0000 (0:00:00.044) 0:00:11.910 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:20:54 +0000 (0:00:00.035) 0:00:11.945 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:20:54 +0000 (0:00:00.705) 0:00:12.651 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:20:54 +0000 (0:00:00.032) 0:00:12.683 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:20:54 +0000 (0:00:00.022) 0:00:12.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:20:54 +0000 (0:00:00.025) 0:00:12.731 ***** 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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, adfddf36-5579-41cc-b1bf-b2352474e0d3 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, adfddf36-5579-41cc-b1bf-b2352474e0d3 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:20:55 +0000 (0:00:00.962) 0:00:13.694 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:20:55 +0000 (0:00:00.021) 0:00:13.715 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, adfddf36-5579-41cc-b1bf-b2352474e0d3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, adfddf36-5579-41cc-b1bf-b2352474e0d3 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:20:55 +0000 (0:00:00.022) 0:00:13.737 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, adfddf36-5579-41cc-b1bf-b2352474e0d3\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, adfddf36-5579-41cc-b1bf-b2352474e0d3 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, adfddf36-5579-41cc-b1bf-b2352474e0d3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, adfddf36-5579-41cc-b1bf-b2352474e0d3 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:20:55 +0000 (0:00:00.023) 0:00:13.761 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:20:55 +0000 (0:00:00.020) 0:00:13.782 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 10 January 2024 15:20:56 +0000 (0:00:00.262) 0:00:14.044 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:20:56 +0000 (0:00:00.047) 0:00:14.092 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:20:56 +0000 (0:00:00.034) 0:00:14.127 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900049.3427064, "block_size": 4096, "blocks": 0, "ctime": 1704900049.3427064, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26307, "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": 1704900049.3427064, "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_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:20:56 +0000 (0:00:00.238) 0:00:14.365 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 10 January 2024 15:20:56 +0000 (0:00:00.038) 0:00:14.403 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:20:56 +0000 (0:00:00.082) 0:00:14.486 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:20:56 +0000 (0:00:00.039) 0:00:14.526 ***** 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:20:56 +0000 (0:00:00.023) 0:00:14.550 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:20:56 +0000 (0:00:00.216) 0:00:14.766 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:20:56 +0000 (0:00:00.035) 0:00:14.802 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.063262", "end": "2024-01-10 15:20:57.240727", "rc": 0, "start": "2024-01-10 15:20:57.177465" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:20:57 +0000 (0:00:00.282) 0:00:15.085 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:20:57 +0000 (0:00:00.027) 0:00:15.113 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:20:57 +0000 (0:00:00.025) 0:00:15.138 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:20:57 +0000 (0:00:00.028) 0:00:15.166 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:20:57 +0000 (0:00:00.024) 0:00:15.191 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:20:57 +0000 (0:00:00.027) 0:00:15.219 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:20:57 +0000 (0:00:00.024) 0:00:15.244 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:20:57 +0000 (0:00:00.056) 0:00:15.300 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 10 January 2024 15:20:57 +0000 (0:00:00.024) 0:00:15.324 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004128", "end": "2024-01-10 15:20:57.704039", "rc": 0, "start": "2024-01-10 15:20:57.699911" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.114 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.114 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 10 January 2024 15:20:57 +0000 (0:00:00.244) 0:00:15.569 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 10 January 2024 15:20:57 +0000 (0:00:00.035) 0:00:15.605 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003806", "end": "2024-01-10 15:20:57.999781", "rc": 0, "start": "2024-01-10 15:20:57.995975" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 10 January 2024 15:20:58 +0000 (0:00:00.240) 0:00:15.845 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 10 January 2024 15:20:58 +0000 (0:00:00.026) 0:00:15.871 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:20:58 +0000 (0:00:00.035) 0:00:15.907 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:20:58 +0000 (0:00:00.045) 0:00:15.952 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:20:58 +0000 (0:00:00.038) 0:00:15.991 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:20:58 +0000 (0:00:00.031) 0:00:16.022 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:20:58 +0000 (0:00:00.027) 0:00:16.050 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:21:00 +0000 (0:00:02.208) 0:00:18.258 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:21:01 +0000 (0:00:00.937) 0:00:19.195 ***** ok: [sut] => {} MSG: Using network provider: nm 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:21:01 +0000 (0:00:00.023) 0:00:19.219 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:21:01 +0000 (0:00:00.021) 0:00:19.241 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:21:01 +0000 (0:00:00.021) 0:00:19.263 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:21:01 +0000 (0:00:00.077) 0:00:19.340 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:21:01 +0000 (0:00:00.025) 0:00:19.366 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:21:01 +0000 (0:00:00.024) 0:00:19.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:21:01 +0000 (0:00:00.027) 0:00:19.418 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:21:02 +0000 (0:00:00.590) 0:00:20.008 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:21:02 +0000 (0:00:00.031) 0:00:20.040 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:21:02 +0000 (0:00:00.038) 0:00:20.078 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:21:02 +0000 (0:00:00.028) 0:00:20.107 ***** 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:21:02 +0000 (0:00:00.533) 0:00:20.640 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:21:02 +0000 (0:00:00.024) 0:00:20.665 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:21:02 +0000 (0:00:00.024) 0:00:20.690 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:21:02 +0000 (0:00:00.023) 0:00:20.714 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:21:02 +0000 (0:00:00.021) 0:00:20.735 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 10 January 2024 15:21:03 +0000 (0:00:00.241) 0:00:20.976 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:21:03 +0000 (0:00:00.052) 0:00:21.029 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:21:03 +0000 (0:00:00.022) 0:00:21.051 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:21:03 +0000 (0:00:00.020) 0:00:21.072 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:21:03 +0000 (0:00:00.035) 0:00:21.107 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:21:03 +0000 (0:00:00.034) 0:00:21.141 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003744", "end": "2024-01-10 15:21:03.513273", "rc": 0, "start": "2024-01-10 15:21:03.509529" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:21:03 +0000 (0:00:00.215) 0:00:21.357 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:21:03 +0000 (0:00:00.023) 0:00:21.381 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:21:03 +0000 (0:00:00.022) 0:00:21.404 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 10 January 2024 15:21:06 +0000 (0:00:02.420) 0:00:23.824 ***** 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_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.032) 0:00:23.857 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.030) 0:00:23.888 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.019068", "end": "2024-01-10 15:21:06.280700", "rc": 0, "start": "2024-01-10 15:21:06.261632" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.242) 0:00:24.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.023) 0:00:24.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.024) 0:00:24.178 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.022) 0:00:24.201 ***** 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_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.022) 0:00:24.224 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.046) 0:00:24.271 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.054) 0:00:24.326 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.025) 0:00:24.351 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.042) 0:00:24.394 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.054) 0:00:24.448 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.050) 0:00:24.499 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003961", "end": "2024-01-10 15:21:06.879055", "rc": 0, "start": "2024-01-10 15:21:06.875094" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.225) 0:00:24.724 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.023) 0:00:24.748 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:21:06 +0000 (0:00:00.022) 0:00:24.770 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 10 January 2024 15:21:09 +0000 (0:00:02.371) 0:00:27.142 ***** 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.007830", "end": "2024-01-10 15:21:09.521196", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-10 15:21:09.513366" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003974", "end": "2024-01-10 15:21:09.772167", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-10 15:21:09.768193" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004263", "end": "2024-01-10 15:21:09.970277", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-10 15:21:09.966014" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 10 January 2024 15:21:10 +0000 (0:00:00.673) 0:00:27.816 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023349", "end": "2024-01-10 15:21:10.209381", "rc": 0, "start": "2024-01-10 15:21:10.186032" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 10 January 2024 15:21:10 +0000 (0:00:00.240) 0:00:28.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 10 January 2024 15:21:10 +0000 (0:00:00.026) 0:00:28.083 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 10 January 2024 15:21:10 +0000 (0:00:00.026) 0:00:28.110 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:21:10 +0000 (0:00:00.027) 0:00:28.138 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 10 January 2024 15:21:10 +0000 (0:00:00.035) 0:00:28.173 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:21:10 +0000 (0:00:00.058) 0:00:28.231 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:21:10 +0000 (0:00:00.043) 0:00:28.275 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:21:10 +0000 (0:00:00.042) 0:00:28.317 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:21:10 +0000 (0:00:00.023) 0:00:28.341 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:21:10 +0000 (0:00:00.022) 0:00:28.364 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:21:12 +0000 (0:00:02.144) 0:00:30.508 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:21:13 +0000 (0:00:01.062) 0:00:31.571 ***** ok: [sut] => {} MSG: Using network provider: nm 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:21:13 +0000 (0:00:00.028) 0:00:31.599 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:21:13 +0000 (0:00:00.024) 0:00:31.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:21:13 +0000 (0:00:00.023) 0:00:31.647 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:21:13 +0000 (0:00:00.054) 0:00:31.702 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:21:13 +0000 (0:00:00.024) 0:00:31.726 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:21:13 +0000 (0:00:00.023) 0:00:31.750 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:21:13 +0000 (0:00:00.027) 0:00:31.777 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:21:14 +0000 (0:00:00.593) 0:00:32.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:21:14 +0000 (0:00:00.038) 0:00:32.410 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:21:14 +0000 (0:00:00.022) 0:00:32.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:21:14 +0000 (0:00:00.023) 0:00:32.455 ***** 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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3fe01ec4-47c6-49ac-9d9d-e5350ccb3070 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3fe01ec4-47c6-49ac-9d9d-e5350ccb3070 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.497) 0:00:32.953 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.023) 0:00:32.977 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3fe01ec4-47c6-49ac-9d9d-e5350ccb3070", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3fe01ec4-47c6-49ac-9d9d-e5350ccb3070 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.026) 0:00:33.003 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3fe01ec4-47c6-49ac-9d9d-e5350ccb3070\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3fe01ec4-47c6-49ac-9d9d-e5350ccb3070 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3fe01ec4-47c6-49ac-9d9d-e5350ccb3070", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3fe01ec4-47c6-49ac-9d9d-e5350ccb3070 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.023) 0:00:33.027 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.024) 0:00:33.051 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.208) 0:00:33.260 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.053) 0:00:33.313 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.036) 0:00:33.350 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900069.5173059, "block_size": 4096, "blocks": 0, "ctime": 1704900069.5173059, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26893, "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": 1704900069.5173059, "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_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.216) 0:00:33.566 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.025) 0:00:33.591 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.093) 0:00:33.685 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.040) 0:00:33.726 ***** 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:21:15 +0000 (0:00:00.022) 0:00:33.749 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.216) 0:00:33.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.021) 0:00:33.987 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022923", "end": "2024-01-10 15:21:16.380217", "rc": 0, "start": "2024-01-10 15:21:16.357294" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.238) 0:00:34.225 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.025) 0:00:34.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.022) 0:00:34.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.022) 0:00:34.295 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.024) 0:00:34.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.023) 0:00:34.343 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.025) 0:00:34.368 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.025) 0:00:34.394 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.062) 0:00:34.457 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003831", "end": "2024-01-10 15:21:16.843492", "rc": 0, "start": "2024-01-10 15:21:16.839661" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.114 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.114 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.233) 0:00:34.691 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 10 January 2024 15:21:16 +0000 (0:00:00.025) 0:00:34.716 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003836", "end": "2024-01-10 15:21:17.087753", "rc": 0, "start": "2024-01-10 15:21:17.083917" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 10 January 2024 15:21:17 +0000 (0:00:00.216) 0:00:34.932 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 10 January 2024 15:21:17 +0000 (0:00:00.024) 0:00:34.957 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:21:17 +0000 (0:00:00.021) 0:00:34.979 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:21:17 +0000 (0:00:00.039) 0:00:35.018 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:21:17 +0000 (0:00:00.032) 0:00:35.051 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:21:17 +0000 (0:00:00.023) 0:00:35.074 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:21:17 +0000 (0:00:00.023) 0:00:35.098 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:21:19 +0000 (0:00:02.143) 0:00:37.242 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:21:20 +0000 (0:00:00.932) 0:00:38.174 ***** ok: [sut] => {} MSG: Using network provider: nm 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:21:20 +0000 (0:00:00.029) 0:00:38.204 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:21:20 +0000 (0:00:00.042) 0:00:38.247 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:21:20 +0000 (0:00:00.035) 0:00:38.282 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:21:20 +0000 (0:00:00.047) 0:00:38.330 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:21:20 +0000 (0:00:00.069) 0:00:38.399 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:21:20 +0000 (0:00:00.029) 0:00:38.428 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:21:20 +0000 (0:00:00.044) 0:00:38.473 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:21:21 +0000 (0:00:00.568) 0:00:39.042 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:21:21 +0000 (0:00:00.030) 0:00:39.072 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:21:21 +0000 (0:00:00.029) 0:00:39.102 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:21:21 +0000 (0:00:00.025) 0:00:39.127 ***** 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:21:21 +0000 (0:00:00.452) 0:00:39.580 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:21:21 +0000 (0:00:00.028) 0:00:39.609 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:21:21 +0000 (0:00:00.025) 0:00:39.634 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:21:21 +0000 (0:00:00.023) 0:00:39.658 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:21:21 +0000 (0:00:00.021) 0:00:39.680 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 10 January 2024 15:21:22 +0000 (0:00:00.215) 0:00:39.895 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:21:22 +0000 (0:00:00.105) 0:00:40.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:21:22 +0000 (0:00:00.023) 0:00:40.024 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:21:22 +0000 (0:00:00.022) 0:00:40.046 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:21:22 +0000 (0:00:00.037) 0:00:40.084 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:21:22 +0000 (0:00:00.037) 0:00:40.121 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004675", "end": "2024-01-10 15:21:23.525369", "rc": 0, "start": "2024-01-10 15:21:22.520694" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:21:23 +0000 (0:00:01.260) 0:00:41.382 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:21:23 +0000 (0:00:00.031) 0:00:41.413 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:21:23 +0000 (0:00:00.030) 0:00:41.444 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 10 January 2024 15:21:26 +0000 (0:00:02.418) 0:00:43.863 ***** 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_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 10 January 2024 15:21:26 +0000 (0:00:00.046) 0:00:43.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 10 January 2024 15:21:26 +0000 (0:00:00.034) 0:00:43.944 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.021045", "end": "2024-01-10 15:21:26.339109", "rc": 0, "start": "2024-01-10 15:21:26.318064" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 10 January 2024 15:21:26 +0000 (0:00:00.242) 0:00:44.187 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 10 January 2024 15:21:26 +0000 (0:00:00.023) 0:00:44.210 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:21:26 +0000 (0:00:00.022) 0:00:44.232 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 10 January 2024 15:21:26 +0000 (0:00:00.024) 0:00:44.257 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Wednesday 10 January 2024 15:21:26 +0000 (0:00:00.026) 0:00:44.283 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.56s /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.42s /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.42s /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.37s /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.26s /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.26s /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.16s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.09s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.99s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.96s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.93s /WORKDIR/git-route_typeimp34ksm/tests/tests_auto_gateway_nm.yml:6 ------------- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.71s /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/manage_test_interface.yml:24 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---