# 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_typeskchak9h/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_typeskchak9h/tests/tests_auto_gateway_nm.yml:5 Tuesday 02 January 2024 19:25:12 +0000 (0:00:00.012) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeskchak9h/tests/tests_auto_gateway_nm.yml:9 Tuesday 02 January 2024 19:25:12 +0000 (0:00:00.634) 0:00:00.647 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/tasks/el_repo_setup.yml:3 Tuesday 02 January 2024 19:25:12 +0000 (0:00:00.013) 0:00:00.660 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/el_repo_setup.yml:19 Tuesday 02 January 2024 19:25:13 +0000 (0:00:00.359) 0:00:01.020 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/el_repo_setup.yml:24 Tuesday 02 January 2024 19:25:13 +0000 (0:00:00.273) 0:00:01.294 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/el_repo_setup.yml:28 Tuesday 02 January 2024 19:25:13 +0000 (0:00:00.020) 0:00:01.314 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/el_repo_setup.yml:53 Tuesday 02 January 2024 19:25:13 +0000 (0:00:00.018) 0:00:01.333 ******* included: /WORKDIR/git-route_typeskchak9h/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/enable_epel.yml:8 Tuesday 02 January 2024 19:25:13 +0000 (0:00:00.030) 0:00:01.363 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/enable_epel.yml:24 Tuesday 02 January 2024 19:25:13 +0000 (0:00:00.010) 0:00:01.373 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/enable_epel.yml:30 Tuesday 02 January 2024 19:25:13 +0000 (0:00:00.009) 0:00:01.383 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/enable_epel.yml:35 Tuesday 02 January 2024 19:25:13 +0000 (0:00:00.009) 0:00:01.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tasks/enable_epel.yml:40 Tuesday 02 January 2024 19:25:13 +0000 (0:00:00.009) 0:00:01.401 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/tests_auto_gateway_nm.yml:11 Tuesday 02 January 2024 19:25:13 +0000 (0:00:00.009) 0:00:01.411 ******* 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_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 02 January 2024 19:25:13 +0000 (0:00:00.012) 0:00:01.423 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.610) 0:00:02.034 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.022) 0:00:02.056 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.012) 0:00:02.069 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003534", "end": "2024-01-02 19:25:14.632611", "rc": 0, "start": "2024-01-02 19:25:14.629077" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.247) 0:00:02.317 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.012) 0:00:02.329 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.010) 0:00:02.340 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.027) 0:00:02.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.011) 0:00:02.380 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.009) 0:00:02.389 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.013) 0:00:02.402 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.012) 0:00:02.415 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003763", "end": "2024-01-02 19:25:14.929272", "rc": 0, "start": "2024-01-02 19:25:14.925509" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.201) 0:00:02.616 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.012) 0:00:02.628 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:25:14 +0000 (0:00:00.012) 0:00:02.640 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:25:17 +0000 (0:00:02.185) 0:00:04.826 ******* 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.021762", "end": "2024-01-02 19:25:17.369451", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-02 19:25:17.347689" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004154", "end": "2024-01-02 19:25:17.608331", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-02 19:25:17.604177" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004432", "end": "2024-01-02 19:25:17.810274", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-02 19:25:17.805842" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:25:17 +0000 (0:00:00.672) 0:00:05.498 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.085462", "end": "2024-01-02 19:25:18.101853", "rc": 0, "start": "2024-01-02 19:25:18.016391" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.292) 0:00:05.790 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.010) 0:00:05.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.011) 0:00:05.812 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.011) 0:00:05.824 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.010) 0:00:05.834 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.009) 0:00:05.843 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.046) 0:00:05.890 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.021) 0:00:05.912 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223517.3627715, "block_size": 4096, "blocks": 0, "ctime": 1704223517.3627715, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23048, "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": 1704223517.3627715, "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_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.211) 0:00:06.123 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.014) 0:00:06.137 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.011) 0:00:06.148 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.067) 0:00:06.216 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.011) 0:00:06.227 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.009) 0:00:06.237 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:25:18 +0000 (0:00:00.009) 0:00:06.247 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:25:20 +0000 (0:00:01.659) 0:00:07.906 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:25:21 +0000 (0:00:01.151) 0:00:09.057 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:25:21 +0000 (0:00:00.024) 0:00:09.082 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:25:21 +0000 (0:00:00.045) 0:00:09.127 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:25:21 +0000 (0:00:00.023) 0:00:09.150 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:25:21 +0000 (0:00:00.047) 0:00:09.198 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:25:21 +0000 (0:00:00.030) 0:00:09.228 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:25:21 +0000 (0:00:00.024) 0:00:09.252 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:25:21 +0000 (0:00:00.025) 0:00:09.278 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:25:22 +0000 (0:00:00.538) 0:00:09.816 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:25:22 +0000 (0:00:00.026) 0:00:09.842 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:25:22 +0000 (0:00:00.020) 0:00:09.863 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:25:22 +0000 (0:00:00.020) 0:00:09.884 ******* 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, 5f3046c3-2453-4368-b978-80a29049f6e3 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 5f3046c3-2453-4368-b978-80a29049f6e3 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:25:22 +0000 (0:00:00.682) 0:00:10.566 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:25:22 +0000 (0:00:00.037) 0:00:10.603 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 5f3046c3-2453-4368-b978-80a29049f6e3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 5f3046c3-2453-4368-b978-80a29049f6e3 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:25:22 +0000 (0:00:00.028) 0:00:10.632 ******* 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, 5f3046c3-2453-4368-b978-80a29049f6e3\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 5f3046c3-2453-4368-b978-80a29049f6e3 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 5f3046c3-2453-4368-b978-80a29049f6e3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 5f3046c3-2453-4368-b978-80a29049f6e3 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:25:23 +0000 (0:00:00.068) 0:00:10.700 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:25:23 +0000 (0:00:00.041) 0:00:10.742 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 02 January 2024 19:25:23 +0000 (0:00:00.266) 0:00:11.009 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:25:23 +0000 (0:00:00.063) 0:00:11.073 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:25:23 +0000 (0:00:00.035) 0:00:11.108 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223517.3627715, "block_size": 4096, "blocks": 0, "ctime": 1704223517.3627715, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23048, "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": 1704223517.3627715, "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_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:25:23 +0000 (0:00:00.219) 0:00:11.327 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 02 January 2024 19:25:23 +0000 (0:00:00.022) 0:00:11.350 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:25:23 +0000 (0:00:00.049) 0:00:11.400 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:25:23 +0000 (0:00:00.036) 0:00:11.437 ******* 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:25:23 +0000 (0:00:00.034) 0:00:11.471 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.242) 0:00:11.714 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.022) 0:00:11.736 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.128661", "end": "2024-01-02 19:25:24.383568", "rc": 0, "start": "2024-01-02 19:25:24.254907" } 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.345) 0:00:12.082 ******* 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.024) 0:00:12.106 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.025) 0:00:12.131 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.023) 0:00:12.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.023) 0:00:12.179 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.023) 0:00:12.202 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.025) 0:00:12.228 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.026) 0:00:12.254 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.023) 0:00:12.278 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004386", "end": "2024-01-02 19:25:24.797748", "rc": 0, "start": "2024-01-02 19:25:24.793362" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.32 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.32 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_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.218) 0:00:12.496 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 02 January 2024 19:25:24 +0000 (0:00:00.022) 0:00:12.519 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004003", "end": "2024-01-02 19:25:25.041097", "rc": 0, "start": "2024-01-02 19:25:25.037094" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 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_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 02 January 2024 19:25:25 +0000 (0:00:00.239) 0:00:12.758 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 02 January 2024 19:25:25 +0000 (0:00:00.028) 0:00:12.787 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:25:25 +0000 (0:00:00.082) 0:00:12.870 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:25:25 +0000 (0:00:00.050) 0:00:12.920 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:25:25 +0000 (0:00:00.027) 0:00:12.948 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:25:25 +0000 (0:00:00.022) 0:00:12.970 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:25:25 +0000 (0:00:00.022) 0:00:12.992 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:25:26 +0000 (0:00:01.617) 0:00:14.610 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:25:28 +0000 (0:00:01.071) 0:00:15.681 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:25:28 +0000 (0:00:00.029) 0:00:15.711 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:25:28 +0000 (0:00:00.024) 0:00:15.735 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:25:28 +0000 (0:00:00.025) 0:00:15.760 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:25:28 +0000 (0:00:00.050) 0:00:15.811 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:25:28 +0000 (0:00:00.028) 0:00:15.839 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:25:28 +0000 (0:00:00.033) 0:00:15.872 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:25:28 +0000 (0:00:00.034) 0:00:15.907 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:25:28 +0000 (0:00:00.416) 0:00:16.324 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:25:28 +0000 (0:00:00.033) 0:00:16.358 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:25:28 +0000 (0:00:00.024) 0:00:16.382 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:25:28 +0000 (0:00:00.042) 0:00:16.424 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:25:29 +0000 (0:00:00.517) 0:00:16.942 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:25:29 +0000 (0:00:00.042) 0:00:16.984 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:25:29 +0000 (0:00:00.023) 0:00:17.008 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:25:29 +0000 (0:00:00.061) 0:00:17.069 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:25:29 +0000 (0:00:00.023) 0:00:17.092 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 02 January 2024 19:25:29 +0000 (0:00:00.210) 0:00:17.303 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:25:29 +0000 (0:00:00.050) 0:00:17.354 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:25:29 +0000 (0:00:00.022) 0:00:17.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:25:29 +0000 (0:00:00.022) 0:00:17.399 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:25:29 +0000 (0:00:00.034) 0:00:17.433 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:25:29 +0000 (0:00:00.034) 0:00:17.468 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003713", "end": "2024-01-02 19:25:29.989806", "rc": 0, "start": "2024-01-02 19:25:29.986093" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:25:30 +0000 (0:00:00.219) 0:00:17.687 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:25:30 +0000 (0:00:00.023) 0:00:17.710 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:25:30 +0000 (0:00:00.021) 0:00:17.732 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:25:31 +0000 (0:00:01.008) 0:00:18.740 ******* 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_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.039) 0:00:18.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.024) 0:00:18.804 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010450", "end": "2024-01-02 19:25:31.346630", "rc": 0, "start": "2024-01-02 19:25:31.336180" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.251) 0:00:19.055 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.025) 0:00:19.081 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.024) 0:00:19.106 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.026) 0:00:19.132 ******* 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_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.023) 0:00:19.156 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.022) 0:00:19.179 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.054) 0:00:19.234 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.022) 0:00:19.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.020) 0:00:19.277 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.036) 0:00:19.313 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:25:31 +0000 (0:00:00.079) 0:00:19.393 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004911", "end": "2024-01-02 19:25:32.916549", "rc": 0, "start": "2024-01-02 19:25:31.911638" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:25:32 +0000 (0:00:01.221) 0:00:20.614 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:25:32 +0000 (0:00:00.023) 0:00:20.638 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:25:32 +0000 (0:00:00.024) 0:00:20.662 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:25:34 +0000 (0:00:01.008) 0:00:21.671 ******* 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.008146", "end": "2024-01-02 19:25:34.206362", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-02 19:25:34.198216" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004035", "end": "2024-01-02 19:25:34.438012", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-02 19:25:34.433977" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004193", "end": "2024-01-02 19:25:34.665337", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-02 19:25:34.661144" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:25:34 +0000 (0:00:00.697) 0:00:22.368 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024505", "end": "2024-01-02 19:25:34.921945", "rc": 0, "start": "2024-01-02 19:25:34.897440" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:25:34 +0000 (0:00:00.259) 0:00:22.628 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:25:35 +0000 (0:00:00.061) 0:00:22.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:25:35 +0000 (0:00:00.023) 0:00:22.712 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:25:35 +0000 (0:00:00.023) 0:00:22.736 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:25:35 +0000 (0:00:00.023) 0:00:22.759 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:25:35 +0000 (0:00:00.023) 0:00:22.782 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:25:35 +0000 (0:00:00.038) 0:00:22.821 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:25:35 +0000 (0:00:00.027) 0:00:22.849 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:25:35 +0000 (0:00:00.022) 0:00:22.871 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:25:35 +0000 (0:00:00.021) 0:00:22.892 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:25:36 +0000 (0:00:01.608) 0:00:24.500 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:25:37 +0000 (0:00:01.045) 0:00:25.546 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:25:37 +0000 (0:00:00.024) 0:00:25.570 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:25:37 +0000 (0:00:00.022) 0:00:25.593 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:25:37 +0000 (0:00:00.021) 0:00:25.615 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:25:37 +0000 (0:00:00.044) 0:00:25.660 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:25:38 +0000 (0:00:00.022) 0:00:25.682 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:25:38 +0000 (0:00:00.024) 0:00:25.706 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:25:38 +0000 (0:00:00.026) 0:00:25.733 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:25:38 +0000 (0:00:00.402) 0:00:26.135 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:25:38 +0000 (0:00:00.028) 0:00:26.163 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:25:38 +0000 (0:00:00.022) 0:00:26.186 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:25:38 +0000 (0:00:00.092) 0:00:26.279 ******* 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, 856a904c-615e-4101-9e26-7a0a18915b71 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 856a904c-615e-4101-9e26-7a0a18915b71 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.443) 0:00:26.722 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.022) 0:00:26.745 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 856a904c-615e-4101-9e26-7a0a18915b71", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 856a904c-615e-4101-9e26-7a0a18915b71 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.025) 0:00:26.771 ******* 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, 856a904c-615e-4101-9e26-7a0a18915b71\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 856a904c-615e-4101-9e26-7a0a18915b71 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 856a904c-615e-4101-9e26-7a0a18915b71", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 856a904c-615e-4101-9e26-7a0a18915b71 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.023) 0:00:26.795 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.022) 0:00:26.818 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.220) 0:00:27.038 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.057) 0:00:27.095 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.061) 0:00:27.156 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223534.2025995, "block_size": 4096, "blocks": 0, "ctime": 1704223534.2025995, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23634, "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": 1704223534.2025995, "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_typeskchak9h/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.217) 0:00:27.374 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.025) 0:00:27.399 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.096) 0:00:27.495 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.039) 0:00:27.535 ******* 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:25:39 +0000 (0:00:00.028) 0:00:27.564 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.216) 0:00:27.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.023) 0:00:27.804 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023543", "end": "2024-01-02 19:25:40.346191", "rc": 0, "start": "2024-01-02 19:25:40.322648" } 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.239) 0:00:28.043 ******* 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_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.026) 0:00:28.070 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.024) 0:00:28.095 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.024) 0:00:28.119 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.024) 0:00:28.143 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.025) 0:00:28.169 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.025) 0:00:28.194 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.027) 0:00:28.221 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.024) 0:00:28.245 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003970", "end": "2024-01-02 19:25:40.768168", "rc": 0, "start": "2024-01-02 19:25:40.764198" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.32 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.32 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_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.259) 0:00:28.505 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 02 January 2024 19:25:40 +0000 (0:00:00.024) 0:00:28.529 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004164", "end": "2024-01-02 19:25:41.051261", "rc": 0, "start": "2024-01-02 19:25:41.047097" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 02 January 2024 19:25:41 +0000 (0:00:00.219) 0:00:28.749 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 02 January 2024 19:25:41 +0000 (0:00:00.024) 0:00:28.774 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:25:41 +0000 (0:00:00.023) 0:00:28.797 ******* included: /WORKDIR/git-route_typeskchak9h/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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:25:41 +0000 (0:00:00.039) 0:00:28.837 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:25:41 +0000 (0:00:00.029) 0:00:28.866 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:25:41 +0000 (0:00:00.025) 0:00:28.892 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:25:41 +0000 (0:00:00.023) 0:00:28.915 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:25:42 +0000 (0:00:01.685) 0:00:30.601 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:25:43 +0000 (0:00:01.017) 0:00:31.618 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:25:43 +0000 (0:00:00.024) 0:00:31.642 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:25:44 +0000 (0:00:00.032) 0:00:31.675 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:25:44 +0000 (0:00:00.023) 0:00:31.698 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:25:44 +0000 (0:00:00.047) 0:00:31.745 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:25:44 +0000 (0:00:00.028) 0:00:31.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:25:44 +0000 (0:00:00.024) 0:00:31.799 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:25:44 +0000 (0:00:00.026) 0:00:31.825 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:25:44 +0000 (0:00:00.391) 0:00:32.216 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:25:44 +0000 (0:00:00.070) 0:00:32.287 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:25:44 +0000 (0:00:00.023) 0:00:32.311 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:25:44 +0000 (0:00:00.027) 0:00:32.338 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.469) 0:00:32.808 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.023) 0:00:32.831 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.026) 0:00:32.858 ******* 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_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.035) 0:00:32.893 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.023) 0:00:32.917 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.213) 0:00:33.131 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.057) 0:00:33.188 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.024) 0:00:33.213 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.027) 0:00:33.241 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.038) 0:00:33.279 ******* included: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.113) 0:00:33.392 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003767", "end": "2024-01-02 19:25:45.918387", "rc": 0, "start": "2024-01-02 19:25:45.914620" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.228) 0:00:33.621 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:25:45 +0000 (0:00:00.024) 0:00:33.645 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:25:46 +0000 (0:00:00.025) 0:00:33.671 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:25:47 +0000 (0:00:01.019) 0:00:34.690 ******* 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_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:25:47 +0000 (0:00:00.034) 0:00:34.725 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:25:47 +0000 (0:00:00.035) 0:00:34.760 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.017598", "end": "2024-01-02 19:25:47.329190", "rc": 0, "start": "2024-01-02 19:25:47.311592" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:25:47 +0000 (0:00:00.287) 0:00:35.048 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:25:47 +0000 (0:00:00.041) 0:00:35.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:25:47 +0000 (0:00:00.036) 0:00:35.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:25:47 +0000 (0:00:00.033) 0:00:35.160 ******* 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 Tuesday 02 January 2024 19:25:47 +0000 (0:00:00.017) 0:00:35.178 ******* =============================================================================== Install iproute --------------------------------------------------------- 2.19s /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.22s /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.15s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.05s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 1.02s /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 1.01s /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.01s /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.99s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.81s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:85 Create veth interface veth0 --------------------------------------------- 0.70s /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Configure networking connection profiles --- 0.68s /WORKDIR/git-route_typeskchak9h/tests/roles/linux-system-roles.network/tasks/main.yml:122 Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-route_typeskchak9h/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-route_typeskchak9h/tests/tests_auto_gateway_nm.yml:5 ------------- Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-route_typeskchak9h/tests/playbooks/tests_auto_gateway.yml:3 ------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---