ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp4wbeq7zn executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 03 August 2022 16:51:58 +0000 (0:00:00.018) 0:00:00.018 ****** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.219298", "end": "2022-08-03 16:51:58.226301", "rc": 0, "start": "2022-08-03 16:51:58.007003" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:51:59 +0000 (0:00:00.811) 0:00:00.829 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.81s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp650e3cfh/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp650e3cfh/tests/_backup.yml:6 Wednesday 03 August 2022 16:51:59 +0000 (0:00:00.016) 0:00:00.846 ****** ok: [/cache/centos-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659545517.7882848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659545516.786285, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19231, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545238.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2437777343", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp650e3cfh/tests/_backup.yml:13 Wednesday 03 August 2022 16:51:59 +0000 (0:00:00.507) 0:00:01.353 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-8.qcow2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 19231, 'dev': 64513, 'nlink': 1, 'atime': 1659545517.7882848, 'mtime': 1659545238.0, 'ctime': 1659545516.786285, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '2437777343', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659545517.7882848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659545516.786285, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19231, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545238.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2437777343", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp650e3cfh/tests/_backup.yml:19 Wednesday 03 August 2022 16:51:59 +0000 (0:00:00.079) 0:00:01.432 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004426", "end": "2022-08-03 16:51:59.210062", "rc": 0, "start": "2022-08-03 16:51:59.205636" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=4 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.374) 0:00:01.807 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.81s /cache/centos-8_setup.yml:5 --------------------------------------------------- Get stats of system files ----------------------------------------------- 0.51s /tmp/tmp650e3cfh/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.37s /tmp/tmp650e3cfh/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.08s /tmp/tmp650e3cfh/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmp650e3cfh/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp650e3cfh/tests/tests_auto_gateway_nm.yml:5 Wednesday 03 August 2022 16:52:00 +0000 (0:00:00.054) 0:00:01.861 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tests_auto_gateway_nm.yml:8 Wednesday 03 August 2022 16:52:01 +0000 (0:00:01.028) 0:00:02.889 ****** included: /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml for /cache/centos-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:52:01 +0000 (0:00:00.027) 0:00:02.917 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:52:01 +0000 (0:00:00.022) 0:00:02.940 ****** included: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml for /cache/centos-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:52:01 +0000 (0:00:00.028) 0:00:02.968 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:52:01 +0000 (0:00:00.383) 0:00:03.352 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:52:01 +0000 (0:00:00.021) 0:00:03.373 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.202961", "end": "2022-08-03 16:52:01.357469", "rc": 0, "start": "2022-08-03 16:52:01.154508" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:52:02 +0000 (0:00:00.579) 0:00:03.953 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp650e3cfh/tests/tests_auto_gateway_nm.yml:9 Wednesday 03 August 2022 16:52:02 +0000 (0:00:00.022) 0:00:03.975 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 16:52:02 +0000 (0:00:00.048) 0:00:04.024 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.786) 0:00:04.810 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.055) 0:00:04.866 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.032) 0:00:04.898 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004076", "end": "2022-08-03 16:52:02.722053", "rc": 0, "start": "2022-08-03 16:52:02.717977" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.421) 0:00:05.319 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.062) 0:00:05.382 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.059) 0:00:05.442 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.049) 0:00:05.491 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.022) 0:00:05.513 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.020) 0:00:05.533 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.027) 0:00:05.561 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:52:03 +0000 (0:00:00.027) 0:00:05.589 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003914", "end": "2022-08-03 16:52:03.371959", "rc": 0, "start": "2022-08-03 16:52:03.368045" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:52:04 +0000 (0:00:00.383) 0:00:05.972 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:52:04 +0000 (0:00:00.031) 0:00:06.004 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:52:04 +0000 (0:00:00.030) 0:00:06.035 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:52:07 +0000 (0:00:02.572) 0:00:08.607 ****** changed: [/cache/centos-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.006145", "end": "2022-08-03 16:52:06.412899", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:52:06.406754" } changed: [/cache/centos-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.015260", "end": "2022-08-03 16:52:06.803448", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:52:06.788188" } changed: [/cache/centos-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.014745", "end": "2022-08-03 16:52:07.175617", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:52:07.160872" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:52:08 +0000 (0:00:01.164) 0:00:09.772 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022288", "end": "2022-08-03 16:52:07.578578", "rc": 0, "start": "2022-08-03 16:52:07.556290" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.400) 0:00:10.173 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.023) 0:00:10.196 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.021) 0:00:10.218 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.022) 0:00:10.240 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.021) 0:00:10.261 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.022) 0:00:10.283 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.045) 0:00:10.328 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:52:08 +0000 (0:00:00.028) 0:00:10.357 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659545526.4118812, "block_size": 4096, "blocks": 0, "ctime": 1659545526.4118812, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21925, "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": 1659545526.4118812, "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 interface veth0 is present] ********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.387) 0:00:10.744 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.033) 0:00:10.778 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.030) 0:00:10.809 ****** included: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.033) 0:00:10.843 ****** ok: [/cache/centos-8.qcow2] => { "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 services are running] *********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:52:09 +0000 (0:00:00.529) 0:00:11.373 ****** ok: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:52:11 +0000 (0:00:01.908) 0:00:13.282 ****** ok: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:52:13 +0000 (0:00:01.505) 0:00:14.787 ****** ok: [/cache/centos-8.qcow2] => {} 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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:52:13 +0000 (0:00:00.044) 0:00:14.832 ****** skipping: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:52:13 +0000 (0:00:00.039) 0:00:14.872 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:52:13 +0000 (0:00:00.040) 0:00:14.912 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:52:13 +0000 (0:00:00.073) 0:00:14.985 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:52:13 +0000 (0:00:00.040) 0:00:15.026 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:52:13 +0000 (0:00:00.038) 0:00:15.065 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:52:13 +0000 (0:00:00.055) 0:00:15.121 ****** ok: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:52:14 +0000 (0:00:00.805) 0:00:15.926 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:52:14 +0000 (0:00:00.057) 0:00:15.984 ****** skipping: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:52:14 +0000 (0:00:00.035) 0:00:16.020 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:52:14 +0000 (0:00:00.035) 0:00:16.055 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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" }, "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, 4caecc79-37b0-44a5-9527-2816c11d38d1 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4caecc79-37b0-44a5-9527-2816c11d38d1 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:52:15 +0000 (0:00:00.811) 0:00:16.867 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:52:15 +0000 (0:00:00.038) 0:00:16.906 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4caecc79-37b0-44a5-9527-2816c11d38d1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4caecc79-37b0-44a5-9527-2816c11d38d1 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:52:15 +0000 (0:00:00.048) 0:00:16.954 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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" }, "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, 4caecc79-37b0-44a5-9527-2816c11d38d1\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4caecc79-37b0-44a5-9527-2816c11d38d1 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4caecc79-37b0-44a5-9527-2816c11d38d1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4caecc79-37b0-44a5-9527-2816c11d38d1 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:52:15 +0000 (0:00:00.047) 0:00:17.002 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:52:15 +0000 (0:00:00.037) 0:00:17.039 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 16:52:16 +0000 (0:00:00.597) 0:00:17.637 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:52:16 +0000 (0:00:00.073) 0:00:17.710 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:52:16 +0000 (0:00:00.055) 0:00:17.766 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659545526.4118812, "block_size": 4096, "blocks": 0, "ctime": 1659545526.4118812, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21925, "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": 1659545526.4118812, "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 interface veth0 is present] ********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:52:16 +0000 (0:00:00.418) 0:00:18.184 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 16:52:16 +0000 (0:00:00.050) 0:00:18.234 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:52:16 +0000 (0:00:00.075) 0:00:18.310 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:52:16 +0000 (0:00:00.061) 0:00:18.371 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:52:16 +0000 (0:00:00.047) 0:00:18.419 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659545534.246285, "block_size": 4096, "blocks": 8, "ctime": 1659545534.210285, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5763468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545534.210285, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 372, "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: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:52:17 +0000 (0:00:00.406) 0:00:18.825 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:52:17 +0000 (0:00:00.048) 0:00:18.874 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021620", "end": "2022-08-03 16:52:16.681460", "rc": 0, "start": "2022-08-03 16:52:16.659840" } 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: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:52:17 +0000 (0:00:00.413) 0:00:19.287 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:52:17 +0000 (0:00:00.049) 0:00:19.337 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:52:17 +0000 (0:00:00.047) 0:00:19.384 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:52:17 +0000 (0:00:00.046) 0:00:19.431 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:52:17 +0000 (0:00:00.050) 0:00:19.481 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 16:52:18 +0000 (0:00:00.143) 0:00:19.625 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003936", "end": "2022-08-03 16:52:17.410232", "rc": 0, "start": "2022-08-03 16:52:17.406296" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp metric 100 default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 default via 203.0.113.1 dev veth0 proto static metric 101 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 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 present] ************************************ task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 16:52:18 +0000 (0:00:00.392) 0:00:20.017 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 16:52:18 +0000 (0:00:00.044) 0:00:20.062 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003545", "end": "2022-08-03 16:52:17.850734", "rc": 0, "start": "2022-08-03 16:52:17.847189" } 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 fec0::/64 dev eth0 proto kernel metric 256 expires 86229sec pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1629sec hoplimit 64 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 16:52:18 +0000 (0:00:00.394) 0:00:20.456 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 16:52:18 +0000 (0:00:00.050) 0:00:20.506 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:52:18 +0000 (0:00:00.044) 0:00:20.551 ****** included: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:52:19 +0000 (0:00:00.060) 0:00:20.611 ****** ok: [/cache/centos-8.qcow2] => { "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 services are running] *********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:52:19 +0000 (0:00:00.548) 0:00:21.160 ****** ok: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:52:21 +0000 (0:00:01.490) 0:00:22.651 ****** ok: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:52:22 +0000 (0:00:01.138) 0:00:23.790 ****** ok: [/cache/centos-8.qcow2] => {} 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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:52:22 +0000 (0:00:00.046) 0:00:23.836 ****** skipping: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:52:22 +0000 (0:00:00.040) 0:00:23.877 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:52:22 +0000 (0:00:00.037) 0:00:23.915 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:52:22 +0000 (0:00:00.106) 0:00:24.022 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:52:22 +0000 (0:00:00.040) 0:00:24.062 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:52:22 +0000 (0:00:00.040) 0:00:24.103 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:52:22 +0000 (0:00:00.059) 0:00:24.163 ****** ok: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:52:23 +0000 (0:00:00.550) 0:00:24.713 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:52:23 +0000 (0:00:00.055) 0:00:24.769 ****** skipping: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:52:23 +0000 (0:00:00.035) 0:00:24.805 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:52:23 +0000 (0:00:00.035) 0:00:24.840 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:52:23 +0000 (0:00:00.606) 0:00:25.447 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:52:23 +0000 (0:00:00.049) 0:00:25.496 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:52:23 +0000 (0:00:00.049) 0:00:25.545 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:52:23 +0000 (0:00:00.049) 0:00:25.594 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:52:24 +0000 (0:00:00.040) 0:00:25.635 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 16:52:24 +0000 (0:00:00.474) 0:00:26.109 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:52:24 +0000 (0:00:00.081) 0:00:26.191 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:52:24 +0000 (0:00:00.037) 0:00:26.228 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:52:24 +0000 (0:00:00.036) 0:00:26.265 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:52:24 +0000 (0:00:00.059) 0:00:26.325 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:52:24 +0000 (0:00:00.056) 0:00:26.381 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003373", "end": "2022-08-03 16:52:24.173246", "rc": 0, "start": "2022-08-03 16:52:24.169873" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:52:25 +0000 (0:00:00.401) 0:00:26.783 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:52:25 +0000 (0:00:00.047) 0:00:26.830 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:52:25 +0000 (0:00:00.045) 0:00:26.876 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:52:27 +0000 (0:00:02.109) 0:00:28.985 ****** skipping: [/cache/centos-8.qcow2] => (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: [/cache/centos-8.qcow2] => (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: [/cache/centos-8.qcow2] => (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: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:52:27 +0000 (0:00:00.050) 0:00:29.036 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:52:27 +0000 (0:00:00.037) 0:00:29.073 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014599", "end": "2022-08-03 16:52:26.883252", "rc": 0, "start": "2022-08-03 16:52:26.868653" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:52:27 +0000 (0:00:00.421) 0:00:29.494 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:52:27 +0000 (0:00:00.036) 0:00:29.531 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:52:27 +0000 (0:00:00.035) 0:00:29.567 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:52:27 +0000 (0:00:00.033) 0:00:29.600 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 16:52:28 +0000 (0:00:00.071) 0:00:29.672 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 16:52:28 +0000 (0:00:00.046) 0:00:29.718 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:52:28 +0000 (0:00:00.089) 0:00:29.808 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:52:28 +0000 (0:00:00.036) 0:00:29.845 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:52:28 +0000 (0:00:00.035) 0:00:29.880 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:52:28 +0000 (0:00:00.057) 0:00:29.938 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:52:28 +0000 (0:00:00.057) 0:00:29.996 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003136", "end": "2022-08-03 16:52:27.796157", "rc": 0, "start": "2022-08-03 16:52:27.793021" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:52:28 +0000 (0:00:00.409) 0:00:30.405 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:52:28 +0000 (0:00:00.048) 0:00:30.454 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:52:28 +0000 (0:00:00.043) 0:00:30.497 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:52:30 +0000 (0:00:02.037) 0:00:32.534 ****** changed: [/cache/centos-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.004233", "end": "2022-08-03 16:52:30.328691", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:52:30.324458" } changed: [/cache/centos-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.007641", "end": "2022-08-03 16:52:30.710150", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:52:30.702509" } changed: [/cache/centos-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.015678", "end": "2022-08-03 16:52:31.099066", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:52:31.083388" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:52:32 +0000 (0:00:01.178) 0:00:33.713 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022565", "end": "2022-08-03 16:52:31.526266", "rc": 0, "start": "2022-08-03 16:52:31.503701" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:52:32 +0000 (0:00:00.424) 0:00:34.138 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:52:32 +0000 (0:00:00.037) 0:00:34.175 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:52:32 +0000 (0:00:00.035) 0:00:34.211 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:52:32 +0000 (0:00:00.035) 0:00:34.246 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:52:32 +0000 (0:00:00.035) 0:00:34.281 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:52:32 +0000 (0:00:00.036) 0:00:34.318 ****** included: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:52:32 +0000 (0:00:00.091) 0:00:34.410 ****** ok: [/cache/centos-8.qcow2] => { "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 services are running] *********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:52:33 +0000 (0:00:00.560) 0:00:34.970 ****** ok: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:52:34 +0000 (0:00:01.586) 0:00:36.557 ****** ok: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:52:36 +0000 (0:00:01.247) 0:00:37.805 ****** ok: [/cache/centos-8.qcow2] => {} 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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:52:36 +0000 (0:00:00.044) 0:00:37.849 ****** skipping: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:52:36 +0000 (0:00:00.044) 0:00:37.894 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:52:36 +0000 (0:00:00.082) 0:00:37.977 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:52:36 +0000 (0:00:00.072) 0:00:38.050 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:52:36 +0000 (0:00:00.040) 0:00:38.090 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:52:36 +0000 (0:00:00.037) 0:00:38.128 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:52:36 +0000 (0:00:00.058) 0:00:38.187 ****** ok: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:52:37 +0000 (0:00:00.592) 0:00:38.780 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:52:37 +0000 (0:00:00.055) 0:00:38.835 ****** skipping: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:52:37 +0000 (0:00:00.035) 0:00:38.871 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:52:37 +0000 (0:00:00.034) 0:00:38.906 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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, 9cbada83-77b9-4f1f-a5ca-11a526aa312c [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9cbada83-77b9-4f1f-a5ca-11a526aa312c (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:52:37 +0000 (0:00:00.631) 0:00:39.537 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:52:37 +0000 (0:00:00.041) 0:00:39.578 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9cbada83-77b9-4f1f-a5ca-11a526aa312c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9cbada83-77b9-4f1f-a5ca-11a526aa312c (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:52:38 +0000 (0:00:00.053) 0:00:39.632 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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, 9cbada83-77b9-4f1f-a5ca-11a526aa312c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9cbada83-77b9-4f1f-a5ca-11a526aa312c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9cbada83-77b9-4f1f-a5ca-11a526aa312c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9cbada83-77b9-4f1f-a5ca-11a526aa312c (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:52:38 +0000 (0:00:00.158) 0:00:39.790 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:52:38 +0000 (0:00:00.041) 0:00:39.831 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 16:52:38 +0000 (0:00:00.410) 0:00:40.242 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:52:38 +0000 (0:00:00.079) 0:00:40.321 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:52:38 +0000 (0:00:00.054) 0:00:40.375 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659545550.3281343, "block_size": 4096, "blocks": 0, "ctime": 1659545550.3281343, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22181, "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": 1659545550.3281343, "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 interface veth0 is present] ********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:52:39 +0000 (0:00:00.399) 0:00:40.775 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 16:52:39 +0000 (0:00:00.044) 0:00:40.820 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:52:39 +0000 (0:00:00.075) 0:00:40.896 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:52:39 +0000 (0:00:00.055) 0:00:40.951 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:52:39 +0000 (0:00:00.131) 0:00:41.082 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659545556.914285, "block_size": 4096, "blocks": 8, "ctime": 1659545556.877285, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5903072, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545556.877285, "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: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:52:39 +0000 (0:00:00.399) 0:00:41.481 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:52:39 +0000 (0:00:00.048) 0:00:41.530 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021044", "end": "2022-08-03 16:52:39.329713", "rc": 0, "start": "2022-08-03 16:52:39.308669" } 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: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:52:40 +0000 (0:00:00.413) 0:00:41.943 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:52:40 +0000 (0:00:00.049) 0:00:41.992 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:52:40 +0000 (0:00:00.038) 0:00:42.031 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:52:40 +0000 (0:00:00.036) 0:00:42.067 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:52:40 +0000 (0:00:00.045) 0:00:42.113 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 16:52:40 +0000 (0:00:00.049) 0:00:42.163 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004914", "end": "2022-08-03 16:52:39.959217", "rc": 0, "start": "2022-08-03 16:52:39.954303" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp metric 100 default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 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: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 16:52:40 +0000 (0:00:00.408) 0:00:42.572 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 16:52:41 +0000 (0:00:00.045) 0:00:42.617 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003679", "end": "2022-08-03 16:52:40.397885", "rc": 0, "start": "2022-08-03 16:52:40.394206" } 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 fec0::/64 dev eth0 proto kernel metric 256 expires 86207sec pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1607sec hoplimit 64 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 16:52:41 +0000 (0:00:00.429) 0:00:43.047 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 16:52:41 +0000 (0:00:00.046) 0:00:43.094 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:52:41 +0000 (0:00:00.049) 0:00:43.143 ****** included: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:52:41 +0000 (0:00:00.058) 0:00:43.202 ****** ok: [/cache/centos-8.qcow2] => { "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 services are running] *********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:52:42 +0000 (0:00:00.574) 0:00:43.776 ****** ok: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:52:43 +0000 (0:00:01.523) 0:00:45.300 ****** ok: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:52:44 +0000 (0:00:01.247) 0:00:46.548 ****** ok: [/cache/centos-8.qcow2] => {} 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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:52:44 +0000 (0:00:00.046) 0:00:46.595 ****** skipping: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:52:45 +0000 (0:00:00.041) 0:00:46.636 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:52:45 +0000 (0:00:00.039) 0:00:46.675 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:52:45 +0000 (0:00:00.074) 0:00:46.750 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:52:45 +0000 (0:00:00.036) 0:00:46.786 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:52:45 +0000 (0:00:00.038) 0:00:46.825 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:52:45 +0000 (0:00:00.051) 0:00:46.877 ****** ok: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:52:45 +0000 (0:00:00.572) 0:00:47.450 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:52:45 +0000 (0:00:00.053) 0:00:47.503 ****** skipping: [/cache/centos-8.qcow2] => { "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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:52:45 +0000 (0:00:00.034) 0:00:47.538 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:52:45 +0000 (0:00:00.034) 0:00:47.572 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:52:46 +0000 (0:00:00.643) 0:00:48.216 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:52:46 +0000 (0:00:00.046) 0:00:48.262 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:52:46 +0000 (0:00:00.054) 0:00:48.317 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:52:46 +0000 (0:00:00.049) 0:00:48.366 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:52:46 +0000 (0:00:00.037) 0:00:48.404 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 16:52:47 +0000 (0:00:00.407) 0:00:48.811 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:52:47 +0000 (0:00:00.083) 0:00:48.895 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:52:47 +0000 (0:00:00.037) 0:00:48.932 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:52:47 +0000 (0:00:00.036) 0:00:48.968 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:52:47 +0000 (0:00:00.058) 0:00:49.027 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:52:47 +0000 (0:00:00.054) 0:00:49.081 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003423", "end": "2022-08-03 16:52:46.873913", "rc": 0, "start": "2022-08-03 16:52:46.870490" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:52:47 +0000 (0:00:00.398) 0:00:49.479 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:52:47 +0000 (0:00:00.048) 0:00:49.528 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:52:47 +0000 (0:00:00.046) 0:00:49.574 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:52:50 +0000 (0:00:02.069) 0:00:51.644 ****** skipping: [/cache/centos-8.qcow2] => (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: [/cache/centos-8.qcow2] => (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: [/cache/centos-8.qcow2] => (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: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:52:50 +0000 (0:00:00.045) 0:00:51.690 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:52:50 +0000 (0:00:00.035) 0:00:51.725 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013921", "end": "2022-08-03 16:52:49.519276", "rc": 0, "start": "2022-08-03 16:52:49.505355" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:52:50 +0000 (0:00:00.403) 0:00:52.129 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:52:50 +0000 (0:00:00.035) 0:00:52.164 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:52:50 +0000 (0:00:00.071) 0:00:52.236 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:52:50 +0000 (0:00:00.036) 0:00:52.272 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=132 changed=13 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Wednesday 03 August 2022 16:52:50 +0000 (0:00:00.057) 0:00:52.329 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.57s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.11s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.07s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.04s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 1.91s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.59s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.52s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.51s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.49s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.25s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 1.25s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.25s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 1.18s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Create veth interface veth0 --------------------------------------------- 1.16s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 1.14s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 1.12s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmp650e3cfh/tests/tests_auto_gateway_nm.yml:5 ---------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.88s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Configure networking connection profiles --- 0.81s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Enable HA repos --------------------------------------------------------- 0.81s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp650e3cfh/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp650e3cfh/tests/_restore.yml:4 Wednesday 03 August 2022 16:52:50 +0000 (0:00:00.044) 0:00:52.374 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007414", "end": "2022-08-03 16:52:50.158552", "rc": 0, "start": "2022-08-03 16:52:50.151138" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=133 changed=14 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Wednesday 03 August 2022 16:52:51 +0000 (0:00:00.415) 0:00:52.789 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.57s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.11s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.07s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.04s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 1.91s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.59s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.52s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.51s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.49s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.25s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 1.25s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.25s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 1.18s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Create veth interface veth0 --------------------------------------------- 1.16s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 1.14s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 1.12s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmp650e3cfh/tests/tests_auto_gateway_nm.yml:5 ---------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.88s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Configure networking connection profiles --- 0.81s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Enable HA repos --------------------------------------------------------- 0.81s /cache/centos-8_setup.yml:5 --------------------------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp4wbeq7zn executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 03 August 2022 17:31:13 +0000 (0:00:00.018) 0:00:00.018 ****** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.205539", "end": "2022-08-03 17:31:13.308724", "rc": 0, "start": "2022-08-03 17:31:13.103185" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:31:14 +0000 (0:00:00.803) 0:00:00.821 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpjloc5qmw/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpjloc5qmw/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:31:14 +0000 (0:00:00.016) 0:00:00.838 ****** ok: [/cache/centos-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659547872.8900774, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547871.8890772, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19274, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659547587.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2299847606", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:31:15 +0000 (0:00:00.513) 0:00:01.352 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-8.qcow2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 19274, 'dev': 64513, 'nlink': 1, 'atime': 1659547872.8900774, 'mtime': 1659547587.0, 'ctime': 1659547871.8890772, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '2299847606', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659547872.8900774, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547871.8890772, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19274, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659547587.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2299847606", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:31:15 +0000 (0:00:00.074) 0:00:01.426 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004421", "end": "2022-08-03 17:31:14.295326", "rc": 0, "start": "2022-08-03 17:31:14.290905" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=4 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:31:15 +0000 (0:00:00.374) 0:00:01.800 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- Get stats of system files ----------------------------------------------- 0.51s /tmp/tmpjloc5qmw/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.37s /tmp/tmpjloc5qmw/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.07s /tmp/tmpjloc5qmw/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmpjloc5qmw/tests/network/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/tests_auto_gateway_nm.yml:5 Wednesday 03 August 2022 17:31:15 +0000 (0:00:00.070) 0:00:01.870 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tests_auto_gateway_nm.yml:8 Wednesday 03 August 2022 17:31:16 +0000 (0:00:01.034) 0:00:02.905 ****** included: /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml for /cache/centos-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:31:16 +0000 (0:00:00.027) 0:00:02.932 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:31:16 +0000 (0:00:00.023) 0:00:02.956 ****** included: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml for /cache/centos-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:31:16 +0000 (0:00:00.028) 0:00:02.984 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:31:17 +0000 (0:00:00.388) 0:00:03.373 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:31:17 +0000 (0:00:00.022) 0:00:03.395 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.204343", "end": "2022-08-03 17:31:16.472642", "rc": 0, "start": "2022-08-03 17:31:16.268299" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:31:17 +0000 (0:00:00.580) 0:00:03.976 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/tests_auto_gateway_nm.yml:9 Wednesday 03 August 2022 17:31:17 +0000 (0:00:00.021) 0:00:03.997 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 17:31:17 +0000 (0:00:00.045) 0:00:04.043 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.784) 0:00:04.828 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.052) 0:00:04.880 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.030) 0:00:04.911 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003071", "end": "2022-08-03 17:31:17.821120", "rc": 0, "start": "2022-08-03 17:31:17.818049" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.409) 0:00:05.321 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.066) 0:00:05.387 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.032) 0:00:05.419 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.050) 0:00:05.469 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.020) 0:00:05.490 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.022) 0:00:05.512 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.031) 0:00:05.543 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.065) 0:00:05.608 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002941", "end": "2022-08-03 17:31:18.482738", "rc": 0, "start": "2022-08-03 17:31:18.479797" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.375) 0:00:05.984 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.033) 0:00:06.017 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.032) 0:00:06.049 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:31:22 +0000 (0:00:02.676) 0:00:08.726 ****** changed: [/cache/centos-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.005470", "end": "2022-08-03 17:31:21.603804", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 17:31:21.598334" } changed: [/cache/centos-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.005146", "end": "2022-08-03 17:31:21.967798", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 17:31:21.962652" } changed: [/cache/centos-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.016715", "end": "2022-08-03 17:31:22.338073", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 17:31:22.321358" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:31:23 +0000 (0:00:01.122) 0:00:09.848 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.025555", "end": "2022-08-03 17:31:22.754882", "rc": 0, "start": "2022-08-03 17:31:22.729327" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.412) 0:00:10.261 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.023) 0:00:10.285 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.023) 0:00:10.308 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.021) 0:00:10.330 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.023) 0:00:10.354 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.022) 0:00:10.376 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.048) 0:00:10.424 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.029) 0:00:10.454 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547881.602844, "block_size": 4096, "blocks": 0, "ctime": 1659547881.602844, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21925, "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": 1659547881.602844, "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 interface veth0 is present] ********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.397) 0:00:10.851 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.033) 0:00:10.885 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.032) 0:00:10.917 ****** included: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.034) 0:00:10.952 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:31:25 +0000 (0:00:00.540) 0:00:11.493 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:31:26 +0000 (0:00:01.668) 0:00:13.162 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:31:28 +0000 (0:00:01.430) 0:00:14.592 ****** ok: [/cache/centos-8.qcow2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:31:28 +0000 (0:00:00.107) 0:00:14.699 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:31:28 +0000 (0:00:00.038) 0:00:14.738 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:31:28 +0000 (0:00:00.035) 0:00:14.773 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:31:28 +0000 (0:00:00.070) 0:00:14.843 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:31:28 +0000 (0:00:00.036) 0:00:14.880 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:31:28 +0000 (0:00:00.037) 0:00:14.917 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:31:28 +0000 (0:00:00.051) 0:00:14.968 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.810) 0:00:15.779 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.053) 0:00:15.832 ****** skipping: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.034) 0:00:15.867 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.034) 0:00:15.901 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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" }, "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, 69efa54b-2bc1-4260-9e77-a35846ceff2e [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 69efa54b-2bc1-4260-9e77-a35846ceff2e (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:31:30 +0000 (0:00:00.804) 0:00:16.706 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:31:30 +0000 (0:00:00.039) 0:00:16.745 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 69efa54b-2bc1-4260-9e77-a35846ceff2e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 69efa54b-2bc1-4260-9e77-a35846ceff2e (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:31:30 +0000 (0:00:00.049) 0:00:16.795 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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" }, "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, 69efa54b-2bc1-4260-9e77-a35846ceff2e\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 69efa54b-2bc1-4260-9e77-a35846ceff2e (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 69efa54b-2bc1-4260-9e77-a35846ceff2e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 69efa54b-2bc1-4260-9e77-a35846ceff2e (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:31:30 +0000 (0:00:00.047) 0:00:16.842 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:31:30 +0000 (0:00:00.040) 0:00:16.883 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 17:31:31 +0000 (0:00:00.509) 0:00:17.392 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:31:31 +0000 (0:00:00.074) 0:00:17.467 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:31:31 +0000 (0:00:00.054) 0:00:17.521 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547881.602844, "block_size": 4096, "blocks": 0, "ctime": 1659547881.602844, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21925, "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": 1659547881.602844, "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 interface veth0 is present] ********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:31:31 +0000 (0:00:00.397) 0:00:17.918 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 17:31:31 +0000 (0:00:00.048) 0:00:17.967 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:31:31 +0000 (0:00:00.108) 0:00:18.075 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:31:31 +0000 (0:00:00.060) 0:00:18.136 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:31:31 +0000 (0:00:00.053) 0:00:18.190 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547889.1810772, "block_size": 4096, "blocks": 8, "ctime": 1659547889.1430774, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5763468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547889.1430774, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 372, "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: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.397) 0:00:18.588 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.048) 0:00:18.636 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020942", "end": "2022-08-03 17:31:31.534441", "rc": 0, "start": "2022-08-03 17:31:31.513499" } 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: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.415) 0:00:19.051 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.047) 0:00:19.098 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.036) 0:00:19.135 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.049) 0:00:19.184 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:31:33 +0000 (0:00:00.053) 0:00:19.238 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 17:31:33 +0000 (0:00:00.048) 0:00:19.287 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004135", "end": "2022-08-03 17:31:32.160397", "rc": 0, "start": "2022-08-03 17:31:32.156262" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp metric 100 default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 default via 203.0.113.1 dev veth0 proto static metric 101 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 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 present] ************************************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 17:31:33 +0000 (0:00:00.446) 0:00:19.733 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 17:31:33 +0000 (0:00:00.048) 0:00:19.782 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003559", "end": "2022-08-03 17:31:32.660675", "rc": 0, "start": "2022-08-03 17:31:32.657116" } 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 fec0::/64 dev eth0 proto kernel metric 256 expires 86342sec pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1742sec hoplimit 64 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 17:31:33 +0000 (0:00:00.392) 0:00:20.174 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 17:31:34 +0000 (0:00:00.050) 0:00:20.225 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:31:34 +0000 (0:00:00.045) 0:00:20.270 ****** included: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:31:34 +0000 (0:00:00.062) 0:00:20.333 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:31:34 +0000 (0:00:00.599) 0:00:20.932 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:31:36 +0000 (0:00:01.569) 0:00:22.501 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:31:37 +0000 (0:00:01.133) 0:00:23.635 ****** ok: [/cache/centos-8.qcow2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:31:37 +0000 (0:00:00.051) 0:00:23.686 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:31:37 +0000 (0:00:00.040) 0:00:23.727 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:31:37 +0000 (0:00:00.038) 0:00:23.766 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:31:37 +0000 (0:00:00.072) 0:00:23.838 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:31:37 +0000 (0:00:00.040) 0:00:23.879 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:31:37 +0000 (0:00:00.040) 0:00:23.919 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:31:37 +0000 (0:00:00.054) 0:00:23.974 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:31:38 +0000 (0:00:00.571) 0:00:24.546 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:31:38 +0000 (0:00:00.055) 0:00:24.601 ****** skipping: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:31:38 +0000 (0:00:00.034) 0:00:24.635 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:31:38 +0000 (0:00:00.031) 0:00:24.667 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:31:39 +0000 (0:00:00.637) 0:00:25.305 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:31:39 +0000 (0:00:00.042) 0:00:25.347 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:31:39 +0000 (0:00:00.055) 0:00:25.402 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:31:39 +0000 (0:00:00.046) 0:00:25.449 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:31:39 +0000 (0:00:00.038) 0:00:25.487 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 17:31:39 +0000 (0:00:00.404) 0:00:25.892 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:31:39 +0000 (0:00:00.117) 0:00:26.010 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:31:39 +0000 (0:00:00.033) 0:00:26.043 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:31:39 +0000 (0:00:00.034) 0:00:26.078 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:31:39 +0000 (0:00:00.057) 0:00:26.135 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:31:39 +0000 (0:00:00.058) 0:00:26.194 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003200", "end": "2022-08-03 17:31:39.067079", "rc": 0, "start": "2022-08-03 17:31:39.063879" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:31:40 +0000 (0:00:00.392) 0:00:26.586 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:31:40 +0000 (0:00:00.042) 0:00:26.629 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:31:40 +0000 (0:00:00.043) 0:00:26.673 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:31:42 +0000 (0:00:02.164) 0:00:28.837 ****** skipping: [/cache/centos-8.qcow2] => (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: [/cache/centos-8.qcow2] => (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: [/cache/centos-8.qcow2] => (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: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:31:42 +0000 (0:00:00.048) 0:00:28.886 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:31:42 +0000 (0:00:00.035) 0:00:28.921 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013445", "end": "2022-08-03 17:31:41.817079", "rc": 0, "start": "2022-08-03 17:31:41.803634" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.416) 0:00:29.337 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.037) 0:00:29.374 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.036) 0:00:29.411 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.037) 0:00:29.449 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.033) 0:00:29.482 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.044) 0:00:29.527 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.080) 0:00:29.607 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.033) 0:00:29.640 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.083) 0:00:29.724 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.059) 0:00:29.784 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.054) 0:00:29.838 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004463", "end": "2022-08-03 17:31:42.720370", "rc": 0, "start": "2022-08-03 17:31:42.715907" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:31:44 +0000 (0:00:00.400) 0:00:30.238 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:31:44 +0000 (0:00:00.045) 0:00:30.284 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:31:44 +0000 (0:00:00.046) 0:00:30.330 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:31:46 +0000 (0:00:01.977) 0:00:32.308 ****** changed: [/cache/centos-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.006515", "end": "2022-08-03 17:31:45.195154", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 17:31:45.188639" } changed: [/cache/centos-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.011379", "end": "2022-08-03 17:31:45.559050", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 17:31:45.547671" } changed: [/cache/centos-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.008495", "end": "2022-08-03 17:31:45.978188", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 17:31:45.969693" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:31:47 +0000 (0:00:01.192) 0:00:33.500 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022607", "end": "2022-08-03 17:31:46.438410", "rc": 0, "start": "2022-08-03 17:31:46.415803" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.454) 0:00:33.954 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.034) 0:00:33.989 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.034) 0:00:34.023 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.037) 0:00:34.061 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.035) 0:00:34.096 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.035) 0:00:34.131 ****** included: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.062) 0:00:34.193 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:31:48 +0000 (0:00:00.550) 0:00:34.744 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:31:50 +0000 (0:00:01.530) 0:00:36.274 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:31:51 +0000 (0:00:01.163) 0:00:37.438 ****** ok: [/cache/centos-8.qcow2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:31:51 +0000 (0:00:00.051) 0:00:37.490 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:31:51 +0000 (0:00:00.039) 0:00:37.529 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:31:51 +0000 (0:00:00.047) 0:00:37.576 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:31:51 +0000 (0:00:00.075) 0:00:37.652 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:31:51 +0000 (0:00:00.045) 0:00:37.697 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:31:51 +0000 (0:00:00.087) 0:00:37.785 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:31:51 +0000 (0:00:00.059) 0:00:37.844 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:31:52 +0000 (0:00:00.566) 0:00:38.410 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:31:52 +0000 (0:00:00.055) 0:00:38.466 ****** skipping: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:31:52 +0000 (0:00:00.035) 0:00:38.501 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:31:52 +0000 (0:00:00.033) 0:00:38.534 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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, 17563505-b64f-458b-88b6-4ca8d01f73ee [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 17563505-b64f-458b-88b6-4ca8d01f73ee (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:31:52 +0000 (0:00:00.581) 0:00:39.116 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:31:52 +0000 (0:00:00.040) 0:00:39.156 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 17563505-b64f-458b-88b6-4ca8d01f73ee", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 17563505-b64f-458b-88b6-4ca8d01f73ee (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:31:53 +0000 (0:00:00.051) 0:00:39.208 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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, 17563505-b64f-458b-88b6-4ca8d01f73ee\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 17563505-b64f-458b-88b6-4ca8d01f73ee (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 17563505-b64f-458b-88b6-4ca8d01f73ee", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 17563505-b64f-458b-88b6-4ca8d01f73ee (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:31:53 +0000 (0:00:00.048) 0:00:39.256 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:31:53 +0000 (0:00:00.044) 0:00:39.301 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 17:31:53 +0000 (0:00:00.450) 0:00:39.751 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:31:53 +0000 (0:00:00.079) 0:00:39.830 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:31:53 +0000 (0:00:00.053) 0:00:39.883 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547905.1921024, "block_size": 4096, "blocks": 0, "ctime": 1659547905.1921024, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22181, "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": 1659547905.1921024, "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 interface veth0 is present] ********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:31:54 +0000 (0:00:00.380) 0:00:40.263 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 17:31:54 +0000 (0:00:00.048) 0:00:40.312 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:31:54 +0000 (0:00:00.080) 0:00:40.393 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:31:54 +0000 (0:00:00.056) 0:00:40.449 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:31:54 +0000 (0:00:00.045) 0:00:40.494 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547911.5850773, "block_size": 4096, "blocks": 8, "ctime": 1659547911.5550773, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5903071, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547911.5550773, "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: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:31:54 +0000 (0:00:00.386) 0:00:40.881 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:31:54 +0000 (0:00:00.124) 0:00:41.006 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.019036", "end": "2022-08-03 17:31:53.898452", "rc": 0, "start": "2022-08-03 17:31:53.879416" } 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: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:31:55 +0000 (0:00:00.422) 0:00:41.429 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:31:55 +0000 (0:00:00.052) 0:00:41.481 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:31:55 +0000 (0:00:00.040) 0:00:41.521 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:31:55 +0000 (0:00:00.038) 0:00:41.559 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:31:55 +0000 (0:00:00.053) 0:00:41.613 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 17:31:55 +0000 (0:00:00.049) 0:00:41.662 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.006543", "end": "2022-08-03 17:31:54.560569", "rc": 0, "start": "2022-08-03 17:31:54.554026" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp metric 100 default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 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: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 17:31:55 +0000 (0:00:00.415) 0:00:42.077 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 17:31:55 +0000 (0:00:00.050) 0:00:42.128 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003576", "end": "2022-08-03 17:31:55.004996", "rc": 0, "start": "2022-08-03 17:31:55.001420" } 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 fec0::/64 dev eth0 proto kernel metric 256 expires 86320sec pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1720sec hoplimit 64 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 17:31:56 +0000 (0:00:00.394) 0:00:42.522 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 17:31:56 +0000 (0:00:00.052) 0:00:42.575 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:31:56 +0000 (0:00:00.048) 0:00:42.623 ****** included: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:31:56 +0000 (0:00:00.108) 0:00:42.732 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.561) 0:00:43.294 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:31:58 +0000 (0:00:01.512) 0:00:44.806 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:31:59 +0000 (0:00:01.143) 0:00:45.950 ****** ok: [/cache/centos-8.qcow2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:31:59 +0000 (0:00:00.049) 0:00:45.999 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:31:59 +0000 (0:00:00.044) 0:00:46.044 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:31:59 +0000 (0:00:00.078) 0:00:46.123 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:31:59 +0000 (0:00:00.076) 0:00:46.199 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:32:00 +0000 (0:00:00.042) 0:00:46.241 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:32:00 +0000 (0:00:00.038) 0:00:46.280 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:32:00 +0000 (0:00:00.053) 0:00:46.334 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:32:00 +0000 (0:00:00.558) 0:00:46.892 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:32:00 +0000 (0:00:00.056) 0:00:46.948 ****** skipping: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:32:00 +0000 (0:00:00.034) 0:00:46.983 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:32:00 +0000 (0:00:00.035) 0:00:47.019 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:32:01 +0000 (0:00:00.636) 0:00:47.655 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:32:01 +0000 (0:00:00.046) 0:00:47.702 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:32:01 +0000 (0:00:00.053) 0:00:47.755 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:32:01 +0000 (0:00:00.050) 0:00:47.805 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:32:01 +0000 (0:00:00.108) 0:00:47.913 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 17:32:02 +0000 (0:00:00.411) 0:00:48.325 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:32:02 +0000 (0:00:00.084) 0:00:48.409 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:32:02 +0000 (0:00:00.035) 0:00:48.444 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:32:02 +0000 (0:00:00.037) 0:00:48.482 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:32:02 +0000 (0:00:00.054) 0:00:48.537 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:32:02 +0000 (0:00:00.055) 0:00:48.592 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003234", "end": "2022-08-03 17:32:01.477042", "rc": 0, "start": "2022-08-03 17:32:01.473808" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:32:02 +0000 (0:00:00.400) 0:00:48.993 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:32:02 +0000 (0:00:00.045) 0:00:49.038 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:32:02 +0000 (0:00:00.051) 0:00:49.090 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:32:05 +0000 (0:00:02.153) 0:00:51.243 ****** skipping: [/cache/centos-8.qcow2] => (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: [/cache/centos-8.qcow2] => (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: [/cache/centos-8.qcow2] => (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: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:32:05 +0000 (0:00:00.067) 0:00:51.311 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:32:05 +0000 (0:00:00.038) 0:00:51.349 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.018085", "end": "2022-08-03 17:32:04.257668", "rc": 0, "start": "2022-08-03 17:32:04.239583" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:32:05 +0000 (0:00:00.428) 0:00:51.777 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:32:05 +0000 (0:00:00.036) 0:00:51.814 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:32:05 +0000 (0:00:00.034) 0:00:51.849 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:32:05 +0000 (0:00:00.039) 0:00:51.888 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=132 changed=13 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Wednesday 03 August 2022 17:32:05 +0000 (0:00:00.063) 0:00:51.952 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.68s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 2.16s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 2.15s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.98s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.27s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Create veth interface veth0 --------------------------------------------- 1.19s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.14s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.13s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.13s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Create veth interface veth0 --------------------------------------------- 1.12s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpjloc5qmw/tests/network/tests_auto_gateway_nm.yml:5 -------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.82s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.81s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.80s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpjloc5qmw/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:32:05 +0000 (0:00:00.092) 0:00:52.044 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006426", "end": "2022-08-03 17:32:04.917933", "rc": 0, "start": "2022-08-03 17:32:04.911507" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=133 changed=14 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Wednesday 03 August 2022 17:32:06 +0000 (0:00:00.410) 0:00:52.454 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.68s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 2.16s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 2.15s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.98s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.27s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Create veth interface veth0 --------------------------------------------- 1.19s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.14s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.13s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.13s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Create veth interface veth0 --------------------------------------------- 1.12s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpjloc5qmw/tests/network/tests_auto_gateway_nm.yml:5 -------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.82s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.81s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.80s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106