# 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-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/tests_auto_gateway_nm.yml:5 Saturday 09 December 2023 13:44:04 +0000 (0:00:00.059) 0:00:00.059 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tests_auto_gateway_nm.yml:9 Saturday 09 December 2023 13:44:05 +0000 (0:00:00.839) 0:00:00.898 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:3 Saturday 09 December 2023 13:44:05 +0000 (0:00:00.054) 0:00:00.953 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:19 Saturday 09 December 2023 13:44:05 +0000 (0:00:00.350) 0:00:01.303 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:24 Saturday 09 December 2023 13:44:05 +0000 (0:00:00.500) 0:00:01.804 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:28 Saturday 09 December 2023 13:44:06 +0000 (0:00:00.106) 0:00:01.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:53 Saturday 09 December 2023 13:44:06 +0000 (0:00:00.070) 0:00:01.981 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:8 Saturday 09 December 2023 13:44:06 +0000 (0:00:00.127) 0:00:02.109 ***** 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-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:24 Saturday 09 December 2023 13:44:06 +0000 (0:00:00.423) 0:00:02.532 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:30 Saturday 09 December 2023 13:44:06 +0000 (0:00:00.017) 0:00:02.550 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:35 Saturday 09 December 2023 13:44:06 +0000 (0:00:00.011) 0:00:02.561 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.381569", "end": "2023-12-09 13:44:07.305564", "rc": 0, "start": "2023-12-09 13:44:06.923995" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:40 Saturday 09 December 2023 13:44:07 +0000 (0:00:00.612) 0:00:03.173 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tests_auto_gateway_nm.yml:11 Saturday 09 December 2023 13:44:07 +0000 (0:00:00.015) 0:00:03.188 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:3 Saturday 09 December 2023 13:44:07 +0000 (0:00:00.039) 0:00:03.228 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:9 Saturday 09 December 2023 13:44:08 +0000 (0:00:00.630) 0:00:03.858 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:44:08 +0000 (0:00:00.049) 0:00:03.908 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:44:08 +0000 (0:00:00.023) 0:00:03.931 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003466", "end": "2023-12-09 13:44:08.321099", "rc": 0, "start": "2023-12-09 13:44:08.317633" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:44:08 +0000 (0:00:00.264) 0:00:04.196 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:44:08 +0000 (0:00:00.047) 0:00:04.243 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:11 Saturday 09 December 2023 13:44:08 +0000 (0:00:00.019) 0:00:04.263 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 09 December 2023 13:44:08 +0000 (0:00:00.081) 0:00:04.344 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 09 December 2023 13:44:08 +0000 (0:00:00.084) 0:00:04.429 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 09 December 2023 13:44:08 +0000 (0:00:00.032) 0:00:04.461 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:44:08 +0000 (0:00:00.031) 0:00:04.493 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:44:08 +0000 (0:00:00.053) 0:00:04.546 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003549", "end": "2023-12-09 13:44:08.915566", "rc": 0, "start": "2023-12-09 13:44:08.912017" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:44:09 +0000 (0:00:00.309) 0:00:04.856 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:44:09 +0000 (0:00:00.125) 0:00:04.981 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 09 December 2023 13:44:09 +0000 (0:00:00.067) 0:00:05.048 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 09 December 2023 13:44:10 +0000 (0:00:01.757) 0:00:06.806 ***** 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.015145", "end": "2023-12-09 13:44:11.215835", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-09 13:44:11.200690" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.006618", "end": "2023-12-09 13:44:11.442158", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-09 13:44:11.435540" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007246", "end": "2023-12-09 13:44:11.625095", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-09 13:44:11.617849" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 09 December 2023 13:44:11 +0000 (0:00:00.676) 0:00:07.482 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023482", "end": "2023-12-09 13:44:11.854845", "rc": 0, "start": "2023-12-09 13:44:11.831363" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 09 December 2023 13:44:11 +0000 (0:00:00.228) 0:00:07.710 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 09 December 2023 13:44:11 +0000 (0:00:00.014) 0:00:07.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 09 December 2023 13:44:11 +0000 (0:00:00.040) 0:00:07.765 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 09 December 2023 13:44:11 +0000 (0:00:00.027) 0:00:07.793 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 09 December 2023 13:44:11 +0000 (0:00:00.035) 0:00:07.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:15 Saturday 09 December 2023 13:44:12 +0000 (0:00:00.017) 0:00:07.846 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:44:12 +0000 (0:00:00.027) 0:00:07.873 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:44:12 +0000 (0:00:00.029) 0:00:07.902 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129451.2046795, "block_size": 4096, "blocks": 0, "ctime": 1702129451.2046795, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23151, "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": 1702129451.2046795, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:44:12 +0000 (0:00:00.188) 0:00:08.091 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:17 Saturday 09 December 2023 13:44:12 +0000 (0:00:00.022) 0:00:08.113 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:44:12 +0000 (0:00:00.023) 0:00:08.136 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:44:12 +0000 (0:00:00.089) 0:00:08.226 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:44:12 +0000 (0:00:00.043) 0:00:08.270 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:44:12 +0000 (0:00:00.023) 0:00:08.293 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:44:12 +0000 (0:00:00.036) 0:00:08.329 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:44:14 +0000 (0:00:01.793) 0:00:10.123 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:44:16 +0000 (0:00:01.806) 0:00:11.930 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:44:16 +0000 (0:00:00.062) 0:00:11.992 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:44:16 +0000 (0:00:00.107) 0:00:12.099 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:44:16 +0000 (0:00:00.085) 0:00:12.185 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:44:16 +0000 (0:00:00.069) 0:00:12.254 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:44:16 +0000 (0:00:00.029) 0:00:12.283 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:44:16 +0000 (0:00:00.024) 0:00:12.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:44:16 +0000 (0:00:00.030) 0:00:12.338 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:44:17 +0000 (0:00:00.715) 0:00:13.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:44:17 +0000 (0:00:00.052) 0:00:13.107 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:44:17 +0000 (0:00:00.052) 0:00:13.160 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:44:17 +0000 (0:00:00.044) 0:00:13.205 ***** 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, 72b1c95e-fc3b-4e01-8acf-25d56391f32d [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 72b1c95e-fc3b-4e01-8acf-25d56391f32d (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:44:18 +0000 (0:00:01.164) 0:00:14.369 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:44:18 +0000 (0:00:00.045) 0:00:14.415 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 72b1c95e-fc3b-4e01-8acf-25d56391f32d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 72b1c95e-fc3b-4e01-8acf-25d56391f32d (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:44:18 +0000 (0:00:00.083) 0:00:14.498 ***** 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, 72b1c95e-fc3b-4e01-8acf-25d56391f32d\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 72b1c95e-fc3b-4e01-8acf-25d56391f32d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 72b1c95e-fc3b-4e01-8acf-25d56391f32d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 72b1c95e-fc3b-4e01-8acf-25d56391f32d (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:44:18 +0000 (0:00:00.080) 0:00:14.578 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:44:18 +0000 (0:00:00.062) 0:00:14.641 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:42 Saturday 09 December 2023 13:44:19 +0000 (0:00:00.388) 0:00:15.030 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:44:19 +0000 (0:00:00.106) 0:00:15.136 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:44:19 +0000 (0:00:00.053) 0:00:15.189 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129451.2046795, "block_size": 4096, "blocks": 0, "ctime": 1702129451.2046795, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23151, "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": 1702129451.2046795, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:44:19 +0000 (0:00:00.304) 0:00:15.494 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:44 Saturday 09 December 2023 13:44:19 +0000 (0:00:00.121) 0:00:15.616 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:44:19 +0000 (0:00:00.211) 0:00:15.827 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:44:20 +0000 (0:00:00.278) 0:00:16.106 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:44:20 +0000 (0:00:00.051) 0:00:16.158 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129458.3379061, "block_size": 4096, "blocks": 8, "ctime": 1702129458.295908, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702129458.295908, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:44:20 +0000 (0:00:00.294) 0:00:16.453 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:44:20 +0000 (0:00:00.068) 0:00:16.521 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022769", "end": "2023-12-09 13:44:20.907143", "rc": 0, "start": "2023-12-09 13:44:20.884374" } 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:44:20 +0000 (0:00:00.268) 0:00:16.790 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:44:20 +0000 (0:00:00.030) 0:00:16.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:44:21 +0000 (0:00:00.036) 0:00:16.857 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:44:21 +0000 (0:00:00.073) 0:00:16.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:44:21 +0000 (0:00:00.059) 0:00:16.990 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:44:21 +0000 (0:00:00.040) 0:00:17.030 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:44:21 +0000 (0:00:00.057) 0:00:17.087 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:44:21 +0000 (0:00:00.077) 0:00:17.164 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:48 Saturday 09 December 2023 13:44:21 +0000 (0:00:00.037) 0:00:17.202 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004339", "end": "2023-12-09 13:44:21.580292", "rc": 0, "start": "2023-12-09 13:44:21.575953" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.185 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.185 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-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:52 Saturday 09 December 2023 13:44:21 +0000 (0:00:00.294) 0:00:17.497 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:58 Saturday 09 December 2023 13:44:21 +0000 (0:00:00.046) 0:00:17.544 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004102", "end": "2023-12-09 13:44:21.881600", "rc": 0, "start": "2023-12-09 13:44:21.877498" } 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-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:62 Saturday 09 December 2023 13:44:21 +0000 (0:00:00.273) 0:00:17.817 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:69 Saturday 09 December 2023 13:44:22 +0000 (0:00:00.049) 0:00:17.866 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:44:22 +0000 (0:00:00.024) 0:00:17.891 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:44:22 +0000 (0:00:00.073) 0:00:17.964 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:44:22 +0000 (0:00:00.079) 0:00:18.044 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:44:22 +0000 (0:00:00.075) 0:00:18.119 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:44:22 +0000 (0:00:00.099) 0:00:18.219 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:44:24 +0000 (0:00:01.750) 0:00:19.969 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:44:25 +0000 (0:00:01.303) 0:00:21.272 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:44:25 +0000 (0:00:00.154) 0:00:21.427 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:44:25 +0000 (0:00:00.040) 0:00:21.468 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:44:25 +0000 (0:00:00.129) 0:00:21.597 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:44:25 +0000 (0:00:00.103) 0:00:21.700 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:44:25 +0000 (0:00:00.067) 0:00:21.768 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:44:26 +0000 (0:00:00.096) 0:00:21.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:44:26 +0000 (0:00:00.076) 0:00:21.941 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:44:26 +0000 (0:00:00.637) 0:00:22.579 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:44:26 +0000 (0:00:00.062) 0:00:22.641 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:44:26 +0000 (0:00:00.114) 0:00:22.756 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:44:26 +0000 (0:00:00.037) 0:00:22.793 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:44:27 +0000 (0:00:00.481) 0:00:23.275 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:44:27 +0000 (0:00:00.055) 0:00:23.331 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:44:27 +0000 (0:00:00.064) 0:00:23.395 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:44:27 +0000 (0:00:00.042) 0:00:23.437 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:44:27 +0000 (0:00:00.026) 0:00:23.464 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:81 Saturday 09 December 2023 13:44:27 +0000 (0:00:00.304) 0:00:23.769 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 09 December 2023 13:44:28 +0000 (0:00:00.146) 0:00:23.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 09 December 2023 13:44:28 +0000 (0:00:00.049) 0:00:23.966 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 09 December 2023 13:44:28 +0000 (0:00:00.082) 0:00:24.048 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:44:28 +0000 (0:00:00.082) 0:00:24.131 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:44:28 +0000 (0:00:00.062) 0:00:24.193 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003477", "end": "2023-12-09 13:44:28.540710", "rc": 0, "start": "2023-12-09 13:44:28.537233" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:44:28 +0000 (0:00:00.239) 0:00:24.433 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:44:28 +0000 (0:00:00.087) 0:00:24.520 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 09 December 2023 13:44:28 +0000 (0:00:00.072) 0:00:24.593 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 09 December 2023 13:44:30 +0000 (0:00:01.495) 0:00:26.088 ***** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 09 December 2023 13:44:30 +0000 (0:00:00.058) 0:00:26.146 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 09 December 2023 13:44:30 +0000 (0:00:00.094) 0:00:26.241 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.017763", "end": "2023-12-09 13:44:30.604656", "rc": 0, "start": "2023-12-09 13:44:30.586893" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 09 December 2023 13:44:30 +0000 (0:00:00.303) 0:00:26.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 09 December 2023 13:44:30 +0000 (0:00:00.079) 0:00:26.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 09 December 2023 13:44:30 +0000 (0:00:00.108) 0:00:26.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 09 December 2023 13:44:30 +0000 (0:00:00.059) 0:00:26.793 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:85 Saturday 09 December 2023 13:44:31 +0000 (0:00:00.129) 0:00:26.923 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:89 Saturday 09 December 2023 13:44:31 +0000 (0:00:00.141) 0:00:27.064 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 09 December 2023 13:44:31 +0000 (0:00:00.111) 0:00:27.175 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 09 December 2023 13:44:31 +0000 (0:00:00.043) 0:00:27.219 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 09 December 2023 13:44:31 +0000 (0:00:00.069) 0:00:27.289 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:44:31 +0000 (0:00:00.126) 0:00:27.415 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:44:31 +0000 (0:00:00.127) 0:00:27.543 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003480", "end": "2023-12-09 13:44:31.933733", "rc": 0, "start": "2023-12-09 13:44:31.930253" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:44:32 +0000 (0:00:00.357) 0:00:27.900 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:44:32 +0000 (0:00:00.031) 0:00:27.931 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 09 December 2023 13:44:32 +0000 (0:00:00.037) 0:00:27.969 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 09 December 2023 13:44:33 +0000 (0:00:01.461) 0:00:29.431 ***** 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.012878", "end": "2023-12-09 13:44:33.848053", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-09 13:44:33.835175" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.006761", "end": "2023-12-09 13:44:34.076710", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-09 13:44:34.069949" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007055", "end": "2023-12-09 13:44:34.322358", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-09 13:44:34.315303" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 09 December 2023 13:44:34 +0000 (0:00:00.802) 0:00:30.234 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023347", "end": "2023-12-09 13:44:34.678555", "rc": 0, "start": "2023-12-09 13:44:34.655208" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 09 December 2023 13:44:34 +0000 (0:00:00.353) 0:00:30.587 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 09 December 2023 13:44:34 +0000 (0:00:00.042) 0:00:30.630 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 09 December 2023 13:44:34 +0000 (0:00:00.043) 0:00:30.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 09 December 2023 13:44:34 +0000 (0:00:00.048) 0:00:30.721 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 09 December 2023 13:44:34 +0000 (0:00:00.044) 0:00:30.765 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:44:34 +0000 (0:00:00.030) 0:00:30.796 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:44:35 +0000 (0:00:00.099) 0:00:30.895 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:44:35 +0000 (0:00:00.066) 0:00:30.962 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:44:35 +0000 (0:00:00.133) 0:00:31.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:44:35 +0000 (0:00:00.072) 0:00:31.168 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:44:37 +0000 (0:00:01.703) 0:00:32.872 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:44:38 +0000 (0:00:01.274) 0:00:34.147 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.045) 0:00:34.192 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.053) 0:00:34.246 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.056) 0:00:34.303 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.137) 0:00:34.440 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.095) 0:00:34.536 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.079) 0:00:34.616 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.172) 0:00:34.789 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:44:39 +0000 (0:00:00.451) 0:00:35.240 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:44:39 +0000 (0:00:00.032) 0:00:35.272 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:44:39 +0000 (0:00:00.029) 0:00:35.301 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:44:39 +0000 (0:00:00.032) 0:00:35.334 ***** 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, 9594292d-18d6-451e-8053-609cb4bc3d25 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9594292d-18d6-451e-8053-609cb4bc3d25 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:44:39 +0000 (0:00:00.468) 0:00:35.803 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.059) 0:00:35.862 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9594292d-18d6-451e-8053-609cb4bc3d25", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9594292d-18d6-451e-8053-609cb4bc3d25 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.042) 0:00:35.905 ***** 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, 9594292d-18d6-451e-8053-609cb4bc3d25\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9594292d-18d6-451e-8053-609cb4bc3d25 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9594292d-18d6-451e-8053-609cb4bc3d25", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9594292d-18d6-451e-8053-609cb4bc3d25 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.030) 0:00:35.936 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.055) 0:00:35.991 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:110 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.248) 0:00:36.240 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.059) 0:00:36.299 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.122) 0:00:36.422 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129473.8392801, "block_size": 4096, "blocks": 0, "ctime": 1702129473.8392801, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23737, "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": 1702129473.8392801, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.254) 0:00:36.677 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:112 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.030) 0:00:36.707 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.116) 0:00:36.823 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:44:41 +0000 (0:00:00.158) 0:00:36.982 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:44:41 +0000 (0:00:00.046) 0:00:37.029 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129479.8789713, "block_size": 4096, "blocks": 8, "ctime": 1702129479.8429728, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702129479.8429728, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:44:41 +0000 (0:00:00.324) 0:00:37.353 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:44:41 +0000 (0:00:00.124) 0:00:37.477 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021867", "end": "2023-12-09 13:44:41.863311", "rc": 0, "start": "2023-12-09 13:44:41.841444" } 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:44:41 +0000 (0:00:00.327) 0:00:37.804 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:44:42 +0000 (0:00:00.110) 0:00:37.915 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:44:42 +0000 (0:00:00.122) 0:00:38.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:44:42 +0000 (0:00:00.056) 0:00:38.094 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:44:42 +0000 (0:00:00.107) 0:00:38.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:44:42 +0000 (0:00:00.042) 0:00:38.243 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:44:42 +0000 (0:00:00.270) 0:00:38.513 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:44:42 +0000 (0:00:00.070) 0:00:38.584 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:116 Saturday 09 December 2023 13:44:42 +0000 (0:00:00.061) 0:00:38.646 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004443", "end": "2023-12-09 13:44:43.095167", "rc": 0, "start": "2023-12-09 13:44:43.090724" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.185 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.185 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-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:120 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.373) 0:00:39.019 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:126 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.071) 0:00:39.090 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004047", "end": "2023-12-09 13:44:43.434948", "rc": 0, "start": "2023-12-09 13:44:43.430901" } 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-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:130 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.240) 0:00:39.331 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:137 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.057) 0:00:39.388 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.067) 0:00:39.456 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.098) 0:00:39.554 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.059) 0:00:39.613 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.071) 0:00:39.685 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.038) 0:00:39.724 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:44:45 +0000 (0:00:01.776) 0:00:41.501 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:44:46 +0000 (0:00:01.299) 0:00:42.800 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:44:47 +0000 (0:00:00.063) 0:00:42.864 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:44:47 +0000 (0:00:00.069) 0:00:42.934 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:44:47 +0000 (0:00:00.051) 0:00:42.986 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:44:47 +0000 (0:00:00.064) 0:00:43.050 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:44:47 +0000 (0:00:00.071) 0:00:43.122 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:44:47 +0000 (0:00:00.041) 0:00:43.164 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:44:47 +0000 (0:00:00.063) 0:00:43.227 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:44:47 +0000 (0:00:00.434) 0:00:43.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:44:47 +0000 (0:00:00.139) 0:00:43.801 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:44:48 +0000 (0:00:00.115) 0:00:43.917 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:44:48 +0000 (0:00:00.403) 0:00:44.320 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.582) 0:00:44.903 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.072) 0:00:44.976 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.074) 0:00:45.050 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.043) 0:00:45.133 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.074) 0:00:45.207 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:149 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.314) 0:00:45.522 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.169) 0:00:45.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.094) 0:00:45.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.108) 0:00:45.895 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.154) 0:00:46.049 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.054) 0:00:46.104 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003522", "end": "2023-12-09 13:44:50.478098", "rc": 0, "start": "2023-12-09 13:44:50.474576" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.304) 0:00:46.408 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.070) 0:00:46.479 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.034) 0:00:46.513 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 09 December 2023 13:44:52 +0000 (0:00:01.506) 0:00:48.019 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.137) 0:00:48.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.126) 0:00:48.283 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013095", "end": "2023-12-09 13:44:52.725454", "rc": 0, "start": "2023-12-09 13:44:52.712359" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.355) 0:00:48.639 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.054) 0:00:48.694 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.068) 0:00:48.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.048) 0:00:48.812 ***** 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 Saturday 09 December 2023 13:44:53 +0000 (0:00:00.036) 0:00:48.848 ***** =============================================================================== linux-system-roles.network : Check which packages are installed --------- 1.81s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.79s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.78s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Install iproute --------------------------------------------------------- 1.76s /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Install iproute --------------------------------------------------------- 1.51s /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.50s /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.46s /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.27s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.16s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.07s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.06s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.84s /WORKDIR/git-weekly-ciyhmr6ljt/tests/tests_auto_gateway_nm.yml:5 -------------- Create veth interface veth0 --------------------------------------------- 0.80s /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Enable and start NetworkManager ------------ 0.72s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Create veth interface veth0 --------------------------------------------- 0.68s /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:3 ------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---