# 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_typef0th468y/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_typef0th468y/tests/tests_auto_gateway_nm.yml:6 Thursday 11 January 2024 02:16:39 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typef0th468y/tests/tests_auto_gateway_nm.yml:9 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.699) 0:00:00.711 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.010) 0:00:00.722 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.337) 0:00:01.060 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.250) 0:00:01.310 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.019) 0:00:01.330 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.017) 0:00:01.347 ****** included: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.029) 0:00:01.377 ****** 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_typef0th468y/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.233) 0:00:01.611 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.010) 0:00:01.621 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.010) 0:00:01.632 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.248662", "end": "2024-01-11 02:16:41.454523", "rc": 0, "start": "2024-01-11 02:16:41.205861" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.437) 0:00:02.070 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tests_auto_gateway_nm.yml:11 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.009) 0:00:02.079 ****** 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_typef0th468y/tests/playbooks/tests_auto_gateway.yml:3 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.010) 0:00:02.090 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:9 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.566) 0:00:02.656 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.026) 0:00:02.683 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.026) 0:00:02.709 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003320", "end": "2024-01-11 02:16:42.284388", "rc": 0, "start": "2024-01-11 02:16:42.281068" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.191) 0:00:02.901 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.017) 0:00:02.918 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:11 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.024) 0:00:02.943 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.042) 0:00:02.986 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.014) 0:00:03.000 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.016) 0:00:03.017 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.013) 0:00:03.031 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.025) 0:00:03.056 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003145", "end": "2024-01-11 02:16:42.629160", "rc": 0, "start": "2024-01-11 02:16:42.626015" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.187) 0:00:03.243 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.021) 0:00:03.265 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:16:42 +0000 (0:00:00.021) 0:00:03.286 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:16:47 +0000 (0:00:04.576) 0:00:07.863 ****** 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.015089", "end": "2024-01-11 02:16:47.450389", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 02:16:47.435300" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003550", "end": "2024-01-11 02:16:47.665314", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 02:16:47.661764" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004109", "end": "2024-01-11 02:16:47.845528", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 02:16:47.841419" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:16:47 +0000 (0:00:00.598) 0:00:08.461 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022214", "end": "2024-01-11 02:16:48.066721", "rc": 0, "start": "2024-01-11 02:16:48.044507" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.220) 0:00:08.681 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.011) 0:00:08.693 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.011) 0:00:08.704 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.010) 0:00:08.714 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.010) 0:00:08.725 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:15 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.010) 0:00:08.735 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.038) 0:00:08.774 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.014) 0:00:08.788 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939407.438731, "block_size": 4096, "blocks": 0, "ctime": 1704939407.438731, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22891, "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": 1704939407.438731, "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_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.187) 0:00:08.975 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:17 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.011) 0:00:08.987 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.009) 0:00:08.996 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.073) 0:00:09.070 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.012) 0:00:09.082 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.016) 0:00:09.098 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:48 +0000 (0:00:00.019) 0:00:09.118 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:50 +0000 (0:00:01.583) 0:00:10.701 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:51 +0000 (0:00:01.535) 0:00:12.237 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:51 +0000 (0:00:00.022) 0:00:12.260 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:51 +0000 (0:00:00.041) 0:00:12.302 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:51 +0000 (0:00:00.023) 0:00:12.325 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:51 +0000 (0:00:00.063) 0:00:12.389 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:51 +0000 (0:00:00.026) 0:00:12.415 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:51 +0000 (0:00:00.034) 0:00:12.450 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:51 +0000 (0:00:00.051) 0:00:12.501 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.500) 0:00:13.002 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.027) 0:00:13.029 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.022) 0:00:13.051 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.020) 0:00:13.072 ****** 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, c81a2319-ca0f-45d4-b8f3-20d371941069 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c81a2319-ca0f-45d4-b8f3-20d371941069 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.523) 0:00:13.596 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:53 +0000 (0:00:00.022) 0:00:13.619 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c81a2319-ca0f-45d4-b8f3-20d371941069", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c81a2319-ca0f-45d4-b8f3-20d371941069 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:53 +0000 (0:00:00.036) 0:00:13.655 ****** 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, c81a2319-ca0f-45d4-b8f3-20d371941069\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c81a2319-ca0f-45d4-b8f3-20d371941069 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c81a2319-ca0f-45d4-b8f3-20d371941069", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c81a2319-ca0f-45d4-b8f3-20d371941069 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:53 +0000 (0:00:00.037) 0:00:13.693 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:53 +0000 (0:00:00.060) 0:00:13.753 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:42 Thursday 11 January 2024 02:16:53 +0000 (0:00:00.247) 0:00:14.000 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:16:53 +0000 (0:00:00.056) 0:00:14.057 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:16:53 +0000 (0:00:00.038) 0:00:14.095 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939407.438731, "block_size": 4096, "blocks": 0, "ctime": 1704939407.438731, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22891, "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": 1704939407.438731, "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_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:16:53 +0000 (0:00:00.198) 0:00:14.294 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:44 Thursday 11 January 2024 02:16:53 +0000 (0:00:00.025) 0:00:14.319 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:16:53 +0000 (0:00:00.059) 0:00:14.379 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:16:53 +0000 (0:00:00.039) 0:00:14.419 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:16:53 +0000 (0:00:00.037) 0:00:14.457 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939412.9376755, "block_size": 4096, "blocks": 8, "ctime": 1704939412.8966756, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704939412.8966756, "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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.314) 0:00:14.771 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.024) 0:00:14.796 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022379", "end": "2024-01-11 02:16:54.391127", "rc": 0, "start": "2024-01-11 02:16:54.368748" } 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.226) 0:00:15.022 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.026) 0:00:15.049 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.024) 0:00:15.073 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.025) 0:00:15.098 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.027) 0:00:15.125 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.029) 0:00:15.155 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.025) 0:00:15.180 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.041) 0:00:15.221 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:48 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.041) 0:00:15.262 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003452", "end": "2024-01-11 02:16:54.839359", "rc": 0, "start": "2024-01-11 02:16:54.835907" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.32 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.32 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:52 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.200) 0:00:15.463 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:58 Thursday 11 January 2024 02:16:54 +0000 (0:00:00.023) 0:00:15.487 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003564", "end": "2024-01-11 02:16:55.057499", "rc": 0, "start": "2024-01-11 02:16:55.053935" } 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_typef0th468y/tests/playbooks/tests_auto_gateway.yml:62 Thursday 11 January 2024 02:16:55 +0000 (0:00:00.214) 0:00:15.701 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:69 Thursday 11 January 2024 02:16:55 +0000 (0:00:00.098) 0:00:15.799 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:55 +0000 (0:00:00.023) 0:00:15.823 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:55 +0000 (0:00:00.038) 0:00:15.861 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:55 +0000 (0:00:00.026) 0:00:15.888 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:55 +0000 (0:00:00.021) 0:00:15.909 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:55 +0000 (0:00:00.022) 0:00:15.932 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:56 +0000 (0:00:01.540) 0:00:17.472 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:58 +0000 (0:00:01.320) 0:00:18.793 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.022) 0:00:18.816 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.021) 0:00:18.837 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.020) 0:00:18.858 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.043) 0:00:18.901 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.021) 0:00:18.923 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.022) 0:00:18.945 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.023) 0:00:18.968 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.343) 0:00:19.312 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.025) 0:00:19.338 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.020) 0:00:19.359 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.050) 0:00:19.409 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.412) 0:00:19.822 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.027) 0:00:19.849 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.026) 0:00:19.875 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.023) 0:00:19.899 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.024) 0:00:19.924 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:81 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.189) 0:00:20.114 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.051) 0:00:20.165 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.022) 0:00:20.187 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.021) 0:00:20.209 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.034) 0:00:20.243 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.067) 0:00:20.311 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003339", "end": "2024-01-11 02:16:59.884581", "rc": 0, "start": "2024-01-11 02:16:59.881242" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.200) 0:00:20.511 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.028) 0:00:20.540 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.038) 0:00:20.578 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:17:03 +0000 (0:00:03.057) 0:00:23.636 ****** 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_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.031) 0:00:23.667 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.021) 0:00:23.688 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012534", "end": "2024-01-11 02:17:03.272112", "rc": 0, "start": "2024-01-11 02:17:03.259578" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.219) 0:00:23.908 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.023) 0:00:23.931 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.023) 0:00:23.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.034) 0:00:23.988 ****** 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_typef0th468y/tests/playbooks/tests_auto_gateway.yml:85 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.030) 0:00:24.018 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:89 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.021) 0:00:24.040 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.050) 0:00:24.091 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.033) 0:00:24.124 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.025) 0:00:24.150 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.040) 0:00:24.190 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.038) 0:00:24.229 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003203", "end": "2024-01-11 02:17:03.803631", "rc": 0, "start": "2024-01-11 02:17:03.800428" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.200) 0:00:24.429 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.057) 0:00:24.487 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:17:03 +0000 (0:00:00.024) 0:00:24.512 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:17:06 +0000 (0:00:03.040) 0:00:27.552 ****** 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.013235", "end": "2024-01-11 02:17:07.160392", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 02:17:07.147157" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004431", "end": "2024-01-11 02:17:07.437014", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 02:17:07.432583" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004308", "end": "2024-01-11 02:17:07.621228", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 02:17:07.616920" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:17:07 +0000 (0:00:00.707) 0:00:28.259 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021795", "end": "2024-01-11 02:17:07.853248", "rc": 0, "start": "2024-01-11 02:17:07.831453" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:17:07 +0000 (0:00:00.220) 0:00:28.480 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:17:07 +0000 (0:00:00.023) 0:00:28.503 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:17:07 +0000 (0:00:00.064) 0:00:28.568 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:17:07 +0000 (0:00:00.025) 0:00:28.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:17:08 +0000 (0:00:00.024) 0:00:28.617 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:17:08 +0000 (0:00:00.023) 0:00:28.640 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:17:08 +0000 (0:00:00.037) 0:00:28.678 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:17:08 +0000 (0:00:00.026) 0:00:28.705 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:17:08 +0000 (0:00:00.021) 0:00:28.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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:17:08 +0000 (0:00:00.024) 0:00:28.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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:17:09 +0000 (0:00:01.549) 0:00:30.300 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:17:11 +0000 (0:00:01.351) 0:00:31.652 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:17:11 +0000 (0:00:00.025) 0:00:31.677 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:17:11 +0000 (0:00:00.022) 0:00:31.700 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:17:11 +0000 (0:00:00.044) 0:00:31.744 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:17:11 +0000 (0:00:00.063) 0:00:31.808 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:17:11 +0000 (0:00:00.031) 0:00:31.839 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:17:11 +0000 (0:00:00.031) 0:00:31.870 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:17:11 +0000 (0:00:00.040) 0:00:31.911 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:17:11 +0000 (0:00:00.365) 0:00:32.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:17:11 +0000 (0:00:00.086) 0:00:32.363 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:17:11 +0000 (0:00:00.035) 0:00:32.399 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:17:11 +0000 (0:00:00.041) 0:00:32.440 ****** 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, 3d4d7f88-331f-4fb4-a941-111f85ad8846 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3d4d7f88-331f-4fb4-a941-111f85ad8846 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:17:12 +0000 (0:00:00.424) 0:00:32.865 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:17:12 +0000 (0:00:00.044) 0:00:32.910 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3d4d7f88-331f-4fb4-a941-111f85ad8846", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3d4d7f88-331f-4fb4-a941-111f85ad8846 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:17:12 +0000 (0:00:00.025) 0:00:32.935 ****** 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, 3d4d7f88-331f-4fb4-a941-111f85ad8846\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3d4d7f88-331f-4fb4-a941-111f85ad8846 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3d4d7f88-331f-4fb4-a941-111f85ad8846", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3d4d7f88-331f-4fb4-a941-111f85ad8846 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:17:12 +0000 (0:00:00.035) 0:00:32.971 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:17:12 +0000 (0:00:00.025) 0:00:32.997 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:110 Thursday 11 January 2024 02:17:12 +0000 (0:00:00.240) 0:00:33.237 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:17:12 +0000 (0:00:00.071) 0:00:33.308 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:17:12 +0000 (0:00:00.069) 0:00:33.377 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939427.1513112, "block_size": 4096, "blocks": 0, "ctime": 1704939427.1513112, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23477, "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": 1704939427.1513112, "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_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.235) 0:00:33.613 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:112 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.080) 0:00:33.694 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.075) 0:00:33.769 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.054) 0:00:33.824 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.025) 0:00:33.850 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939432.206586, "block_size": 4096, "blocks": 8, "ctime": 1704939432.1665862, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704939432.1665862, "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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.206) 0:00:34.056 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.023) 0:00:34.080 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021412", "end": "2024-01-11 02:17:13.673231", "rc": 0, "start": "2024-01-11 02:17:13.651819" } 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.218) 0:00:34.299 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.036) 0:00:34.336 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.029) 0:00:34.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.043) 0:00:34.409 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.035) 0:00:34.444 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.034) 0:00:34.479 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:17:13 +0000 (0:00:00.038) 0:00:34.518 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:17:14 +0000 (0:00:00.099) 0:00:34.617 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:116 Thursday 11 January 2024 02:17:14 +0000 (0:00:00.051) 0:00:34.669 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003767", "end": "2024-01-11 02:17:14.289075", "rc": 0, "start": "2024-01-11 02:17:14.285308" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.32 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.32 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:120 Thursday 11 January 2024 02:17:14 +0000 (0:00:00.246) 0:00:34.915 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:126 Thursday 11 January 2024 02:17:14 +0000 (0:00:00.030) 0:00:34.945 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003943", "end": "2024-01-11 02:17:14.521978", "rc": 0, "start": "2024-01-11 02:17:14.518035" } 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_typef0th468y/tests/playbooks/tests_auto_gateway.yml:130 Thursday 11 January 2024 02:17:14 +0000 (0:00:00.207) 0:00:35.153 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:137 Thursday 11 January 2024 02:17:14 +0000 (0:00:00.028) 0:00:35.181 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:17:14 +0000 (0:00:00.025) 0:00:35.207 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:17:14 +0000 (0:00:00.046) 0:00:35.254 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:17:14 +0000 (0:00:00.030) 0:00:35.285 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:17:14 +0000 (0:00:00.024) 0:00:35.309 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:17:14 +0000 (0:00:00.022) 0:00:35.332 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:17:16 +0000 (0:00:01.588) 0:00:36.921 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:17:17 +0000 (0:00:01.307) 0:00:38.228 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:17:17 +0000 (0:00:00.023) 0:00:38.251 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:17:17 +0000 (0:00:00.022) 0:00:38.274 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:17:17 +0000 (0:00:00.021) 0:00:38.296 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:17:17 +0000 (0:00:00.043) 0:00:38.340 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:17:17 +0000 (0:00:00.058) 0:00:38.399 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:17:17 +0000 (0:00:00.022) 0:00:38.421 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:17:17 +0000 (0:00:00.028) 0:00:38.449 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:17:18 +0000 (0:00:00.346) 0:00:38.796 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:17:18 +0000 (0:00:00.025) 0:00:38.822 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:17:18 +0000 (0:00:00.025) 0:00:38.847 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:17:18 +0000 (0:00:00.022) 0:00:38.870 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:17:18 +0000 (0:00:00.412) 0:00:39.282 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:17:18 +0000 (0:00:00.032) 0:00:39.315 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:17:18 +0000 (0:00:00.025) 0:00:39.340 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:17:18 +0000 (0:00:00.028) 0:00:39.368 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:17:18 +0000 (0:00:00.034) 0:00:39.403 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:149 Thursday 11 January 2024 02:17:18 +0000 (0:00:00.191) 0:00:39.595 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:17:19 +0000 (0:00:00.097) 0:00:39.692 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:17:19 +0000 (0:00:00.023) 0:00:39.715 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:17:19 +0000 (0:00:00.024) 0:00:39.740 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:17:19 +0000 (0:00:00.036) 0:00:39.776 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:17:19 +0000 (0:00:00.034) 0:00:39.811 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003152", "end": "2024-01-11 02:17:19.383946", "rc": 0, "start": "2024-01-11 02:17:19.380794" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:17:19 +0000 (0:00:00.206) 0:00:40.017 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:17:19 +0000 (0:00:00.044) 0:00:40.061 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:17:19 +0000 (0:00:00.024) 0:00:40.085 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:17:22 +0000 (0:00:03.002) 0:00:43.088 ****** 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_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:17:22 +0000 (0:00:00.034) 0:00:43.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:17:22 +0000 (0:00:00.026) 0:00:43.149 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012828", "end": "2024-01-11 02:17:22.755437", "rc": 0, "start": "2024-01-11 02:17:22.742609" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:17:22 +0000 (0:00:00.242) 0:00:43.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:17:22 +0000 (0:00:00.040) 0:00:43.431 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:17:22 +0000 (0:00:00.057) 0:00:43.489 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:17:22 +0000 (0:00:00.042) 0:00:43.532 ****** 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 Thursday 11 January 2024 02:17:22 +0000 (0:00:00.028) 0:00:43.560 ****** =============================================================================== Install iproute --------------------------------------------------------- 4.58s /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.06s /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.04s /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.00s /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.54s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.32s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.83s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Create veth interface veth0 --------------------------------------------- 0.71s /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-route_typef0th468y/tests/tests_auto_gateway_nm.yml:6 ------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.69s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Create veth interface veth0 --------------------------------------------- 0.60s /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:3 ------ linux-system-roles.network : Configure networking connection profiles --- 0.52s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s /WORKDIR/git-route_typef0th468y/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. ---^---^---^---^---^---