# 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_typefycom2fs/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_typefycom2fs/tests/tests_auto_gateway_nm.yml:6 Monday 08 January 2024 14:19:50 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typefycom2fs/tests/tests_auto_gateway_nm.yml:9 Monday 08 January 2024 14:19:50 +0000 (0:00:00.735) 0:00:00.748 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/tasks/el_repo_setup.yml:3 Monday 08 January 2024 14:19:50 +0000 (0:00:00.021) 0:00:00.769 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:19 Monday 08 January 2024 14:19:51 +0000 (0:00:00.372) 0:00:01.142 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:24 Monday 08 January 2024 14:19:51 +0000 (0:00:00.270) 0:00:01.413 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:28 Monday 08 January 2024 14:19:51 +0000 (0:00:00.021) 0:00:01.434 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:53 Monday 08 January 2024 14:19:51 +0000 (0:00:00.017) 0:00:01.451 ******** included: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:8 Monday 08 January 2024 14:19:51 +0000 (0:00:00.028) 0:00:01.480 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:24 Monday 08 January 2024 14:19:51 +0000 (0:00:00.255) 0:00:01.735 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:30 Monday 08 January 2024 14:19:51 +0000 (0:00:00.010) 0:00:01.746 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:35 Monday 08 January 2024 14:19:51 +0000 (0:00:00.009) 0:00:01.755 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.257836", "end": "2024-01-08 14:19:52.218642", "rc": 0, "start": "2024-01-08 14:19:51.960806" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:40 Monday 08 January 2024 14:19:52 +0000 (0:00:00.451) 0:00:02.207 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tests_auto_gateway_nm.yml:11 Monday 08 January 2024 14:19:52 +0000 (0:00:00.009) 0:00:02.217 ******** 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_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:3 Monday 08 January 2024 14:19:52 +0000 (0:00:00.011) 0:00:02.228 ******** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:9 Monday 08 January 2024 14:19:52 +0000 (0:00:00.589) 0:00:02.818 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:19:52 +0000 (0:00:00.024) 0:00:02.843 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:19:52 +0000 (0:00:00.014) 0:00:02.857 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003587", "end": "2024-01-08 14:19:53.073850", "rc": 0, "start": "2024-01-08 14:19:53.070263" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:19:53 +0000 (0:00:00.220) 0:00:03.077 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:19:53 +0000 (0:00:00.012) 0:00:03.090 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:11 Monday 08 January 2024 14:19:53 +0000 (0:00:00.011) 0:00:03.102 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:19:53 +0000 (0:00:00.028) 0:00:03.131 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:19:53 +0000 (0:00:00.011) 0:00:03.142 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:19:53 +0000 (0:00:00.009) 0:00:03.151 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:19:53 +0000 (0:00:00.013) 0:00:03.165 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:19:53 +0000 (0:00:00.014) 0:00:03.179 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003833", "end": "2024-01-08 14:19:53.385965", "rc": 0, "start": "2024-01-08 14:19:53.382132" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:19:53 +0000 (0:00:00.209) 0:00:03.388 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:19:53 +0000 (0:00:00.015) 0:00:03.404 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:19:53 +0000 (0:00:00.010) 0:00:03.415 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 08 January 2024 14:19:57 +0000 (0:00:03.572) 0:00:06.987 ******** 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.012913", "end": "2024-01-08 14:19:57.208334", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-08 14:19:57.195421" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004137", "end": "2024-01-08 14:19:57.442929", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-08 14:19:57.438792" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004987", "end": "2024-01-08 14:19:57.639585", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-08 14:19:57.634598" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 08 January 2024 14:19:57 +0000 (0:00:00.651) 0:00:07.639 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.025003", "end": "2024-01-08 14:19:57.867962", "rc": 0, "start": "2024-01-08 14:19:57.842959" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 08 January 2024 14:19:57 +0000 (0:00:00.220) 0:00:07.859 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 08 January 2024 14:19:57 +0000 (0:00:00.012) 0:00:07.872 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 08 January 2024 14:19:57 +0000 (0:00:00.011) 0:00:07.884 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:19:57 +0000 (0:00:00.010) 0:00:07.894 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 08 January 2024 14:19:57 +0000 (0:00:00.010) 0:00:07.905 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:15 Monday 08 January 2024 14:19:57 +0000 (0:00:00.009) 0:00:07.914 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:19:57 +0000 (0:00:00.026) 0:00:07.941 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:19:57 +0000 (0:00:00.013) 0:00:07.954 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723597.1993527, "block_size": 4096, "blocks": 0, "ctime": 1704723597.1993527, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22938, "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": 1704723597.1993527, "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_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:19:58 +0000 (0:00:00.224) 0:00:08.179 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:17 Monday 08 January 2024 14:19:58 +0000 (0:00:00.013) 0:00:08.193 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:19:58 +0000 (0:00:00.011) 0:00:08.205 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:19:58 +0000 (0:00:00.068) 0:00:08.274 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:19:58 +0000 (0:00:00.012) 0:00:08.287 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:19:58 +0000 (0:00:00.015) 0:00:08.302 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:19:58 +0000 (0:00:00.016) 0:00:08.318 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:20:00 +0000 (0:00:01.727) 0:00:10.046 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:20:01 +0000 (0:00:01.455) 0:00:11.501 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:20:01 +0000 (0:00:00.024) 0:00:11.526 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:20:01 +0000 (0:00:00.047) 0:00:11.573 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:20:01 +0000 (0:00:00.023) 0:00:11.596 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:20:01 +0000 (0:00:00.042) 0:00:11.639 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:20:01 +0000 (0:00:00.023) 0:00:11.663 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:20:01 +0000 (0:00:00.022) 0:00:11.686 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:20:01 +0000 (0:00:00.025) 0:00:11.711 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:20:02 +0000 (0:00:00.539) 0:00:12.251 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:20:02 +0000 (0:00:00.030) 0:00:12.281 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:20:02 +0000 (0:00:00.027) 0:00:12.309 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:20:02 +0000 (0:00:00.028) 0:00:12.337 ******** 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, d917ec57-825e-4e17-ab6e-8e344fee4cdf [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d917ec57-825e-4e17-ab6e-8e344fee4cdf (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:20:02 +0000 (0:00:00.620) 0:00:12.958 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:20:03 +0000 (0:00:00.057) 0:00:13.015 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d917ec57-825e-4e17-ab6e-8e344fee4cdf", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d917ec57-825e-4e17-ab6e-8e344fee4cdf (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:20:03 +0000 (0:00:00.033) 0:00:13.048 ******** 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, d917ec57-825e-4e17-ab6e-8e344fee4cdf\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d917ec57-825e-4e17-ab6e-8e344fee4cdf (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d917ec57-825e-4e17-ab6e-8e344fee4cdf", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d917ec57-825e-4e17-ab6e-8e344fee4cdf (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:20:03 +0000 (0:00:00.031) 0:00:13.080 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:20:03 +0000 (0:00:00.076) 0:00:13.156 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:42 Monday 08 January 2024 14:20:03 +0000 (0:00:00.287) 0:00:13.444 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:20:03 +0000 (0:00:00.095) 0:00:13.539 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:20:03 +0000 (0:00:00.062) 0:00:13.602 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723597.1993527, "block_size": 4096, "blocks": 0, "ctime": 1704723597.1993527, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22938, "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": 1704723597.1993527, "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_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:20:03 +0000 (0:00:00.239) 0:00:13.842 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:44 Monday 08 January 2024 14:20:03 +0000 (0:00:00.036) 0:00:13.878 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:20:04 +0000 (0:00:00.099) 0:00:13.977 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:20:04 +0000 (0:00:00.043) 0:00:14.021 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:20:04 +0000 (0:00:00.047) 0:00:14.069 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723602.9119928, "block_size": 4096, "blocks": 8, "ctime": 1704723602.8679945, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704723602.8679945, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 396, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:20:04 +0000 (0:00:00.251) 0:00:14.320 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:20:04 +0000 (0:00:00.033) 0:00:14.354 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023209", "end": "2024-01-08 14:20:04.582700", "rc": 0, "start": "2024-01-08 14:20:04.559491" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:20:04 +0000 (0:00:00.240) 0:00:14.594 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:20:04 +0000 (0:00:00.026) 0:00:14.620 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:20:04 +0000 (0:00:00.033) 0:00:14.654 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:20:04 +0000 (0:00:00.044) 0:00:14.699 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:20:04 +0000 (0:00:00.025) 0:00:14.725 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:20:04 +0000 (0:00:00.034) 0:00:14.760 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:20:04 +0000 (0:00:00.044) 0:00:14.804 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:20:04 +0000 (0:00:00.036) 0:00:14.841 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:48 Monday 08 January 2024 14:20:04 +0000 (0:00:00.024) 0:00:14.866 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004529", "end": "2024-01-08 14:20:05.094150", "rc": 0, "start": "2024-01-08 14:20:05.089621" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.211 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.211 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_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:52 Monday 08 January 2024 14:20:05 +0000 (0:00:00.229) 0:00:15.095 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:58 Monday 08 January 2024 14:20:05 +0000 (0:00:00.023) 0:00:15.119 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004042", "end": "2024-01-08 14:20:05.328102", "rc": 0, "start": "2024-01-08 14:20:05.324060" } 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_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:62 Monday 08 January 2024 14:20:05 +0000 (0:00:00.226) 0:00:15.346 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:69 Monday 08 January 2024 14:20:05 +0000 (0:00:00.042) 0:00:15.388 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:20:05 +0000 (0:00:00.111) 0:00:15.500 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:20:05 +0000 (0:00:00.094) 0:00:15.594 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:20:05 +0000 (0:00:00.041) 0:00:15.636 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:20:05 +0000 (0:00:00.034) 0:00:15.671 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:20:05 +0000 (0:00:00.045) 0:00:15.717 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:20:07 +0000 (0:00:01.683) 0:00:17.401 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:20:08 +0000 (0:00:01.357) 0:00:18.758 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:20:08 +0000 (0:00:00.054) 0:00:18.812 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:20:08 +0000 (0:00:00.032) 0:00:18.845 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:20:08 +0000 (0:00:00.047) 0:00:18.893 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:20:08 +0000 (0:00:00.046) 0:00:18.939 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:20:08 +0000 (0:00:00.029) 0:00:18.969 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:20:09 +0000 (0:00:00.022) 0:00:18.991 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:20:09 +0000 (0:00:00.025) 0:00:19.017 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:20:09 +0000 (0:00:00.370) 0:00:19.387 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:20:09 +0000 (0:00:00.025) 0:00:19.413 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:20:09 +0000 (0:00:00.030) 0:00:19.443 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:20:09 +0000 (0:00:00.066) 0:00:19.510 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:20:10 +0000 (0:00:00.498) 0:00:20.008 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:20:10 +0000 (0:00:00.053) 0:00:20.061 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:20:10 +0000 (0:00:00.119) 0:00:20.181 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:20:10 +0000 (0:00:00.062) 0:00:20.244 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:20:10 +0000 (0:00:00.059) 0:00:20.304 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:81 Monday 08 January 2024 14:20:10 +0000 (0:00:00.266) 0:00:20.570 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:20:10 +0000 (0:00:00.067) 0:00:20.638 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:20:10 +0000 (0:00:00.039) 0:00:20.678 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:20:10 +0000 (0:00:00.056) 0:00:20.734 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:20:10 +0000 (0:00:00.055) 0:00:20.790 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:20:10 +0000 (0:00:00.060) 0:00:20.850 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003617", "end": "2024-01-08 14:20:11.061353", "rc": 0, "start": "2024-01-08 14:20:11.057736" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:20:11 +0000 (0:00:00.228) 0:00:21.078 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:20:11 +0000 (0:00:00.034) 0:00:21.112 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:20:11 +0000 (0:00:00.038) 0:00:21.150 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 08 January 2024 14:20:14 +0000 (0:00:03.174) 0:00:24.325 ******** 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_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 08 January 2024 14:20:14 +0000 (0:00:00.042) 0:00:24.367 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 08 January 2024 14:20:14 +0000 (0:00:00.038) 0:00:24.406 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010734", "end": "2024-01-08 14:20:14.676233", "rc": 0, "start": "2024-01-08 14:20:14.665499" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 08 January 2024 14:20:14 +0000 (0:00:00.290) 0:00:24.696 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 08 January 2024 14:20:14 +0000 (0:00:00.036) 0:00:24.733 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:20:14 +0000 (0:00:00.025) 0:00:24.759 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 08 January 2024 14:20:14 +0000 (0:00:00.072) 0:00:24.831 ******** 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_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:85 Monday 08 January 2024 14:20:14 +0000 (0:00:00.035) 0:00:24.867 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:89 Monday 08 January 2024 14:20:14 +0000 (0:00:00.028) 0:00:24.896 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:20:14 +0000 (0:00:00.071) 0:00:24.967 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:20:15 +0000 (0:00:00.035) 0:00:25.003 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:20:15 +0000 (0:00:00.031) 0:00:25.034 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:20:15 +0000 (0:00:00.037) 0:00:25.072 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:20:15 +0000 (0:00:00.069) 0:00:25.141 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003737", "end": "2024-01-08 14:20:15.378530", "rc": 0, "start": "2024-01-08 14:20:15.374793" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:20:15 +0000 (0:00:00.255) 0:00:25.396 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:20:15 +0000 (0:00:00.033) 0:00:25.429 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:20:15 +0000 (0:00:00.028) 0:00:25.458 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 08 January 2024 14:20:18 +0000 (0:00:03.078) 0:00:28.537 ******** 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.012736", "end": "2024-01-08 14:20:18.767276", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-08 14:20:18.754540" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004109", "end": "2024-01-08 14:20:19.039800", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-08 14:20:19.035691" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004504", "end": "2024-01-08 14:20:19.236980", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-08 14:20:19.232476" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 08 January 2024 14:20:19 +0000 (0:00:00.708) 0:00:29.246 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.025224", "end": "2024-01-08 14:20:19.495177", "rc": 0, "start": "2024-01-08 14:20:19.469953" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 08 January 2024 14:20:19 +0000 (0:00:00.253) 0:00:29.499 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 08 January 2024 14:20:19 +0000 (0:00:00.029) 0:00:29.529 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 08 January 2024 14:20:19 +0000 (0:00:00.030) 0:00:29.559 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:20:19 +0000 (0:00:00.036) 0:00:29.596 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 08 January 2024 14:20:19 +0000 (0:00:00.040) 0:00:29.636 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:20:19 +0000 (0:00:00.088) 0:00:29.725 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:20:19 +0000 (0:00:00.042) 0:00:29.767 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:20:19 +0000 (0:00:00.038) 0:00:29.805 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:20:19 +0000 (0:00:00.024) 0:00:29.830 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:20:19 +0000 (0:00:00.025) 0:00:29.856 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:20:21 +0000 (0:00:01.718) 0:00:31.574 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:20:23 +0000 (0:00:01.395) 0:00:32.970 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:20:23 +0000 (0:00:00.059) 0:00:33.029 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:20:23 +0000 (0:00:00.036) 0:00:33.065 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:20:23 +0000 (0:00:00.072) 0:00:33.137 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:20:23 +0000 (0:00:00.104) 0:00:33.242 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:20:23 +0000 (0:00:00.073) 0:00:33.315 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:20:23 +0000 (0:00:00.038) 0:00:33.354 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:20:23 +0000 (0:00:00.039) 0:00:33.393 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:20:23 +0000 (0:00:00.438) 0:00:33.832 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:20:23 +0000 (0:00:00.037) 0:00:33.870 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:20:23 +0000 (0:00:00.027) 0:00:33.897 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:20:23 +0000 (0:00:00.028) 0:00:33.926 ******** 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, 0d5d0aef-9a73-491b-9382-c8abbabbd127 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0d5d0aef-9a73-491b-9382-c8abbabbd127 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:20:24 +0000 (0:00:00.423) 0:00:34.349 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:20:24 +0000 (0:00:00.037) 0:00:34.387 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0d5d0aef-9a73-491b-9382-c8abbabbd127", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0d5d0aef-9a73-491b-9382-c8abbabbd127 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:20:24 +0000 (0:00:00.075) 0:00:34.462 ******** 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, 0d5d0aef-9a73-491b-9382-c8abbabbd127\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0d5d0aef-9a73-491b-9382-c8abbabbd127 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0d5d0aef-9a73-491b-9382-c8abbabbd127", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0d5d0aef-9a73-491b-9382-c8abbabbd127 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:20:24 +0000 (0:00:00.062) 0:00:34.525 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:20:24 +0000 (0:00:00.039) 0:00:34.565 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:110 Monday 08 January 2024 14:20:24 +0000 (0:00:00.214) 0:00:34.779 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:20:24 +0000 (0:00:00.058) 0:00:34.838 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:20:24 +0000 (0:00:00.057) 0:00:34.895 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723618.758492, "block_size": 4096, "blocks": 0, "ctime": 1704723618.758492, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23524, "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": 1704723618.758492, "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_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:20:25 +0000 (0:00:00.215) 0:00:35.111 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:112 Monday 08 January 2024 14:20:25 +0000 (0:00:00.048) 0:00:35.160 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:20:25 +0000 (0:00:00.054) 0:00:35.215 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:20:25 +0000 (0:00:00.095) 0:00:35.310 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:20:25 +0000 (0:00:00.026) 0:00:35.337 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723624.3230836, "block_size": 4096, "blocks": 8, "ctime": 1704723624.2820854, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704723624.2820854, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 323, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:20:25 +0000 (0:00:00.208) 0:00:35.545 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:20:25 +0000 (0:00:00.025) 0:00:35.570 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022389", "end": "2024-01-08 14:20:25.799098", "rc": 0, "start": "2024-01-08 14:20:25.776709" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:20:25 +0000 (0:00:00.242) 0:00:35.812 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:20:25 +0000 (0:00:00.031) 0:00:35.843 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:20:25 +0000 (0:00:00.025) 0:00:35.869 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:20:25 +0000 (0:00:00.031) 0:00:35.901 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:20:25 +0000 (0:00:00.029) 0:00:35.930 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:20:26 +0000 (0:00:00.047) 0:00:35.978 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:20:26 +0000 (0:00:00.035) 0:00:36.014 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:20:26 +0000 (0:00:00.028) 0:00:36.042 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:116 Monday 08 January 2024 14:20:26 +0000 (0:00:00.032) 0:00:36.074 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004066", "end": "2024-01-08 14:20:26.284147", "rc": 0, "start": "2024-01-08 14:20:26.280081" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.211 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.211 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_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:120 Monday 08 January 2024 14:20:26 +0000 (0:00:00.216) 0:00:36.291 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:126 Monday 08 January 2024 14:20:26 +0000 (0:00:00.026) 0:00:36.317 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004154", "end": "2024-01-08 14:20:26.536628", "rc": 0, "start": "2024-01-08 14:20:26.532474" } 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_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:130 Monday 08 January 2024 14:20:26 +0000 (0:00:00.236) 0:00:36.554 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:137 Monday 08 January 2024 14:20:26 +0000 (0:00:00.034) 0:00:36.588 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:20:26 +0000 (0:00:00.027) 0:00:36.616 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:20:26 +0000 (0:00:00.043) 0:00:36.659 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:20:26 +0000 (0:00:00.044) 0:00:36.703 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:20:26 +0000 (0:00:00.022) 0:00:36.726 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:20:26 +0000 (0:00:00.025) 0:00:36.751 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:20:28 +0000 (0:00:01.674) 0:00:38.426 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:20:29 +0000 (0:00:01.370) 0:00:39.797 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:20:29 +0000 (0:00:00.027) 0:00:39.824 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:20:29 +0000 (0:00:00.023) 0:00:39.848 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:20:29 +0000 (0:00:00.025) 0:00:39.873 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:20:29 +0000 (0:00:00.063) 0:00:39.937 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:20:29 +0000 (0:00:00.028) 0:00:39.965 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:20:30 +0000 (0:00:00.046) 0:00:40.012 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:20:30 +0000 (0:00:00.027) 0:00:40.039 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:20:30 +0000 (0:00:00.386) 0:00:40.426 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:20:30 +0000 (0:00:00.029) 0:00:40.455 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:20:30 +0000 (0:00:00.023) 0:00:40.479 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:20:30 +0000 (0:00:00.023) 0:00:40.503 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:20:30 +0000 (0:00:00.433) 0:00:40.936 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:20:30 +0000 (0:00:00.022) 0:00:40.958 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:20:31 +0000 (0:00:00.026) 0:00:40.984 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:20:31 +0000 (0:00:00.025) 0:00:41.010 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:20:31 +0000 (0:00:00.023) 0:00:41.033 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:149 Monday 08 January 2024 14:20:31 +0000 (0:00:00.201) 0:00:41.235 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:20:31 +0000 (0:00:00.056) 0:00:41.291 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:20:31 +0000 (0:00:00.023) 0:00:41.314 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:20:31 +0000 (0:00:00.063) 0:00:41.378 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:20:31 +0000 (0:00:00.038) 0:00:41.416 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:20:31 +0000 (0:00:00.042) 0:00:41.459 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003550", "end": "2024-01-08 14:20:31.670978", "rc": 0, "start": "2024-01-08 14:20:31.667428" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:20:31 +0000 (0:00:00.213) 0:00:41.673 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:20:31 +0000 (0:00:00.041) 0:00:41.714 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:20:31 +0000 (0:00:00.030) 0:00:41.744 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 08 January 2024 14:20:34 +0000 (0:00:03.131) 0:00:44.875 ******** 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_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 08 January 2024 14:20:34 +0000 (0:00:00.034) 0:00:44.910 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 08 January 2024 14:20:35 +0000 (0:00:00.067) 0:00:44.977 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015813", "end": "2024-01-08 14:20:35.206785", "rc": 0, "start": "2024-01-08 14:20:35.190972" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 08 January 2024 14:20:35 +0000 (0:00:00.231) 0:00:45.209 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 08 January 2024 14:20:35 +0000 (0:00:00.024) 0:00:45.234 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:20:35 +0000 (0:00:00.024) 0:00:45.258 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 08 January 2024 14:20:35 +0000 (0:00:00.022) 0:00:45.281 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=129 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Monday 08 January 2024 14:20:35 +0000 (0:00:00.009) 0:00:45.290 ******** =============================================================================== Install iproute --------------------------------------------------------- 3.57s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.17s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.13s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.08s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.46s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.40s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.93s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.76s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-route_typefycom2fs/tests/tests_auto_gateway_nm.yml:6 ------------- Create veth interface veth0 --------------------------------------------- 0.71s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:24 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Configure networking connection profiles --- 0.62s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:3 ------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.54s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---