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/tmpy4hq2u0g 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: _backup.yml ********************************************************** 1 plays in /tmp/tmp088uft4w/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp088uft4w/tests/_backup.yml:6 Wednesday 03 August 2022 17:16:17 +0000 (0:00:00.019) 0:00:00.019 ****** ok: [/cache/rhel-8-y.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659546977.33907, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546976.3380702, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25166460, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546726.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3756759269", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp088uft4w/tests/_backup.yml:13 Wednesday 03 August 2022 17:16:17 +0000 (0:00:00.612) 0:00:00.631 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8-y.qcow2.snap] => (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': 25166460, 'dev': 64515, 'nlink': 1, 'atime': 1659546977.33907, 'mtime': 1659546726.0, 'ctime': 1659546976.3380702, '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': '3756759269', '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'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/libexec/platform-python'}, '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_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "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": 1659546977.33907, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546976.3380702, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25166460, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546726.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3756759269", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp088uft4w/tests/_backup.yml:19 Wednesday 03 August 2022 17:16:17 +0000 (0:00:00.035) 0:00:00.667 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004808", "end": "2022-08-03 13:16:18.158729", "rc": 0, "start": "2022-08-03 13:16:18.153921" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:16:18 +0000 (0:00:00.509) 0:00:01.176 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.61s /tmp/tmp088uft4w/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.51s /tmp/tmp088uft4w/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp088uft4w/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmp088uft4w/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/tests_auto_gateway_nm.yml:5 Wednesday 03 August 2022 17:16:18 +0000 (0:00:00.075) 0:00:01.252 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/tests_auto_gateway_nm.yml:8 Wednesday 03 August 2022 17:16:19 +0000 (0:00:01.107) 0:00:02.360 ****** included: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml for /cache/rhel-8-y.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.027) 0:00:02.388 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.020) 0:00:02.408 ****** included: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml for /cache/rhel-8-y.qcow2.snap TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.027) 0:00:02.436 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:16:20 +0000 (0:00:00.365) 0:00:02.802 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:16:20 +0000 (0:00:00.022) 0:00:02.824 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.623358", "end": "2022-08-03 13:16:20.814258", "rc": 0, "start": "2022-08-03 13:16:20.190900" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:16:21 +0000 (0:00:00.999) 0:00:03.824 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp088uft4w/tests/tests_auto_gateway_nm.yml:9 Wednesday 03 August 2022 17:16:21 +0000 (0:00:00.021) 0:00:03.845 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 17:16:21 +0000 (0:00:00.048) 0:00:03.894 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.860) 0:00:04.754 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.055) 0:00:04.810 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.033) 0:00:04.843 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003902", "end": "2022-08-03 13:16:22.222241", "rc": 0, "start": "2022-08-03 13:16:22.218339" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.387) 0:00:05.231 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.033) 0:00:05.264 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.031) 0:00:05.296 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.053) 0:00:05.349 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.022) 0:00:05.371 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.022) 0:00:05.394 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.032) 0:00:05.426 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.066) 0:00:05.493 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003452", "end": "2022-08-03 13:16:22.860717", "rc": 0, "start": "2022-08-03 13:16:22.857265" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.374) 0:00:05.868 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.033) 0:00:05.901 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.034) 0:00:05.936 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:16:25 +0000 (0:00:01.853) 0:00:07.789 ****** changed: [/cache/rhel-8-y.qcow2.snap] => (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.008704", "end": "2022-08-03 13:16:25.176248", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 13:16:25.167544" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.008322", "end": "2022-08-03 13:16:25.543146", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 13:16:25.534824" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.008515", "end": "2022-08-03 13:16:25.913459", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 13:16:25.904944" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:16:26 +0000 (0:00:01.134) 0:00:08.923 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022780", "end": "2022-08-03 13:16:26.330458", "rc": 0, "start": "2022-08-03 13:16:26.307678" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:16:26 +0000 (0:00:00.416) 0:00:09.340 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:16:26 +0000 (0:00:00.022) 0:00:09.363 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:16:26 +0000 (0:00:00.021) 0:00:09.384 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:16:26 +0000 (0:00:00.021) 0:00:09.405 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:16:26 +0000 (0:00:00.023) 0:00:09.428 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 17:16:26 +0000 (0:00:00.020) 0:00:09.449 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:16:26 +0000 (0:00:00.051) 0:00:09.500 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:16:26 +0000 (0:00:00.030) 0:00:09.531 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546985.1715753, "block_size": 4096, "blocks": 0, "ctime": 1659546985.1715753, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23746, "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": 1659546985.1715753, "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/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.375) 0:00:09.906 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.034) 0:00:09.941 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.033) 0:00:09.974 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.035) 0:00:10.009 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.535) 0:00:10.546 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:16:29 +0000 (0:00:01.852) 0:00:12.399 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:16:31 +0000 (0:00:01.491) 0:00:13.890 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.048) 0:00:13.939 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.040) 0:00:13.980 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.039) 0:00:14.020 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.073) 0:00:14.093 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.040) 0:00:14.134 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.038) 0:00:14.172 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.051) 0:00:14.224 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.832) 0:00:15.057 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.057) 0:00:15.114 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.038) 0:00:15.152 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.036) 0:00:15.189 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "_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, 6d4354ac-e095-4630-98bf-46c79c9a547b [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6d4354ac-e095-4630-98bf-46c79c9a547b (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.864) 0:00:16.053 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.042) 0:00:16.096 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 6d4354ac-e095-4630-98bf-46c79c9a547b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6d4354ac-e095-4630-98bf-46c79c9a547b (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.048) 0:00:16.144 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__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, 6d4354ac-e095-4630-98bf-46c79c9a547b\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6d4354ac-e095-4630-98bf-46c79c9a547b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 6d4354ac-e095-4630-98bf-46c79c9a547b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6d4354ac-e095-4630-98bf-46c79c9a547b (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.051) 0:00:16.195 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.037) 0:00:16.233 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 17:16:34 +0000 (0:00:00.571) 0:00:16.805 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:16:34 +0000 (0:00:00.075) 0:00:16.880 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:16:34 +0000 (0:00:00.057) 0:00:16.937 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546985.1715753, "block_size": 4096, "blocks": 0, "ctime": 1659546985.1715753, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23746, "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": 1659546985.1715753, "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/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:16:34 +0000 (0:00:00.439) 0:00:17.376 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 17:16:34 +0000 (0:00:00.051) 0:00:17.428 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:16:34 +0000 (0:00:00.077) 0:00:17.505 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:16:34 +0000 (0:00:00.058) 0:00:17.564 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:16:34 +0000 (0:00:00.045) 0:00:17.610 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546993.0190701, "block_size": 4096, "blocks": 8, "ctime": 1659546992.9820702, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2742, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546992.9820702, "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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:16:35 +0000 (0:00:00.397) 0:00:18.008 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:16:35 +0000 (0:00:00.055) 0:00:18.063 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021768", "end": "2022-08-03 13:16:35.471001", "rc": 0, "start": "2022-08-03 13:16:35.449233" } 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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:16:35 +0000 (0:00:00.437) 0:00:18.501 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:16:35 +0000 (0:00:00.049) 0:00:18.551 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:16:35 +0000 (0:00:00.085) 0:00:18.636 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:16:35 +0000 (0:00:00.039) 0:00:18.675 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:16:36 +0000 (0:00:00.047) 0:00:18.723 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 17:16:36 +0000 (0:00:00.052) 0:00:18.776 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004427", "end": "2022-08-03 13:16:36.160024", "rc": 0, "start": "2022-08-03 13:16:36.155597" } STDOUT: 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/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 17:16:36 +0000 (0:00:00.408) 0:00:19.184 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 17:16:36 +0000 (0:00:00.051) 0:00:19.235 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004654", "end": "2022-08-03 13:16:36.615620", "rc": 0, "start": "2022-08-03 13:16:36.610966" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium fec0::/64 dev eth0 proto ra metric 100 pref medium default via fe80::2 dev eth0 proto ra metric 100 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 17:16:36 +0000 (0:00:00.404) 0:00:19.639 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 17:16:36 +0000 (0:00:00.061) 0:00:19.701 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:16:37 +0000 (0:00:00.051) 0:00:19.752 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:16:37 +0000 (0:00:00.063) 0:00:19.815 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:16:37 +0000 (0:00:00.558) 0:00:20.374 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:16:39 +0000 (0:00:01.717) 0:00:22.091 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:16:40 +0000 (0:00:01.202) 0:00:23.294 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:16:40 +0000 (0:00:00.050) 0:00:23.344 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:16:40 +0000 (0:00:00.074) 0:00:23.418 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:16:40 +0000 (0:00:00.053) 0:00:23.471 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:16:40 +0000 (0:00:00.080) 0:00:23.552 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:16:40 +0000 (0:00:00.043) 0:00:23.595 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:16:40 +0000 (0:00:00.040) 0:00:23.636 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:16:40 +0000 (0:00:00.056) 0:00:23.693 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:16:41 +0000 (0:00:00.572) 0:00:24.266 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:16:41 +0000 (0:00:00.061) 0:00:24.327 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:16:41 +0000 (0:00:00.042) 0:00:24.369 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:16:41 +0000 (0:00:00.045) 0:00:24.415 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "_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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:16:42 +0000 (0:00:00.629) 0:00:25.044 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:16:42 +0000 (0:00:00.097) 0:00:25.141 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:16:42 +0000 (0:00:00.049) 0:00:25.191 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:16:42 +0000 (0:00:00.052) 0:00:25.244 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:16:42 +0000 (0:00:00.042) 0:00:25.286 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 17:16:42 +0000 (0:00:00.410) 0:00:25.697 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:16:43 +0000 (0:00:00.082) 0:00:25.779 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:16:43 +0000 (0:00:00.036) 0:00:25.815 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:16:43 +0000 (0:00:00.036) 0:00:25.852 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:16:43 +0000 (0:00:00.060) 0:00:25.913 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:16:43 +0000 (0:00:00.061) 0:00:25.974 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004237", "end": "2022-08-03 13:16:43.369915", "rc": 0, "start": "2022-08-03 13:16:43.365678" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:16:43 +0000 (0:00:00.417) 0:00:26.391 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:16:43 +0000 (0:00:00.048) 0:00:26.440 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:16:43 +0000 (0:00:00.049) 0:00:26.490 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:16:45 +0000 (0:00:01.568) 0:00:28.059 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (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/rhel-8-y.qcow2.snap] => (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/rhel-8-y.qcow2.snap] => (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/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:16:45 +0000 (0:00:00.051) 0:00:28.110 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:16:45 +0000 (0:00:00.039) 0:00:28.149 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014629", "end": "2022-08-03 13:16:45.556870", "rc": 0, "start": "2022-08-03 13:16:45.542241" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:16:45 +0000 (0:00:00.436) 0:00:28.586 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:16:45 +0000 (0:00:00.114) 0:00:28.701 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:16:46 +0000 (0:00:00.041) 0:00:28.742 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:16:46 +0000 (0:00:00.038) 0:00:28.781 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 17:16:46 +0000 (0:00:00.037) 0:00:28.819 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 17:16:46 +0000 (0:00:00.049) 0:00:28.868 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:16:46 +0000 (0:00:00.081) 0:00:28.949 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:16:46 +0000 (0:00:00.036) 0:00:28.985 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:16:46 +0000 (0:00:00.043) 0:00:29.028 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:16:46 +0000 (0:00:00.061) 0:00:29.090 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:16:46 +0000 (0:00:00.057) 0:00:29.148 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003629", "end": "2022-08-03 13:16:46.541027", "rc": 0, "start": "2022-08-03 13:16:46.537398" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:16:46 +0000 (0:00:00.418) 0:00:29.567 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:16:47 +0000 (0:00:00.159) 0:00:29.726 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:16:47 +0000 (0:00:00.047) 0:00:29.774 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:16:48 +0000 (0:00:01.567) 0:00:31.342 ****** changed: [/cache/rhel-8-y.qcow2.snap] => (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.004886", "end": "2022-08-03 13:16:48.728032", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 13:16:48.723146" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.024326", "end": "2022-08-03 13:16:49.117308", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 13:16:49.092982" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.006201", "end": "2022-08-03 13:16:49.485498", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 13:16:49.479297" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:16:49 +0000 (0:00:01.170) 0:00:32.512 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020098", "end": "2022-08-03 13:16:49.912245", "rc": 0, "start": "2022-08-03 13:16:49.892147" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:16:50 +0000 (0:00:00.423) 0:00:32.936 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:16:50 +0000 (0:00:00.037) 0:00:32.973 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:16:50 +0000 (0:00:00.073) 0:00:33.047 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:16:50 +0000 (0:00:00.038) 0:00:33.086 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:16:50 +0000 (0:00:00.036) 0:00:33.123 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:16:50 +0000 (0:00:00.035) 0:00:33.158 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:16:50 +0000 (0:00:00.061) 0:00:33.219 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:16:51 +0000 (0:00:00.549) 0:00:33.769 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:16:52 +0000 (0:00:01.749) 0:00:35.518 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:16:53 +0000 (0:00:01.195) 0:00:36.714 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:16:54 +0000 (0:00:00.045) 0:00:36.760 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:16:54 +0000 (0:00:00.038) 0:00:36.799 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:16:54 +0000 (0:00:00.041) 0:00:36.840 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:16:54 +0000 (0:00:00.076) 0:00:36.917 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:16:54 +0000 (0:00:00.043) 0:00:36.960 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:16:54 +0000 (0:00:00.043) 0:00:37.003 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:16:54 +0000 (0:00:00.104) 0:00:37.108 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:16:54 +0000 (0:00:00.579) 0:00:37.687 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:16:55 +0000 (0:00:00.057) 0:00:37.745 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:16:55 +0000 (0:00:00.038) 0:00:37.784 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:16:55 +0000 (0:00:00.036) 0:00:37.820 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "_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, 85316ac1-5852-46d7-8d82-bca7cec07570 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 85316ac1-5852-46d7-8d82-bca7cec07570 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:16:55 +0000 (0:00:00.609) 0:00:38.430 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:16:55 +0000 (0:00:00.041) 0:00:38.472 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 85316ac1-5852-46d7-8d82-bca7cec07570", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 85316ac1-5852-46d7-8d82-bca7cec07570 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:16:55 +0000 (0:00:00.047) 0:00:38.519 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__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, 85316ac1-5852-46d7-8d82-bca7cec07570\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 85316ac1-5852-46d7-8d82-bca7cec07570 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 85316ac1-5852-46d7-8d82-bca7cec07570", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 85316ac1-5852-46d7-8d82-bca7cec07570 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:16:55 +0000 (0:00:00.050) 0:00:38.570 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:16:55 +0000 (0:00:00.043) 0:00:38.613 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 17:16:56 +0000 (0:00:00.406) 0:00:39.020 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:16:56 +0000 (0:00:00.082) 0:00:39.103 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:16:56 +0000 (0:00:00.058) 0:00:39.161 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547008.72723, "block_size": 4096, "blocks": 0, "ctime": 1659547008.72723, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24002, "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": 1659547008.72723, "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/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:16:56 +0000 (0:00:00.389) 0:00:39.550 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 17:16:56 +0000 (0:00:00.050) 0:00:39.600 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:16:56 +0000 (0:00:00.089) 0:00:39.690 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:16:57 +0000 (0:00:00.064) 0:00:39.754 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:16:57 +0000 (0:00:00.049) 0:00:39.804 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547015.3940701, "block_size": 4096, "blocks": 8, "ctime": 1659547015.3560703, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2742, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547015.3560703, "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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:16:57 +0000 (0:00:00.433) 0:00:40.237 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:16:57 +0000 (0:00:00.044) 0:00:40.282 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.018378", "end": "2022-08-03 13:16:57.654579", "rc": 0, "start": "2022-08-03 13:16:57.636201" } 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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:16:57 +0000 (0:00:00.392) 0:00:40.675 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:16:58 +0000 (0:00:00.050) 0:00:40.725 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:16:58 +0000 (0:00:00.041) 0:00:40.766 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:16:58 +0000 (0:00:00.039) 0:00:40.805 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:16:58 +0000 (0:00:00.051) 0:00:40.857 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 17:16:58 +0000 (0:00:00.050) 0:00:40.907 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004838", "end": "2022-08-03 13:16:58.291527", "rc": 0, "start": "2022-08-03 13:16:58.286689" } STDOUT: 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/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 17:16:58 +0000 (0:00:00.416) 0:00:41.324 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 17:16:58 +0000 (0:00:00.051) 0:00:41.375 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003866", "end": "2022-08-03 13:16:58.754642", "rc": 0, "start": "2022-08-03 13:16:58.750776" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium fec0::/64 dev eth0 proto ra metric 100 pref medium default via fe80::2 dev eth0 proto ra metric 100 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 17:16:59 +0000 (0:00:00.442) 0:00:41.818 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 17:16:59 +0000 (0:00:00.048) 0:00:41.867 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:16:59 +0000 (0:00:00.046) 0:00:41.914 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:16:59 +0000 (0:00:00.061) 0:00:41.975 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:16:59 +0000 (0:00:00.551) 0:00:42.526 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:17:01 +0000 (0:00:01.754) 0:00:44.281 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:17:02 +0000 (0:00:01.272) 0:00:45.554 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:17:02 +0000 (0:00:00.049) 0:00:45.603 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:17:02 +0000 (0:00:00.045) 0:00:45.649 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:17:02 +0000 (0:00:00.042) 0:00:45.692 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:17:03 +0000 (0:00:00.078) 0:00:45.771 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:17:03 +0000 (0:00:00.040) 0:00:45.811 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:17:03 +0000 (0:00:00.041) 0:00:45.852 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:17:03 +0000 (0:00:00.055) 0:00:45.908 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:17:03 +0000 (0:00:00.585) 0:00:46.493 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:17:03 +0000 (0:00:00.055) 0:00:46.548 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:17:03 +0000 (0:00:00.033) 0:00:46.582 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:17:03 +0000 (0:00:00.034) 0:00:46.617 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "_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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:17:04 +0000 (0:00:00.682) 0:00:47.299 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:17:04 +0000 (0:00:00.044) 0:00:47.343 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:17:04 +0000 (0:00:00.050) 0:00:47.393 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:17:04 +0000 (0:00:00.050) 0:00:47.444 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:17:04 +0000 (0:00:00.044) 0:00:47.488 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 17:17:05 +0000 (0:00:00.421) 0:00:47.910 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:17:05 +0000 (0:00:00.088) 0:00:47.998 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:17:05 +0000 (0:00:00.037) 0:00:48.036 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:17:05 +0000 (0:00:00.037) 0:00:48.073 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:17:05 +0000 (0:00:00.106) 0:00:48.179 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:17:05 +0000 (0:00:00.065) 0:00:48.245 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004042", "end": "2022-08-03 13:17:05.630437", "rc": 0, "start": "2022-08-03 13:17:05.626395" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:17:05 +0000 (0:00:00.413) 0:00:48.659 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:17:05 +0000 (0:00:00.053) 0:00:48.712 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:17:06 +0000 (0:00:00.050) 0:00:48.762 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:17:07 +0000 (0:00:01.658) 0:00:50.421 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (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/rhel-8-y.qcow2.snap] => (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/rhel-8-y.qcow2.snap] => (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/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:17:07 +0000 (0:00:00.128) 0:00:50.550 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:17:07 +0000 (0:00:00.037) 0:00:50.587 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014692", "end": "2022-08-03 13:17:07.976329", "rc": 0, "start": "2022-08-03 13:17:07.961637" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:17:08 +0000 (0:00:00.417) 0:00:51.005 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:17:08 +0000 (0:00:00.040) 0:00:51.045 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:17:08 +0000 (0:00:00.040) 0:00:51.085 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:17:08 +0000 (0:00:00.037) 0:00:51.123 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=131 changed=12 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Wednesday 03 August 2022 17:17:08 +0000 (0:00:00.060) 0:00:51.183 ****** =============================================================================== Install iproute --------------------------------------------------------- 1.85s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 1.85s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.75s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.75s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.72s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.66s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 1.57s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 1.57s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which packages are installed --------- 1.49s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 1.31s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 1.27s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.20s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.20s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 1.17s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable and start NetworkManager ------------ 1.16s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Create veth interface veth0 --------------------------------------------- 1.13s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp088uft4w/tests/tests_auto_gateway_nm.yml:5 ---------------------------- Enable EPEL 8 ----------------------------------------------------------- 1.00s /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 ------------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.86s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:3 --------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp088uft4w/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp088uft4w/tests/_restore.yml:4 Wednesday 03 August 2022 17:17:08 +0000 (0:00:00.048) 0:00:51.232 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007199", "end": "2022-08-03 13:17:08.620818", "rc": 0, "start": "2022-08-03 13:17:08.613619" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=132 changed=13 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Wednesday 03 August 2022 17:17:08 +0000 (0:00:00.436) 0:00:51.668 ****** =============================================================================== Install iproute --------------------------------------------------------- 1.85s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 1.85s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.75s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.75s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.72s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.66s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 1.57s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 1.57s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which packages are installed --------- 1.49s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 1.31s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 1.27s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.20s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.20s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 1.17s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable and start NetworkManager ------------ 1.16s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Create veth interface veth0 --------------------------------------------- 1.13s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp088uft4w/tests/tests_auto_gateway_nm.yml:5 ---------------------------- Enable EPEL 8 ----------------------------------------------------------- 1.00s /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 ------------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.86s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmp088uft4w/tests/playbooks/tests_auto_gateway.yml:3 --------------------- 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/tmpy4hq2u0g 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: _backup.yml ********************************************************** 1 plays in /tmp/tmpt4s8r_w1/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:52:52 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-8-y.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659549172.2614884, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549171.2604885, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25166460, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548924.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3756759269", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:52:52 +0000 (0:00:00.601) 0:00:00.620 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8-y.qcow2.snap] => (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': 25166460, 'dev': 64515, 'nlink': 1, 'atime': 1659549172.2614884, 'mtime': 1659548924.0, 'ctime': 1659549171.2604885, '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': '3756759269', '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'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/libexec/platform-python'}, '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_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "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": 1659549172.2614884, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549171.2604885, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25166460, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548924.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3756759269", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:52:52 +0000 (0:00:00.034) 0:00:00.655 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004577", "end": "2022-08-03 13:52:53.087670", "rc": 0, "start": "2022-08-03 13:52:53.083093" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:52:53 +0000 (0:00:00.500) 0:00:01.155 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmpt4s8r_w1/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/tmpt4s8r_w1/tests/network/tests_auto_gateway_nm.yml:5 Wednesday 03 August 2022 17:52:53 +0000 (0:00:00.089) 0:00:01.245 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tests_auto_gateway_nm.yml:8 Wednesday 03 August 2022 17:52:54 +0000 (0:00:01.070) 0:00:02.315 ****** included: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml for /cache/rhel-8-y.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:52:54 +0000 (0:00:00.026) 0:00:02.341 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:52:54 +0000 (0:00:00.019) 0:00:02.361 ****** included: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml for /cache/rhel-8-y.qcow2.snap TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:52:54 +0000 (0:00:00.029) 0:00:02.390 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:52:54 +0000 (0:00:00.376) 0:00:02.766 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:52:54 +0000 (0:00:00.023) 0:00:02.790 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.436171", "end": "2022-08-03 13:52:55.531630", "rc": 0, "start": "2022-08-03 13:52:55.095459" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:52:55 +0000 (0:00:00.808) 0:00:03.598 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tests_auto_gateway_nm.yml:9 Wednesday 03 August 2022 17:52:55 +0000 (0:00:00.022) 0:00:03.621 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 17:52:55 +0000 (0:00:00.049) 0:00:03.670 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 17:52:56 +0000 (0:00:00.826) 0:00:04.497 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:52:56 +0000 (0:00:00.055) 0:00:04.552 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:52:56 +0000 (0:00:00.032) 0:00:04.584 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003825", "end": "2022-08-03 13:52:56.942789", "rc": 0, "start": "2022-08-03 13:52:56.938964" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:52:57 +0000 (0:00:00.429) 0:00:05.014 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:52:57 +0000 (0:00:00.032) 0:00:05.046 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 17:52:57 +0000 (0:00:00.032) 0:00:05.079 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:52:57 +0000 (0:00:00.048) 0:00:05.128 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:52:57 +0000 (0:00:00.021) 0:00:05.149 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:52:57 +0000 (0:00:00.025) 0:00:05.174 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:52:57 +0000 (0:00:00.073) 0:00:05.248 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:52:57 +0000 (0:00:00.036) 0:00:05.285 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003340", "end": "2022-08-03 13:52:57.600219", "rc": 0, "start": "2022-08-03 13:52:57.596879" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:52:57 +0000 (0:00:00.380) 0:00:05.665 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:52:57 +0000 (0:00:00.033) 0:00:05.699 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:52:57 +0000 (0:00:00.032) 0:00:05.732 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:52:59 +0000 (0:00:01.867) 0:00:07.600 ****** changed: [/cache/rhel-8-y.qcow2.snap] => (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.004315", "end": "2022-08-03 13:52:59.917920", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 13:52:59.913605" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.007584", "end": "2022-08-03 13:53:00.281122", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 13:53:00.273538" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007610", "end": "2022-08-03 13:53:00.643025", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 13:53:00.635415" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:53:00 +0000 (0:00:01.110) 0:00:08.710 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024123", "end": "2022-08-03 13:53:01.054033", "rc": 0, "start": "2022-08-03 13:53:01.029910" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:53:01 +0000 (0:00:00.413) 0:00:09.123 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:53:01 +0000 (0:00:00.023) 0:00:09.146 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:53:01 +0000 (0:00:00.023) 0:00:09.170 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:53:01 +0000 (0:00:00.023) 0:00:09.193 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:53:01 +0000 (0:00:00.022) 0:00:09.215 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 17:53:01 +0000 (0:00:00.022) 0:00:09.237 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:53:01 +0000 (0:00:00.049) 0:00:09.287 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:53:01 +0000 (0:00:00.030) 0:00:09.317 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549179.9172378, "block_size": 4096, "blocks": 0, "ctime": 1659549179.9172378, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23740, "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": 1659549179.9172378, "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/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:53:01 +0000 (0:00:00.380) 0:00:09.698 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 17:53:01 +0000 (0:00:00.035) 0:00:09.734 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:53:01 +0000 (0:00:00.034) 0:00:09.768 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:53:01 +0000 (0:00:00.036) 0:00:09.804 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:53:02 +0000 (0:00:00.529) 0:00:10.334 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:53:04 +0000 (0:00:01.818) 0:00:12.152 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:53:05 +0000 (0:00:01.450) 0:00:13.602 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:53:05 +0000 (0:00:00.052) 0:00:13.654 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:53:05 +0000 (0:00:00.040) 0:00:13.695 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:53:05 +0000 (0:00:00.043) 0:00:13.739 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:53:05 +0000 (0:00:00.079) 0:00:13.819 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:53:05 +0000 (0:00:00.040) 0:00:13.860 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:53:05 +0000 (0:00:00.041) 0:00:13.901 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:53:05 +0000 (0:00:00.056) 0:00:13.957 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:53:06 +0000 (0:00:00.828) 0:00:14.786 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:53:06 +0000 (0:00:00.055) 0:00:14.841 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:53:06 +0000 (0:00:00.035) 0:00:14.877 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:53:06 +0000 (0:00:00.035) 0:00:14.913 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "_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, e58e2fe6-c725-48ea-ba51-8ead48e55603 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e58e2fe6-c725-48ea-ba51-8ead48e55603 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:53:07 +0000 (0:00:00.807) 0:00:15.721 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:53:07 +0000 (0:00:00.044) 0:00:15.766 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e58e2fe6-c725-48ea-ba51-8ead48e55603", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e58e2fe6-c725-48ea-ba51-8ead48e55603 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:53:07 +0000 (0:00:00.050) 0:00:15.816 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__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, e58e2fe6-c725-48ea-ba51-8ead48e55603\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e58e2fe6-c725-48ea-ba51-8ead48e55603 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e58e2fe6-c725-48ea-ba51-8ead48e55603", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e58e2fe6-c725-48ea-ba51-8ead48e55603 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:53:07 +0000 (0:00:00.052) 0:00:15.869 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:53:07 +0000 (0:00:00.042) 0:00:15.911 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 17:53:08 +0000 (0:00:00.549) 0:00:16.461 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:53:08 +0000 (0:00:00.076) 0:00:16.538 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:53:08 +0000 (0:00:00.059) 0:00:16.597 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549179.9172378, "block_size": 4096, "blocks": 0, "ctime": 1659549179.9172378, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23740, "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": 1659549179.9172378, "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/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:53:09 +0000 (0:00:00.440) 0:00:17.038 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 17:53:09 +0000 (0:00:00.051) 0:00:17.089 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:53:09 +0000 (0:00:00.080) 0:00:17.170 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:53:09 +0000 (0:00:00.061) 0:00:17.231 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:53:09 +0000 (0:00:00.046) 0:00:17.277 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549187.6314886, "block_size": 4096, "blocks": 8, "ctime": 1659549187.5974886, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2742, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549187.5974886, "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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:53:09 +0000 (0:00:00.398) 0:00:17.676 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:53:09 +0000 (0:00:00.047) 0:00:17.724 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.019520", "end": "2022-08-03 13:53:10.065646", "rc": 0, "start": "2022-08-03 13:53:10.046126" } 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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:53:10 +0000 (0:00:00.425) 0:00:18.149 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:53:10 +0000 (0:00:00.047) 0:00:18.197 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:53:10 +0000 (0:00:00.094) 0:00:18.291 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:53:10 +0000 (0:00:00.040) 0:00:18.331 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:53:10 +0000 (0:00:00.053) 0:00:18.384 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 17:53:10 +0000 (0:00:00.050) 0:00:18.435 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004090", "end": "2022-08-03 13:53:10.751897", "rc": 0, "start": "2022-08-03 13:53:10.747807" } STDOUT: 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/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 17:53:10 +0000 (0:00:00.397) 0:00:18.833 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 17:53:10 +0000 (0:00:00.045) 0:00:18.879 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003503", "end": "2022-08-03 13:53:11.190922", "rc": 0, "start": "2022-08-03 13:53:11.187419" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium fec0::/64 dev eth0 proto ra metric 100 pref medium default via fe80::2 dev eth0 proto ra metric 100 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 17:53:11 +0000 (0:00:00.388) 0:00:19.267 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 17:53:11 +0000 (0:00:00.051) 0:00:19.318 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:53:11 +0000 (0:00:00.046) 0:00:19.365 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:53:11 +0000 (0:00:00.063) 0:00:19.429 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:53:12 +0000 (0:00:00.615) 0:00:20.044 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:53:13 +0000 (0:00:01.697) 0:00:21.742 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:53:14 +0000 (0:00:01.217) 0:00:22.959 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:53:15 +0000 (0:00:00.091) 0:00:23.051 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:53:15 +0000 (0:00:00.040) 0:00:23.091 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:53:15 +0000 (0:00:00.090) 0:00:23.181 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:53:15 +0000 (0:00:00.075) 0:00:23.257 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:53:15 +0000 (0:00:00.039) 0:00:23.296 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:53:15 +0000 (0:00:00.039) 0:00:23.336 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:53:15 +0000 (0:00:00.055) 0:00:23.391 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:53:15 +0000 (0:00:00.567) 0:00:23.958 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:53:16 +0000 (0:00:00.072) 0:00:24.031 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:53:16 +0000 (0:00:00.039) 0:00:24.070 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:53:16 +0000 (0:00:00.038) 0:00:24.108 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "_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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:53:16 +0000 (0:00:00.601) 0:00:24.710 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:53:16 +0000 (0:00:00.041) 0:00:24.751 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:53:16 +0000 (0:00:00.099) 0:00:24.850 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:53:16 +0000 (0:00:00.051) 0:00:24.902 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:53:16 +0000 (0:00:00.043) 0:00:24.946 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 17:53:17 +0000 (0:00:00.406) 0:00:25.353 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:53:17 +0000 (0:00:00.083) 0:00:25.436 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:53:17 +0000 (0:00:00.035) 0:00:25.472 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:53:17 +0000 (0:00:00.035) 0:00:25.507 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:53:17 +0000 (0:00:00.057) 0:00:25.564 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:53:17 +0000 (0:00:00.055) 0:00:25.620 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004205", "end": "2022-08-03 13:53:17.935319", "rc": 0, "start": "2022-08-03 13:53:17.931114" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:53:18 +0000 (0:00:00.426) 0:00:26.046 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:53:18 +0000 (0:00:00.051) 0:00:26.098 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:53:18 +0000 (0:00:00.048) 0:00:26.146 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:53:19 +0000 (0:00:01.579) 0:00:27.726 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (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/rhel-8-y.qcow2.snap] => (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/rhel-8-y.qcow2.snap] => (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/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:53:19 +0000 (0:00:00.051) 0:00:27.778 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:53:19 +0000 (0:00:00.038) 0:00:27.816 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011654", "end": "2022-08-03 13:53:20.150186", "rc": 0, "start": "2022-08-03 13:53:20.138532" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.415) 0:00:28.232 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.074) 0:00:28.306 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.043) 0:00:28.350 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.041) 0:00:28.391 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.037) 0:00:28.428 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.050) 0:00:28.479 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.083) 0:00:28.562 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.038) 0:00:28.600 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.037) 0:00:28.638 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.060) 0:00:28.699 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.059) 0:00:28.758 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003421", "end": "2022-08-03 13:53:21.092236", "rc": 0, "start": "2022-08-03 13:53:21.088815" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:53:21 +0000 (0:00:00.413) 0:00:29.172 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:53:21 +0000 (0:00:00.164) 0:00:29.336 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:53:21 +0000 (0:00:00.050) 0:00:29.386 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:53:22 +0000 (0:00:01.600) 0:00:30.986 ****** changed: [/cache/rhel-8-y.qcow2.snap] => (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.004098", "end": "2022-08-03 13:53:23.306134", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 13:53:23.302036" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.013207", "end": "2022-08-03 13:53:23.684383", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 13:53:23.671176" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.013528", "end": "2022-08-03 13:53:24.048187", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 13:53:24.034659" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:53:24 +0000 (0:00:01.149) 0:00:32.135 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020586", "end": "2022-08-03 13:53:24.476957", "rc": 0, "start": "2022-08-03 13:53:24.456371" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.426) 0:00:32.562 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.040) 0:00:32.603 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.081) 0:00:32.684 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.041) 0:00:32.726 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.038) 0:00:32.764 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.047) 0:00:32.812 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.065) 0:00:32.877 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:53:25 +0000 (0:00:00.578) 0:00:33.455 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:53:28 +0000 (0:00:02.718) 0:00:36.174 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:53:29 +0000 (0:00:01.201) 0:00:37.376 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:53:29 +0000 (0:00:00.050) 0:00:37.427 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:53:29 +0000 (0:00:00.042) 0:00:37.469 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:53:29 +0000 (0:00:00.044) 0:00:37.513 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:53:29 +0000 (0:00:00.119) 0:00:37.633 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:53:29 +0000 (0:00:00.043) 0:00:37.676 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:53:29 +0000 (0:00:00.042) 0:00:37.719 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:53:29 +0000 (0:00:00.056) 0:00:37.775 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:53:30 +0000 (0:00:00.581) 0:00:38.357 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:53:30 +0000 (0:00:00.060) 0:00:38.417 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:53:30 +0000 (0:00:00.038) 0:00:38.456 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:53:30 +0000 (0:00:00.036) 0:00:38.493 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "_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, 766cedc5-0e10-49ed-8d8f-01723e201575 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 766cedc5-0e10-49ed-8d8f-01723e201575 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:53:31 +0000 (0:00:00.619) 0:00:39.113 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:53:31 +0000 (0:00:00.042) 0:00:39.155 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 766cedc5-0e10-49ed-8d8f-01723e201575", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 766cedc5-0e10-49ed-8d8f-01723e201575 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:53:31 +0000 (0:00:00.135) 0:00:39.291 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__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, 766cedc5-0e10-49ed-8d8f-01723e201575\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 766cedc5-0e10-49ed-8d8f-01723e201575 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 766cedc5-0e10-49ed-8d8f-01723e201575", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 766cedc5-0e10-49ed-8d8f-01723e201575 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:53:31 +0000 (0:00:00.052) 0:00:39.343 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:53:31 +0000 (0:00:00.040) 0:00:39.383 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 17:53:31 +0000 (0:00:00.429) 0:00:39.813 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:53:31 +0000 (0:00:00.083) 0:00:39.897 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:53:31 +0000 (0:00:00.072) 0:00:39.969 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549203.3054605, "block_size": 4096, "blocks": 0, "ctime": 1659549203.3054605, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23996, "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": 1659549203.3054605, "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/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:53:32 +0000 (0:00:00.403) 0:00:40.373 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 17:53:32 +0000 (0:00:00.052) 0:00:40.425 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:53:32 +0000 (0:00:00.083) 0:00:40.509 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:53:32 +0000 (0:00:00.111) 0:00:40.621 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:53:32 +0000 (0:00:00.049) 0:00:40.670 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549211.0224886, "block_size": 4096, "blocks": 8, "ctime": 1659549210.9824886, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2742, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549210.9824886, "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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:53:33 +0000 (0:00:00.394) 0:00:41.065 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:53:33 +0000 (0:00:00.048) 0:00:41.114 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.019945", "end": "2022-08-03 13:53:33.437929", "rc": 0, "start": "2022-08-03 13:53:33.417984" } 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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:53:33 +0000 (0:00:00.406) 0:00:41.520 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:53:33 +0000 (0:00:00.051) 0:00:41.571 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:53:33 +0000 (0:00:00.042) 0:00:41.614 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:53:33 +0000 (0:00:00.040) 0:00:41.654 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:53:33 +0000 (0:00:00.047) 0:00:41.702 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 17:53:33 +0000 (0:00:00.056) 0:00:41.758 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003603", "end": "2022-08-03 13:53:34.065570", "rc": 0, "start": "2022-08-03 13:53:34.061967" } STDOUT: 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/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 17:53:34 +0000 (0:00:00.439) 0:00:42.197 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 17:53:34 +0000 (0:00:00.051) 0:00:42.249 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003497", "end": "2022-08-03 13:53:34.563166", "rc": 0, "start": "2022-08-03 13:53:34.559669" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium fec0::/64 dev eth0 proto ra metric 100 pref medium default via fe80::2 dev eth0 proto ra metric 100 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 17:53:34 +0000 (0:00:00.395) 0:00:42.645 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 17:53:34 +0000 (0:00:00.052) 0:00:42.697 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:53:34 +0000 (0:00:00.048) 0:00:42.746 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:53:34 +0000 (0:00:00.063) 0:00:42.809 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:53:35 +0000 (0:00:00.545) 0:00:43.354 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:53:37 +0000 (0:00:01.695) 0:00:45.049 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:53:38 +0000 (0:00:01.244) 0:00:46.294 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:53:38 +0000 (0:00:00.054) 0:00:46.348 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:53:38 +0000 (0:00:00.039) 0:00:46.388 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:53:38 +0000 (0:00:00.038) 0:00:46.426 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:53:38 +0000 (0:00:00.128) 0:00:46.554 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:53:38 +0000 (0:00:00.041) 0:00:46.596 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:53:38 +0000 (0:00:00.041) 0:00:46.637 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:53:38 +0000 (0:00:00.057) 0:00:46.695 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:53:39 +0000 (0:00:00.588) 0:00:47.284 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:53:39 +0000 (0:00:00.060) 0:00:47.345 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:53:39 +0000 (0:00:00.038) 0:00:47.383 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:53:39 +0000 (0:00:00.036) 0:00:47.420 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "_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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:53:40 +0000 (0:00:00.607) 0:00:48.027 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:53:40 +0000 (0:00:00.040) 0:00:48.068 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:53:40 +0000 (0:00:00.046) 0:00:48.114 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:53:40 +0000 (0:00:00.147) 0:00:48.261 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:53:40 +0000 (0:00:00.044) 0:00:48.306 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 17:53:40 +0000 (0:00:00.410) 0:00:48.716 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:53:40 +0000 (0:00:00.088) 0:00:48.805 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:53:40 +0000 (0:00:00.036) 0:00:48.841 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:53:40 +0000 (0:00:00.034) 0:00:48.876 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:53:40 +0000 (0:00:00.055) 0:00:48.931 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:53:40 +0000 (0:00:00.054) 0:00:48.986 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004364", "end": "2022-08-03 13:53:41.293755", "rc": 0, "start": "2022-08-03 13:53:41.289391" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:53:41 +0000 (0:00:00.391) 0:00:49.378 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:53:41 +0000 (0:00:00.109) 0:00:49.488 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:53:41 +0000 (0:00:00.054) 0:00:49.542 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:53:43 +0000 (0:00:01.602) 0:00:51.144 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (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/rhel-8-y.qcow2.snap] => (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/rhel-8-y.qcow2.snap] => (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/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.048) 0:00:51.192 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.040) 0:00:51.233 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015219", "end": "2022-08-03 13:53:43.581784", "rc": 0, "start": "2022-08-03 13:53:43.566565" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.437) 0:00:51.670 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.039) 0:00:51.710 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.094) 0:00:51.804 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.039) 0:00:51.843 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=131 changed=12 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.057) 0:00:51.901 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.72s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.87s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.60s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.60s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.58s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.24s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.21s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 1.20s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.16s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Create veth interface veth0 --------------------------------------------- 1.15s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Create veth interface veth0 --------------------------------------------- 1.11s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpt4s8r_w1/tests/network/tests_auto_gateway_nm.yml:5 -------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.83s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:3 ------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.82s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpt4s8r_w1/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.044) 0:00:51.946 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007900", "end": "2022-08-03 13:53:44.265173", "rc": 0, "start": "2022-08-03 13:53:44.257273" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=132 changed=13 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Wednesday 03 August 2022 17:53:44 +0000 (0:00:00.428) 0:00:52.374 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.72s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.87s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.60s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.60s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.58s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.24s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.21s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 1.20s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.16s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Create veth interface veth0 --------------------------------------------- 1.15s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Create veth interface veth0 --------------------------------------------- 1.11s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpt4s8r_w1/tests/network/tests_auto_gateway_nm.yml:5 -------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.83s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_auto_gateway.yml:3 ------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.82s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139