# 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_typeeelr5ich/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_typeeelr5ich/tests/tests_auto_gateway_nm.yml:5 Thursday 21 December 2023 16:57:18 +0000 (0:00:00.022) 0:00:00.022 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeeelr5ich/tests/tests_auto_gateway_nm.yml:9 Thursday 21 December 2023 16:57:18 +0000 (0:00:00.702) 0:00:00.724 ***** included: /WORKDIR/git-route_typeeelr5ich/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_typeeelr5ich/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 16:57:18 +0000 (0:00:00.066) 0:00:00.791 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.541) 0:00:01.332 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.341) 0:00:01.674 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.074) 0:00:01.748 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.071) 0:00:01.820 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.075) 0:00:01.896 ***** 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_typeeelr5ich/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.349) 0:00:02.246 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.035) 0:00:02.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.025) 0:00:02.306 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.249107", "end": "2023-12-21 16:57:20.813009", "rc": 0, "start": "2023-12-21 16:57:20.563902" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.581) 0:00:02.887 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tests_auto_gateway_nm.yml:11 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.065) 0:00:02.952 ***** 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_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:3 Thursday 21 December 2023 16:57:21 +0000 (0:00:00.096) 0:00:03.049 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:9 Thursday 21 December 2023 16:57:21 +0000 (0:00:00.573) 0:00:03.623 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:57:21 +0000 (0:00:00.027) 0:00:03.650 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:57:21 +0000 (0:00:00.016) 0:00:03.667 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003566", "end": "2023-12-21 16:57:21.880042", "rc": 0, "start": "2023-12-21 16:57:21.876476" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:57:21 +0000 (0:00:00.203) 0:00:03.871 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:57:21 +0000 (0:00:00.027) 0:00:03.898 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:11 Thursday 21 December 2023 16:57:21 +0000 (0:00:00.017) 0:00:03.916 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:57:21 +0000 (0:00:00.049) 0:00:03.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.011) 0:00:03.977 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.013) 0:00:03.990 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.024) 0:00:04.015 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.013) 0:00:04.029 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003453", "end": "2023-12-21 16:57:22.233815", "rc": 0, "start": "2023-12-21 16:57:22.230362" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.210) 0:00:04.240 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.012) 0:00:04.252 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.011) 0:00:04.263 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 21 December 2023 16:57:25 +0000 (0:00:03.290) 0:00:07.554 ***** 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.014026", "end": "2023-12-21 16:57:25.809994", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-21 16:57:25.795968" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003558", "end": "2023-12-21 16:57:26.027488", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-21 16:57:26.023930" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004052", "end": "2023-12-21 16:57:26.213734", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-21 16:57:26.209682" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.649) 0:00:08.204 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024409", "end": "2023-12-21 16:57:26.465414", "rc": 0, "start": "2023-12-21 16:57:26.441005" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.250) 0:00:08.454 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.034) 0:00:08.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.061) 0:00:08.549 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.067) 0:00:08.617 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.039) 0:00:08.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:15 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.028) 0:00:08.685 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.069) 0:00:08.755 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.020) 0:00:08.775 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177845.7992835, "block_size": 4096, "blocks": 0, "ctime": 1703177845.7992835, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22815, "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": 1703177845.7992835, "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_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:57:27 +0000 (0:00:00.269) 0:00:09.045 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:17 Thursday 21 December 2023 16:57:27 +0000 (0:00:00.048) 0:00:09.094 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:27 +0000 (0:00:00.024) 0:00:09.118 ***** included: /WORKDIR/git-route_typeeelr5ich/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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:27 +0000 (0:00:00.176) 0:00:09.295 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:27 +0000 (0:00:00.087) 0:00:09.382 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:27 +0000 (0:00:00.027) 0:00:09.410 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:27 +0000 (0:00:00.045) 0:00:09.455 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:29 +0000 (0:00:01.620) 0:00:11.076 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:30 +0000 (0:00:01.817) 0:00:12.894 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.132) 0:00:13.026 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.061) 0:00:13.088 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.100) 0:00:13.188 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.130) 0:00:13.319 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.051) 0:00:13.370 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.044) 0:00:13.414 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.165) 0:00:13.580 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:32 +0000 (0:00:00.648) 0:00:14.229 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:32 +0000 (0:00:00.054) 0:00:14.283 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:32 +0000 (0:00:00.052) 0:00:14.335 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:32 +0000 (0:00:00.052) 0:00:14.388 ***** 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, 63a9cb87-135c-424b-94cc-7c86e7a855c5 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 63a9cb87-135c-424b-94cc-7c86e7a855c5 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.594) 0:00:14.982 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.027) 0:00:15.010 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 63a9cb87-135c-424b-94cc-7c86e7a855c5", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 63a9cb87-135c-424b-94cc-7c86e7a855c5 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.038) 0:00:15.048 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 63a9cb87-135c-424b-94cc-7c86e7a855c5\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 63a9cb87-135c-424b-94cc-7c86e7a855c5 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 63a9cb87-135c-424b-94cc-7c86e7a855c5", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 63a9cb87-135c-424b-94cc-7c86e7a855c5 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.028) 0:00:15.077 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.035) 0:00:15.112 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:42 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.328) 0:00:15.440 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.049) 0:00:15.490 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.069) 0:00:15.560 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177845.7992835, "block_size": 4096, "blocks": 0, "ctime": 1703177845.7992835, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22815, "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": 1703177845.7992835, "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_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.276) 0:00:15.836 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:44 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.050) 0:00:15.886 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.078) 0:00:15.965 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.062) 0:00:16.027 ***** 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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.041) 0:00:16.069 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177852.923342, "block_size": 4096, "blocks": 8, "ctime": 1703177852.8813422, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4750454, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703177852.8813422, "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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.323) 0:00:16.393 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.035) 0:00:16.428 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022142", "end": "2023-12-21 16:57:34.672239", "rc": 0, "start": "2023-12-21 16:57:34.650097" } 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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.242) 0:00:16.671 ***** 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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.039) 0:00:16.711 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.041) 0:00:16.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.075) 0:00:16.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.054) 0:00:16.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.055) 0:00:16.938 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.036) 0:00:16.975 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.056) 0:00:17.031 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:48 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.053) 0:00:17.084 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004228", "end": "2023-12-21 16:57:35.300194", "rc": 0, "start": "2023-12-21 16:57:35.295966" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.167 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.9.167 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_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:52 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.275) 0:00:17.359 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:58 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.041) 0:00:17.401 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003974", "end": "2023-12-21 16:57:35.646044", "rc": 0, "start": "2023-12-21 16:57:35.642070" } 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_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:62 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.322) 0:00:17.724 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:69 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.087) 0:00:17.811 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.057) 0:00:17.868 ***** included: /WORKDIR/git-route_typeeelr5ich/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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:36 +0000 (0:00:00.131) 0:00:17.999 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:36 +0000 (0:00:00.101) 0:00:18.101 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:36 +0000 (0:00:00.046) 0:00:18.147 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:36 +0000 (0:00:00.027) 0:00:18.175 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:38 +0000 (0:00:01.863) 0:00:20.038 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:39 +0000 (0:00:01.392) 0:00:21.430 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.062) 0:00:21.493 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.046) 0:00:21.540 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.053) 0:00:21.593 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.088) 0:00:21.681 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.054) 0:00:21.735 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.038) 0:00:21.774 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.041) 0:00:21.816 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.421) 0:00:22.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.066) 0:00:22.304 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.051) 0:00:22.355 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.059) 0:00:22.414 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.439) 0:00:22.853 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.036) 0:00:22.890 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.030) 0:00:22.921 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.031) 0:00:22.952 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.044) 0:00:22.996 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:81 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.199) 0:00:23.196 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.053) 0:00:23.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.025) 0:00:23.276 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.054) 0:00:23.330 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.084) 0:00:23.414 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.065) 0:00:23.480 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003445", "end": "2023-12-21 16:57:41.717487", "rc": 0, "start": "2023-12-21 16:57:41.714042" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.241) 0:00:23.722 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.030) 0:00:23.752 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.031) 0:00:23.783 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 21 December 2023 16:57:44 +0000 (0:00:03.049) 0:00:26.833 ***** 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_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 21 December 2023 16:57:44 +0000 (0:00:00.123) 0:00:26.956 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.068) 0:00:27.025 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010976", "end": "2023-12-21 16:57:45.316963", "rc": 0, "start": "2023-12-21 16:57:45.305987" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.322) 0:00:27.347 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.058) 0:00:27.405 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.064) 0:00:27.469 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.027) 0:00:27.497 ***** 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_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:85 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.137) 0:00:27.634 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:89 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.034) 0:00:27.669 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.113) 0:00:27.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.104) 0:00:27.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.026) 0:00:27.914 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:57:46 +0000 (0:00:00.167) 0:00:28.081 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:57:46 +0000 (0:00:00.192) 0:00:28.274 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003378", "end": "2023-12-21 16:57:46.537341", "rc": 0, "start": "2023-12-21 16:57:46.533963" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:57:46 +0000 (0:00:00.290) 0:00:28.564 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:57:46 +0000 (0:00:00.078) 0:00:28.642 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:57:46 +0000 (0:00:00.031) 0:00:28.674 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 21 December 2023 16:57:49 +0000 (0:00:03.026) 0:00:31.700 ***** 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.013108", "end": "2023-12-21 16:57:49.926745", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-21 16:57:49.913637" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003866", "end": "2023-12-21 16:57:50.154987", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-21 16:57:50.151121" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004319", "end": "2023-12-21 16:57:50.347172", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-21 16:57:50.342853" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 21 December 2023 16:57:50 +0000 (0:00:00.653) 0:00:32.354 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023673", "end": "2023-12-21 16:57:50.592462", "rc": 0, "start": "2023-12-21 16:57:50.568789" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 21 December 2023 16:57:50 +0000 (0:00:00.250) 0:00:32.605 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 21 December 2023 16:57:50 +0000 (0:00:00.027) 0:00:32.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 21 December 2023 16:57:50 +0000 (0:00:00.054) 0:00:32.688 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:57:50 +0000 (0:00:00.035) 0:00:32.723 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 21 December 2023 16:57:50 +0000 (0:00:00.024) 0:00:32.748 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:50 +0000 (0:00:00.026) 0:00:32.774 ***** included: /WORKDIR/git-route_typeeelr5ich/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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:50 +0000 (0:00:00.049) 0:00:32.824 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:50 +0000 (0:00:00.067) 0:00:32.891 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:50 +0000 (0:00:00.045) 0:00:32.936 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:50 +0000 (0:00:00.029) 0:00:32.966 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:52 +0000 (0:00:01.636) 0:00:34.602 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:54 +0000 (0:00:01.520) 0:00:36.123 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:54 +0000 (0:00:00.050) 0:00:36.173 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:54 +0000 (0:00:00.064) 0:00:36.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:54 +0000 (0:00:00.052) 0:00:36.290 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:54 +0000 (0:00:00.084) 0:00:36.375 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:54 +0000 (0:00:00.098) 0:00:36.474 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:54 +0000 (0:00:00.083) 0:00:36.557 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:54 +0000 (0:00:00.034) 0:00:36.592 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.427) 0:00:37.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.073) 0:00:37.093 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.032) 0:00:37.125 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.055) 0:00:37.181 ***** 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, 9069807e-500a-44ba-a67d-be7962956f7e [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9069807e-500a-44ba-a67d-be7962956f7e (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.525) 0:00:37.706 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.085) 0:00:37.792 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9069807e-500a-44ba-a67d-be7962956f7e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9069807e-500a-44ba-a67d-be7962956f7e (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:56 +0000 (0:00:00.211) 0:00:38.003 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9069807e-500a-44ba-a67d-be7962956f7e\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9069807e-500a-44ba-a67d-be7962956f7e (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9069807e-500a-44ba-a67d-be7962956f7e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9069807e-500a-44ba-a67d-be7962956f7e (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:56 +0000 (0:00:00.102) 0:00:38.106 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:56 +0000 (0:00:00.118) 0:00:38.224 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:110 Thursday 21 December 2023 16:57:56 +0000 (0:00:00.238) 0:00:38.462 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:57:56 +0000 (0:00:00.055) 0:00:38.518 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:57:56 +0000 (0:00:00.037) 0:00:38.555 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177869.9175847, "block_size": 4096, "blocks": 0, "ctime": 1703177869.9175847, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23401, "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": 1703177869.9175847, "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_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:57:56 +0000 (0:00:00.208) 0:00:38.764 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:112 Thursday 21 December 2023 16:57:56 +0000 (0:00:00.026) 0:00:38.790 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:57:56 +0000 (0:00:00.071) 0:00:38.861 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:57:56 +0000 (0:00:00.064) 0:00:38.926 ***** 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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.129) 0:00:39.056 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177875.662213, "block_size": 4096, "blocks": 8, "ctime": 1703177875.619213, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4750454, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703177875.619213, "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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.226) 0:00:39.282 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.063) 0:00:39.346 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021683", "end": "2023-12-21 16:57:57.621960", "rc": 0, "start": "2023-12-21 16:57:57.600277" } 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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.280) 0:00:39.626 ***** 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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.035) 0:00:39.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.026) 0:00:39.688 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.047) 0:00:39.736 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.033) 0:00:39.769 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.026) 0:00:39.796 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.026) 0:00:39.823 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.025) 0:00:39.848 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:116 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.024) 0:00:39.872 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004272", "end": "2023-12-21 16:57:58.082107", "rc": 0, "start": "2023-12-21 16:57:58.077835" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.167 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.167 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_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:120 Thursday 21 December 2023 16:57:58 +0000 (0:00:00.208) 0:00:40.080 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:126 Thursday 21 December 2023 16:57:58 +0000 (0:00:00.023) 0:00:40.104 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003845", "end": "2023-12-21 16:57:58.306778", "rc": 0, "start": "2023-12-21 16:57:58.302933" } 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_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:130 Thursday 21 December 2023 16:57:58 +0000 (0:00:00.257) 0:00:40.361 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:137 Thursday 21 December 2023 16:57:58 +0000 (0:00:00.046) 0:00:40.408 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:58 +0000 (0:00:00.028) 0:00:40.436 ***** included: /WORKDIR/git-route_typeeelr5ich/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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:58 +0000 (0:00:00.045) 0:00:40.482 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:58 +0000 (0:00:00.036) 0:00:40.518 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:58 +0000 (0:00:00.032) 0:00:40.551 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:58 +0000 (0:00:00.029) 0:00:40.580 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:58:00 +0000 (0:00:01.557) 0:00:42.138 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:58:01 +0000 (0:00:01.490) 0:00:43.629 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.063) 0:00:43.693 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.034) 0:00:43.728 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.087) 0:00:43.816 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.060) 0:00:43.876 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.027) 0:00:43.904 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.025) 0:00:43.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:58:02 +0000 (0:00:00.064) 0:00:43.994 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:58:02 +0000 (0:00:00.447) 0:00:44.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:58:02 +0000 (0:00:00.051) 0:00:44.493 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:58:02 +0000 (0:00:00.035) 0:00:44.529 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:58:02 +0000 (0:00:00.047) 0:00:44.577 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.428) 0:00:45.005 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.026) 0:00:45.032 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.073) 0:00:45.105 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.030) 0:00:45.136 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.046) 0:00:45.182 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:149 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.227) 0:00:45.410 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.108) 0:00:45.518 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.024) 0:00:45.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.024) 0:00:45.566 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.048) 0:00:45.615 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.038) 0:00:45.653 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003513", "end": "2023-12-21 16:58:03.858933", "rc": 0, "start": "2023-12-21 16:58:03.855420" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.226) 0:00:45.879 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.029) 0:00:45.909 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.027) 0:00:45.936 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 21 December 2023 16:58:06 +0000 (0:00:03.008) 0:00:48.945 ***** 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_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 21 December 2023 16:58:07 +0000 (0:00:00.044) 0:00:48.990 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 21 December 2023 16:58:07 +0000 (0:00:00.039) 0:00:49.029 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013893", "end": "2023-12-21 16:58:07.272187", "rc": 0, "start": "2023-12-21 16:58:07.258294" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 21 December 2023 16:58:07 +0000 (0:00:00.245) 0:00:49.275 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 21 December 2023 16:58:07 +0000 (0:00:00.034) 0:00:49.310 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:58:07 +0000 (0:00:00.028) 0:00:49.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 21 December 2023 16:58:07 +0000 (0:00:00.026) 0:00:49.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=129 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Thursday 21 December 2023 16:58:07 +0000 (0:00:00.011) 0:00:49.377 ***** =============================================================================== Install iproute --------------------------------------------------------- 3.29s /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.05s /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.03s /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.01s /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.86s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.82s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.52s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.49s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.39s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.87s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.87s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-route_typeeelr5ich/tests/tests_auto_gateway_nm.yml:5 ------------- Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:24 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Enable and start NetworkManager ------------ 0.65s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.59s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 Enable EPEL 8 ----------------------------------------------------------- 0.58s /WORKDIR/git-route_typeeelr5ich/tests/tasks/enable_epel.yml:35 ---------------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---