# 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_type8oek0enz/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_type8oek0enz/tests/tests_auto_gateway_nm.yml:6 Friday 12 January 2024 20:06:08 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type8oek0enz/tests/tests_auto_gateway_nm.yml:9 Friday 12 January 2024 20:06:09 +0000 (0:00:00.700) 0:00:00.713 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 20:06:09 +0000 (0:00:00.011) 0:00:00.724 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 20:06:09 +0000 (0:00:00.350) 0:00:01.075 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 20:06:10 +0000 (0:00:00.258) 0:00:01.333 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 20:06:10 +0000 (0:00:00.030) 0:00:01.364 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 20:06:10 +0000 (0:00:00.032) 0:00:01.397 ******** included: /WORKDIR/git-route_type8oek0enz/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 20:06:10 +0000 (0:00:00.047) 0:00:01.444 ******** 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_type8oek0enz/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 20:06:10 +0000 (0:00:00.241) 0:00:01.686 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 20:06:10 +0000 (0:00:00.011) 0:00:01.698 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 20:06:10 +0000 (0:00:00.010) 0:00:01.709 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.251367", "end": "2024-01-12 20:06:11.932830", "rc": 0, "start": "2024-01-12 20:06:10.681463" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 20:06:11 +0000 (0:00:01.441) 0:00:03.150 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/tests_auto_gateway_nm.yml:11 Friday 12 January 2024 20:06:11 +0000 (0:00:00.014) 0:00:03.164 ******** 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_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:3 Friday 12 January 2024 20:06:11 +0000 (0:00:00.018) 0:00:03.182 ******** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:9 Friday 12 January 2024 20:06:12 +0000 (0:00:00.623) 0:00:03.806 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:06:12 +0000 (0:00:00.025) 0:00:03.831 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:06:12 +0000 (0:00:00.014) 0:00:03.845 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003211", "end": "2024-01-12 20:06:12.829928", "rc": 0, "start": "2024-01-12 20:06:12.826717" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:06:12 +0000 (0:00:00.201) 0:00:04.047 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:06:12 +0000 (0:00:00.021) 0:00:04.068 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:11 Friday 12 January 2024 20:06:12 +0000 (0:00:00.013) 0:00:04.082 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 20:06:12 +0000 (0:00:00.030) 0:00:04.112 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 20:06:12 +0000 (0:00:00.012) 0:00:04.125 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 20:06:12 +0000 (0:00:00.010) 0:00:04.135 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:06:12 +0000 (0:00:00.029) 0:00:04.165 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:06:13 +0000 (0:00:00.036) 0:00:04.202 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003491", "end": "2024-01-12 20:06:13.186580", "rc": 0, "start": "2024-01-12 20:06:13.183089" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:06:13 +0000 (0:00:00.201) 0:00:04.403 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:06:13 +0000 (0:00:00.014) 0:00:04.418 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 20:06:13 +0000 (0:00:00.015) 0:00:04.433 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:24 Friday 12 January 2024 20:06:16 +0000 (0:00:03.344) 0:00:07.777 ******** 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.012662", "end": "2024-01-12 20:06:16.772797", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-12 20:06:16.760135" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003976", "end": "2024-01-12 20:06:16.995230", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-12 20:06:16.991254" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004341", "end": "2024-01-12 20:06:17.179950", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-12 20:06:17.175609" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:33 Friday 12 January 2024 20:06:17 +0000 (0:00:00.620) 0:00:08.397 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.051078", "end": "2024-01-12 20:06:17.422422", "rc": 0, "start": "2024-01-12 20:06:17.371344" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:41 Friday 12 January 2024 20:06:17 +0000 (0:00:00.243) 0:00:08.641 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:48 Friday 12 January 2024 20:06:17 +0000 (0:00:00.012) 0:00:08.654 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 12 January 2024 20:06:17 +0000 (0:00:00.012) 0:00:08.666 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 20:06:17 +0000 (0:00:00.011) 0:00:08.677 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:67 Friday 12 January 2024 20:06:17 +0000 (0:00:00.012) 0:00:08.689 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:15 Friday 12 January 2024 20:06:17 +0000 (0:00:00.011) 0:00:08.700 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:06:17 +0000 (0:00:00.027) 0:00:08.728 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:06:17 +0000 (0:00:00.046) 0:00:08.774 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705089976.7639623, "block_size": 4096, "blocks": 0, "ctime": 1705089976.7639623, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23436, "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": 1705089976.7639623, "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_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:06:17 +0000 (0:00:00.187) 0:00:08.962 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:17 Friday 12 January 2024 20:06:17 +0000 (0:00:00.019) 0:00:08.982 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:17 +0000 (0:00:00.016) 0:00:08.998 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:17 +0000 (0:00:00.070) 0:00:09.069 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:17 +0000 (0:00:00.012) 0:00:09.081 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:17 +0000 (0:00:00.011) 0:00:09.092 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:17 +0000 (0:00:00.012) 0:00:09.105 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:19 +0000 (0:00:01.537) 0:00:10.642 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:20 +0000 (0:00:01.452) 0:00:12.094 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:20 +0000 (0:00:00.044) 0:00:12.139 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:20 +0000 (0:00:00.022) 0:00:12.162 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:20 +0000 (0:00:00.023) 0:00:12.185 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:21 +0000 (0:00:00.044) 0:00:12.230 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:21 +0000 (0:00:00.026) 0:00:12.256 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:21 +0000 (0:00:00.025) 0:00:12.282 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:21 +0000 (0:00:00.027) 0:00:12.309 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:21 +0000 (0:00:00.504) 0:00:12.814 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:21 +0000 (0:00:00.026) 0:00:12.841 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:21 +0000 (0:00:00.022) 0:00:12.863 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:21 +0000 (0:00:00.022) 0:00:12.886 ******** 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, 0697c9fe-0034-4b21-b04b-00feb818e810 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0697c9fe-0034-4b21-b04b-00feb818e810 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:22 +0000 (0:00:00.525) 0:00:13.411 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:22 +0000 (0:00:00.037) 0:00:13.449 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0697c9fe-0034-4b21-b04b-00feb818e810", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0697c9fe-0034-4b21-b04b-00feb818e810 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:22 +0000 (0:00:00.095) 0:00:13.545 ******** 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, 0697c9fe-0034-4b21-b04b-00feb818e810\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0697c9fe-0034-4b21-b04b-00feb818e810 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0697c9fe-0034-4b21-b04b-00feb818e810", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0697c9fe-0034-4b21-b04b-00feb818e810 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:22 +0000 (0:00:00.049) 0:00:13.595 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:22 +0000 (0:00:00.040) 0:00:13.635 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:42 Friday 12 January 2024 20:06:22 +0000 (0:00:00.284) 0:00:13.920 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:06:22 +0000 (0:00:00.060) 0:00:13.980 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:06:22 +0000 (0:00:00.040) 0:00:14.021 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705089976.7639623, "block_size": 4096, "blocks": 0, "ctime": 1705089976.7639623, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23436, "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": 1705089976.7639623, "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_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:06:23 +0000 (0:00:00.204) 0:00:14.225 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:44 Friday 12 January 2024 20:06:23 +0000 (0:00:00.024) 0:00:14.250 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:06:23 +0000 (0:00:00.051) 0:00:14.301 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:06:23 +0000 (0:00:00.037) 0:00:14.339 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:06:23 +0000 (0:00:00.064) 0:00:14.403 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705089982.1577046, "block_size": 4096, "blocks": 8, "ctime": 1705089982.1167066, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533376, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705089982.1167066, "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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:06:23 +0000 (0:00:00.200) 0:00:14.603 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:06:23 +0000 (0:00:00.026) 0:00:14.630 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021803", "end": "2024-01-12 20:06:23.622818", "rc": 0, "start": "2024-01-12 20:06:23.601015" } 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:06:23 +0000 (0:00:00.221) 0:00:14.851 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:06:23 +0000 (0:00:00.027) 0:00:14.878 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:06:23 +0000 (0:00:00.025) 0:00:14.903 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:06:23 +0000 (0:00:00.025) 0:00:14.929 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:06:23 +0000 (0:00:00.026) 0:00:14.955 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:06:23 +0000 (0:00:00.023) 0:00:14.979 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:06:23 +0000 (0:00:00.025) 0:00:15.005 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:06:23 +0000 (0:00:00.026) 0:00:15.031 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:48 Friday 12 January 2024 20:06:23 +0000 (0:00:00.023) 0:00:15.055 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004246", "end": "2024-01-12 20:06:24.030640", "rc": 0, "start": "2024-01-12 20:06:24.026394" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.194 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.194 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_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:52 Friday 12 January 2024 20:06:24 +0000 (0:00:00.204) 0:00:15.260 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:58 Friday 12 January 2024 20:06:24 +0000 (0:00:00.025) 0:00:15.285 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003816", "end": "2024-01-12 20:06:24.261236", "rc": 0, "start": "2024-01-12 20:06:24.257420" } 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_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:62 Friday 12 January 2024 20:06:24 +0000 (0:00:00.206) 0:00:15.492 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:69 Friday 12 January 2024 20:06:24 +0000 (0:00:00.026) 0:00:15.519 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:24 +0000 (0:00:00.024) 0:00:15.543 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:24 +0000 (0:00:00.041) 0:00:15.584 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:24 +0000 (0:00:00.029) 0:00:15.614 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:24 +0000 (0:00:00.023) 0:00:15.637 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:24 +0000 (0:00:00.023) 0:00:15.661 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:25 +0000 (0:00:01.496) 0:00:17.158 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:27 +0000 (0:00:01.346) 0:00:18.504 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:27 +0000 (0:00:00.026) 0:00:18.530 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:27 +0000 (0:00:00.023) 0:00:18.554 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:27 +0000 (0:00:00.024) 0:00:18.578 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:27 +0000 (0:00:00.046) 0:00:18.625 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:27 +0000 (0:00:00.022) 0:00:18.648 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:27 +0000 (0:00:00.022) 0:00:18.671 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:27 +0000 (0:00:00.026) 0:00:18.697 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:27 +0000 (0:00:00.349) 0:00:19.046 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:27 +0000 (0:00:00.066) 0:00:19.113 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:27 +0000 (0:00:00.029) 0:00:19.142 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:27 +0000 (0:00:00.026) 0:00:19.168 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:28 +0000 (0:00:00.430) 0:00:19.599 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:28 +0000 (0:00:00.046) 0:00:19.646 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:28 +0000 (0:00:00.030) 0:00:19.676 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:28 +0000 (0:00:00.033) 0:00:19.710 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:28 +0000 (0:00:00.025) 0:00:19.735 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:81 Friday 12 January 2024 20:06:28 +0000 (0:00:00.197) 0:00:19.933 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 20:06:28 +0000 (0:00:00.053) 0:00:19.987 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 20:06:28 +0000 (0:00:00.024) 0:00:20.011 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 20:06:28 +0000 (0:00:00.024) 0:00:20.035 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:06:28 +0000 (0:00:00.088) 0:00:20.124 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:06:28 +0000 (0:00:00.051) 0:00:20.175 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003437", "end": "2024-01-12 20:06:29.151767", "rc": 0, "start": "2024-01-12 20:06:29.148330" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:06:29 +0000 (0:00:00.203) 0:00:20.379 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:06:29 +0000 (0:00:00.025) 0:00:20.404 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 20:06:29 +0000 (0:00:00.025) 0:00:20.429 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:24 Friday 12 January 2024 20:06:32 +0000 (0:00:03.045) 0:00:23.475 ******** 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_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:33 Friday 12 January 2024 20:06:32 +0000 (0:00:00.082) 0:00:23.557 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:41 Friday 12 January 2024 20:06:32 +0000 (0:00:00.032) 0:00:23.589 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010175", "end": "2024-01-12 20:06:32.574890", "rc": 0, "start": "2024-01-12 20:06:32.564715" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:48 Friday 12 January 2024 20:06:32 +0000 (0:00:00.216) 0:00:23.806 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 12 January 2024 20:06:32 +0000 (0:00:00.025) 0:00:23.832 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 20:06:32 +0000 (0:00:00.025) 0:00:23.857 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:67 Friday 12 January 2024 20:06:32 +0000 (0:00:00.025) 0:00:23.883 ******** 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_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:85 Friday 12 January 2024 20:06:32 +0000 (0:00:00.024) 0:00:23.907 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:89 Friday 12 January 2024 20:06:32 +0000 (0:00:00.025) 0:00:23.932 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 20:06:32 +0000 (0:00:00.054) 0:00:23.987 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 20:06:32 +0000 (0:00:00.023) 0:00:24.010 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 20:06:32 +0000 (0:00:00.027) 0:00:24.038 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:06:32 +0000 (0:00:00.037) 0:00:24.075 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:06:32 +0000 (0:00:00.079) 0:00:24.154 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003583", "end": "2024-01-12 20:06:33.133185", "rc": 0, "start": "2024-01-12 20:06:33.129602" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:06:33 +0000 (0:00:00.214) 0:00:24.369 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:06:33 +0000 (0:00:00.032) 0:00:24.402 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 20:06:33 +0000 (0:00:00.027) 0:00:24.429 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:24 Friday 12 January 2024 20:06:36 +0000 (0:00:03.030) 0:00:27.460 ******** 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.011705", "end": "2024-01-12 20:06:36.447349", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-12 20:06:36.435644" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003887", "end": "2024-01-12 20:06:36.671275", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-12 20:06:36.667388" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004236", "end": "2024-01-12 20:06:36.856279", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-12 20:06:36.852043" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:33 Friday 12 January 2024 20:06:36 +0000 (0:00:00.625) 0:00:28.085 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023882", "end": "2024-01-12 20:06:37.081065", "rc": 0, "start": "2024-01-12 20:06:37.057183" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:41 Friday 12 January 2024 20:06:37 +0000 (0:00:00.225) 0:00:28.311 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:48 Friday 12 January 2024 20:06:37 +0000 (0:00:00.025) 0:00:28.336 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 12 January 2024 20:06:37 +0000 (0:00:00.064) 0:00:28.401 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 20:06:37 +0000 (0:00:00.024) 0:00:28.426 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:67 Friday 12 January 2024 20:06:37 +0000 (0:00:00.025) 0:00:28.451 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:37 +0000 (0:00:00.025) 0:00:28.477 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:37 +0000 (0:00:00.041) 0:00:28.519 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:37 +0000 (0:00:00.030) 0:00:28.550 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:37 +0000 (0:00:00.032) 0:00:28.582 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:37 +0000 (0:00:00.040) 0:00:28.622 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:38 +0000 (0:00:01.502) 0:00:30.125 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:40 +0000 (0:00:01.349) 0:00:31.475 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:40 +0000 (0:00:00.025) 0:00:31.500 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:40 +0000 (0:00:00.024) 0:00:31.524 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:40 +0000 (0:00:00.023) 0:00:31.547 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:40 +0000 (0:00:00.047) 0:00:31.595 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:40 +0000 (0:00:00.023) 0:00:31.619 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:40 +0000 (0:00:00.022) 0:00:31.642 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:40 +0000 (0:00:00.026) 0:00:31.669 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:40 +0000 (0:00:00.414) 0:00:32.083 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:40 +0000 (0:00:00.027) 0:00:32.111 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:40 +0000 (0:00:00.024) 0:00:32.135 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:40 +0000 (0:00:00.025) 0:00:32.160 ******** 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, c5bf3673-7b0d-456e-a8f9-1ac3db11745b [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c5bf3673-7b0d-456e-a8f9-1ac3db11745b (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:41 +0000 (0:00:00.403) 0:00:32.564 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:41 +0000 (0:00:00.026) 0:00:32.591 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c5bf3673-7b0d-456e-a8f9-1ac3db11745b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c5bf3673-7b0d-456e-a8f9-1ac3db11745b (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:41 +0000 (0:00:00.029) 0:00:32.620 ******** 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, c5bf3673-7b0d-456e-a8f9-1ac3db11745b\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c5bf3673-7b0d-456e-a8f9-1ac3db11745b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c5bf3673-7b0d-456e-a8f9-1ac3db11745b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c5bf3673-7b0d-456e-a8f9-1ac3db11745b (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:41 +0000 (0:00:00.043) 0:00:32.664 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:41 +0000 (0:00:00.025) 0:00:32.689 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:110 Friday 12 January 2024 20:06:41 +0000 (0:00:00.196) 0:00:32.885 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:06:41 +0000 (0:00:00.056) 0:00:32.942 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:06:41 +0000 (0:00:00.041) 0:00:32.983 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705089996.4394372, "block_size": 4096, "blocks": 0, "ctime": 1705089996.4394372, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24022, "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": 1705089996.4394372, "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_type8oek0enz/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:06:42 +0000 (0:00:00.253) 0:00:33.236 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:112 Friday 12 January 2024 20:06:42 +0000 (0:00:00.026) 0:00:33.263 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:06:42 +0000 (0:00:00.057) 0:00:33.320 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:06:42 +0000 (0:00:00.038) 0:00:33.359 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:06:42 +0000 (0:00:00.024) 0:00:33.383 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090001.3137958, "block_size": 4096, "blocks": 8, "ctime": 1705090001.2747977, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533376, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705090001.2747977, "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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:06:42 +0000 (0:00:00.200) 0:00:33.583 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:06:42 +0000 (0:00:00.025) 0:00:33.609 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022121", "end": "2024-01-12 20:06:42.605068", "rc": 0, "start": "2024-01-12 20:06:42.582947" } 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:06:42 +0000 (0:00:00.251) 0:00:33.861 ******** 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_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:06:42 +0000 (0:00:00.043) 0:00:33.905 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:06:42 +0000 (0:00:00.065) 0:00:33.970 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:06:42 +0000 (0:00:00.051) 0:00:34.021 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:06:42 +0000 (0:00:00.044) 0:00:34.066 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:06:42 +0000 (0:00:00.107) 0:00:34.174 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:06:43 +0000 (0:00:00.047) 0:00:34.221 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:06:43 +0000 (0:00:00.037) 0:00:34.258 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:116 Friday 12 January 2024 20:06:43 +0000 (0:00:00.050) 0:00:34.309 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003742", "end": "2024-01-12 20:06:43.305047", "rc": 0, "start": "2024-01-12 20:06:43.301305" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.194 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.194 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_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:120 Friday 12 January 2024 20:06:43 +0000 (0:00:00.225) 0:00:34.534 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:126 Friday 12 January 2024 20:06:43 +0000 (0:00:00.025) 0:00:34.560 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003818", "end": "2024-01-12 20:06:43.533663", "rc": 0, "start": "2024-01-12 20:06:43.529845" } 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_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:130 Friday 12 January 2024 20:06:43 +0000 (0:00:00.224) 0:00:34.784 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:137 Friday 12 January 2024 20:06:43 +0000 (0:00:00.034) 0:00:34.819 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:06:43 +0000 (0:00:00.026) 0:00:34.845 ******** included: /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:06:43 +0000 (0:00:00.042) 0:00:34.888 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:06:43 +0000 (0:00:00.033) 0:00:34.922 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:06:43 +0000 (0:00:00.027) 0:00:34.949 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:06:43 +0000 (0:00:00.026) 0:00:34.976 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:06:45 +0000 (0:00:01.509) 0:00:36.485 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:06:46 +0000 (0:00:01.306) 0:00:37.792 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:06:46 +0000 (0:00:00.024) 0:00:37.817 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:06:46 +0000 (0:00:00.023) 0:00:37.840 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:06:46 +0000 (0:00:00.022) 0:00:37.863 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:06:46 +0000 (0:00:00.102) 0:00:37.965 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:06:46 +0000 (0:00:00.025) 0:00:37.990 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:06:46 +0000 (0:00:00.024) 0:00:38.015 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:06:46 +0000 (0:00:00.030) 0:00:38.045 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:06:47 +0000 (0:00:00.349) 0:00:38.394 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:06:47 +0000 (0:00:00.026) 0:00:38.421 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:06:47 +0000 (0:00:00.023) 0:00:38.444 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:06:47 +0000 (0:00:00.022) 0:00:38.467 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:06:47 +0000 (0:00:00.403) 0:00:38.870 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:06:47 +0000 (0:00:00.023) 0:00:38.894 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:06:47 +0000 (0:00:00.024) 0:00:38.918 ******** 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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:06:47 +0000 (0:00:00.024) 0:00:38.943 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:06:47 +0000 (0:00:00.025) 0:00:38.968 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:149 Friday 12 January 2024 20:06:48 +0000 (0:00:00.234) 0:00:39.203 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 20:06:48 +0000 (0:00:00.059) 0:00:39.263 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 20:06:48 +0000 (0:00:00.022) 0:00:39.286 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 20:06:48 +0000 (0:00:00.023) 0:00:39.309 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:06:48 +0000 (0:00:00.040) 0:00:39.350 ******** included: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:06:48 +0000 (0:00:00.036) 0:00:39.386 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003364", "end": "2024-01-12 20:06:48.364676", "rc": 0, "start": "2024-01-12 20:06:48.361312" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:06:48 +0000 (0:00:00.206) 0:00:39.592 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:06:48 +0000 (0:00:00.024) 0:00:39.617 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 20:06:48 +0000 (0:00:00.025) 0:00:39.643 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:24 Friday 12 January 2024 20:06:51 +0000 (0:00:03.045) 0:00:42.688 ******** 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_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:33 Friday 12 January 2024 20:06:51 +0000 (0:00:00.035) 0:00:42.723 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:41 Friday 12 January 2024 20:06:51 +0000 (0:00:00.026) 0:00:42.749 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013699", "end": "2024-01-12 20:06:51.759763", "rc": 0, "start": "2024-01-12 20:06:51.746064" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:48 Friday 12 January 2024 20:06:51 +0000 (0:00:00.241) 0:00:42.991 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 12 January 2024 20:06:51 +0000 (0:00:00.024) 0:00:43.016 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 20:06:51 +0000 (0:00:00.024) 0:00:43.040 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:67 Friday 12 January 2024 20:06:51 +0000 (0:00:00.024) 0:00:43.065 ******** 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 Friday 12 January 2024 20:06:51 +0000 (0:00:00.009) 0:00:43.075 ******** =============================================================================== Install iproute --------------------------------------------------------- 3.34s /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.05s /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.05s /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.03s /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Enable EPEL 8 ----------------------------------------------------------- 1.44s /WORKDIR/git-route_type8oek0enz/tests/tasks/enable_epel.yml:35 ---------------- linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-route_type8oek0enz/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_type8oek0enz/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_type8oek0enz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.83s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-route_type8oek0enz/tests/tests_auto_gateway_nm.yml:6 ------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.70s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.62s /WORKDIR/git-route_type8oek0enz/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.62s /WORKDIR/git-route_type8oek0enz/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Configure networking connection profiles --- 0.53s /WORKDIR/git-route_type8oek0enz/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---