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/tmpcwsggv7g 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Wednesday 03 August 2022 15:21:53 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:21:54 +0000 (0:00:01.268) 0:00:01.287 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpd6fsfezc/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpd6fsfezc/tests/_backup.yml:6 Wednesday 03 August 2022 15:21:54 +0000 (0:00:00.014) 0:00:01.301 ****** ok: [/cache/rhel-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659540112.7717783, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659540111.7697783, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539931.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "98781475", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpd6fsfezc/tests/_backup.yml:13 Wednesday 03 August 2022 15:21:55 +0000 (0:00:00.495) 0:00:01.797 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8.qcow2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 752168, 'dev': 64515, 'nlink': 1, 'atime': 1659540112.7717783, 'mtime': 1659539931.0, 'ctime': 1659540111.7697783, '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': '98781475', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659540112.7717783, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659540111.7697783, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539931.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "98781475", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpd6fsfezc/tests/_backup.yml:19 Wednesday 03 August 2022 15:21:55 +0000 (0:00:00.036) 0:00:01.833 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003987", "end": "2022-08-03 11:21:54.651313", "rc": 0, "start": "2022-08-03 11:21:54.647326" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:21:55 +0000 (0:00:00.452) 0:00:02.286 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmpd6fsfezc/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.45s /tmp/tmpd6fsfezc/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpd6fsfezc/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /tmp/tmpd6fsfezc/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/tests_auto_gateway_initscripts.yml:4 Wednesday 03 August 2022 15:21:55 +0000 (0:00:00.053) 0:00:02.340 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tests_auto_gateway_initscripts.yml:7 Wednesday 03 August 2022 15:21:56 +0000 (0:00:01.009) 0:00:03.349 ****** included: /tmp/tmpd6fsfezc/tests/tasks/el_repo_setup.yml for /cache/rhel-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:21:56 +0000 (0:00:00.025) 0:00:03.374 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:21:56 +0000 (0:00:00.019) 0:00:03.394 ****** included: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml for /cache/rhel-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:21:56 +0000 (0:00:00.027) 0:00:03.421 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:21:57 +0000 (0:00:00.358) 0:00:03.779 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:21:57 +0000 (0:00:00.020) 0:00:03.800 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.416444", "end": "2022-08-03 11:21:56.954751", "rc": 0, "start": "2022-08-03 11:21:56.538307" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:21:57 +0000 (0:00:00.788) 0:00:04.589 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpd6fsfezc/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 03 August 2022 15:21:57 +0000 (0:00:00.021) 0:00:04.610 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 15:21:58 +0000 (0:00:00.043) 0:00:04.654 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 15:21:58 +0000 (0:00:00.819) 0:00:05.473 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:21:58 +0000 (0:00:00.066) 0:00:05.539 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:21:58 +0000 (0:00:00.046) 0:00:05.586 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002964", "end": "2022-08-03 11:21:58.368749", "rc": 0, "start": "2022-08-03 11:21:58.365785" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:21:59 +0000 (0:00:00.411) 0:00:05.998 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:21:59 +0000 (0:00:00.042) 0:00:06.040 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 15:21:59 +0000 (0:00:00.041) 0:00:06.082 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:21:59 +0000 (0:00:00.060) 0:00:06.142 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:21:59 +0000 (0:00:00.034) 0:00:06.177 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:21:59 +0000 (0:00:00.033) 0:00:06.211 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:21:59 +0000 (0:00:00.043) 0:00:06.255 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:21:59 +0000 (0:00:00.041) 0:00:06.296 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003012", "end": "2022-08-03 11:21:59.036965", "rc": 0, "start": "2022-08-03 11:21:59.033953" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:22:00 +0000 (0:00:00.373) 0:00:06.669 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:22:00 +0000 (0:00:00.043) 0:00:06.713 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:22:00 +0000 (0:00:00.043) 0:00:06.756 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:22:01 +0000 (0:00:01.733) 0:00:08.489 ****** changed: [/cache/rhel-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.007229", "end": "2022-08-03 11:22:01.242904", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 11:22:01.235675" } changed: [/cache/rhel-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.018440", "end": "2022-08-03 11:22:01.603053", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 11:22:01.584613" } changed: [/cache/rhel-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005508", "end": "2022-08-03 11:22:01.961451", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 11:22:01.955943" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:22:02 +0000 (0:00:01.107) 0:00:09.597 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023004", "end": "2022-08-03 11:22:02.367868", "rc": 0, "start": "2022-08-03 11:22:02.344864" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:22:03 +0000 (0:00:00.406) 0:00:10.003 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:22:03 +0000 (0:00:00.035) 0:00:10.039 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:22:03 +0000 (0:00:00.033) 0:00:10.073 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:22:03 +0000 (0:00:00.033) 0:00:10.106 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:22:03 +0000 (0:00:00.031) 0:00:10.137 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 15:22:03 +0000 (0:00:00.030) 0:00:10.167 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:22:03 +0000 (0:00:00.055) 0:00:10.223 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:22:03 +0000 (0:00:00.044) 0:00:10.268 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659540121.2389438, "block_size": 4096, "blocks": 0, "ctime": 1659540121.2389438, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21712, "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": 1659540121.2389438, "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/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:22:04 +0000 (0:00:00.374) 0:00:10.643 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 15:22:04 +0000 (0:00:00.045) 0:00:10.688 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:22:04 +0000 (0:00:00.039) 0:00:10.728 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:22:04 +0000 (0:00:00.040) 0:00:10.769 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:22:04 +0000 (0:00:00.502) 0:00:11.271 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:22:06 +0000 (0:00:01.621) 0:00:12.892 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:22:07 +0000 (0:00:01.425) 0:00:14.318 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:22:07 +0000 (0:00:00.060) 0:00:14.379 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:22:07 +0000 (0:00:00.049) 0:00:14.428 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:22:07 +0000 (0:00:00.050) 0:00:14.478 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: bc-1.07.1-5.el8.x86_64", "Installed: network-scripts-10.00.15-1.el8.x86_64", "Installed: network-scripts-team-1.31-2.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:22:10 +0000 (0:00:02.288) 0:00:16.767 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:22:10 +0000 (0:00:00.050) 0:00:16.818 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:22:10 +0000 (0:00:00.053) 0:00:16.871 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:22:10 +0000 (0:00:00.052) 0:00:16.924 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:22:10 +0000 (0:00:00.048) 0:00:16.973 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:22:10 +0000 (0:00:00.050) 0:00:17.023 ****** changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:22:11 +0000 (0:00:01.011) 0:00:18.035 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-324077cnllwea0/tmpk4vwg2mx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:22:11 +0000 (0:00:00.399) 0:00:18.435 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:22:18 +0000 (0:00:06.905) 0:00:25.340 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:22:18 +0000 (0:00:00.052) 0:00:25.393 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:22:18 +0000 (0:00:00.059) 0:00:25.453 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:22:18 +0000 (0:00:00.060) 0:00:25.513 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:22:18 +0000 (0:00:00.052) 0:00:25.565 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 15:22:19 +0000 (0:00:00.575) 0:00:26.141 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:22:19 +0000 (0:00:00.085) 0:00:26.227 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:22:19 +0000 (0:00:00.070) 0:00:26.297 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659540121.2389438, "block_size": 4096, "blocks": 0, "ctime": 1659540121.2389438, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21712, "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": 1659540121.2389438, "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/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:22:20 +0000 (0:00:00.381) 0:00:26.678 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 15:22:20 +0000 (0:00:00.061) 0:00:26.740 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:22:20 +0000 (0:00:00.092) 0:00:26.832 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:22:20 +0000 (0:00:00.079) 0:00:26.911 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:22:20 +0000 (0:00:00.055) 0:00:26.967 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659540131.5097783, "block_size": 4096, "blocks": 8, "ctime": 1659540131.4917784, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17574150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659540131.4917784, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 242, "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/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:22:20 +0000 (0:00:00.398) 0:00:27.366 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:22:20 +0000 (0:00:00.153) 0:00:27.520 ****** fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.025608", "end": "2022-08-03 11:22:20.322130", "rc": 1, "start": "2022-08-03 11:22:20.296522" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:22:21 +0000 (0:00:00.455) 0:00:27.976 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:22:21 +0000 (0:00:00.051) 0:00:28.027 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002644", "end": "2022-08-03 11:22:20.786674", "rc": 0, "start": "2022-08-03 11:22:20.784030" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:22:21 +0000 (0:00:00.408) 0:00:28.436 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:22:21 +0000 (0:00:00.065) 0:00:28.501 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:22:21 +0000 (0:00:00.059) 0:00:28.561 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 15:22:21 +0000 (0:00:00.062) 0:00:28.623 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003757", "end": "2022-08-03 11:22:21.378745", "rc": 0, "start": "2022-08-03 11:22:21.374988" } STDOUT: default via 203.0.113.1 dev veth0 default via 10.0.2.2 dev eth0 proto dhcp 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 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 15:22:22 +0000 (0:00:00.405) 0:00:29.028 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 15:22:22 +0000 (0:00:00.057) 0:00:29.085 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003504", "end": "2022-08-03 11:22:21.836836", "rc": 0, "start": "2022-08-03 11:22:21.833332" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86299sec pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1699sec hoplimit 64 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 15:22:22 +0000 (0:00:00.400) 0:00:29.486 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 15:22:22 +0000 (0:00:00.086) 0:00:29.572 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:22:23 +0000 (0:00:00.058) 0:00:29.631 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:22:23 +0000 (0:00:00.073) 0:00:29.705 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:22:23 +0000 (0:00:00.550) 0:00:30.256 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:22:25 +0000 (0:00:01.613) 0:00:31.869 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:22:26 +0000 (0:00:01.212) 0:00:33.082 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:22:26 +0000 (0:00:00.061) 0:00:33.143 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:22:26 +0000 (0:00:00.052) 0:00:33.195 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:22:26 +0000 (0:00:00.049) 0:00:33.245 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:22:26 +0000 (0:00:00.073) 0:00:33.319 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:22:26 +0000 (0:00:00.050) 0:00:33.370 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:22:26 +0000 (0:00:00.056) 0:00:33.426 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:22:26 +0000 (0:00:00.067) 0:00:33.494 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:22:26 +0000 (0:00:00.053) 0:00:33.547 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:22:26 +0000 (0:00:00.048) 0:00:33.596 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:22:27 +0000 (0:00:00.557) 0:00:34.153 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-324077cnllwea0/tmp5f8py2bq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:22:27 +0000 (0:00:00.415) 0:00:34.568 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:22:28 +0000 (0:00:00.660) 0:00:35.229 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:22:28 +0000 (0:00:00.051) 0:00:35.280 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:22:28 +0000 (0:00:00.058) 0:00:35.338 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:22:28 +0000 (0:00:00.062) 0:00:35.401 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:22:28 +0000 (0:00:00.052) 0:00:35.454 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 15:22:29 +0000 (0:00:00.409) 0:00:35.863 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:22:29 +0000 (0:00:00.091) 0:00:35.954 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:22:29 +0000 (0:00:00.050) 0:00:36.004 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:22:29 +0000 (0:00:00.048) 0:00:36.053 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:22:29 +0000 (0:00:00.108) 0:00:36.162 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:22:29 +0000 (0:00:00.067) 0:00:36.229 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002743", "end": "2022-08-03 11:22:28.974283", "rc": 0, "start": "2022-08-03 11:22:28.971540" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:22:29 +0000 (0:00:00.393) 0:00:36.622 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:22:30 +0000 (0:00:00.058) 0:00:36.681 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:22:30 +0000 (0:00:00.057) 0:00:36.739 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:22:31 +0000 (0:00:01.463) 0:00:38.202 ****** skipping: [/cache/rhel-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:22:31 +0000 (0:00:00.061) 0:00:38.264 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:22:31 +0000 (0:00:00.085) 0:00:38.349 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012213", "end": "2022-08-03 11:22:31.103194", "rc": 0, "start": "2022-08-03 11:22:31.090981" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.407) 0:00:38.756 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.049) 0:00:38.806 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.053) 0:00:38.860 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.050) 0:00:38.911 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.047) 0:00:38.959 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.058) 0:00:39.017 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.094) 0:00:39.111 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.046) 0:00:39.158 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.047) 0:00:39.205 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.068) 0:00:39.274 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.068) 0:00:39.342 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002846", "end": "2022-08-03 11:22:32.126377", "rc": 0, "start": "2022-08-03 11:22:32.123531" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.429) 0:00:39.771 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.061) 0:00:39.833 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.060) 0:00:39.893 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:22:34 +0000 (0:00:01.416) 0:00:41.310 ****** changed: [/cache/rhel-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.003600", "end": "2022-08-03 11:22:34.068099", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 11:22:34.064499" } changed: [/cache/rhel-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.014483", "end": "2022-08-03 11:22:34.432726", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 11:22:34.418243" } changed: [/cache/rhel-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.014663", "end": "2022-08-03 11:22:34.792794", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 11:22:34.778131" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:22:35 +0000 (0:00:01.134) 0:00:42.444 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020470", "end": "2022-08-03 11:22:35.210676", "rc": 0, "start": "2022-08-03 11:22:35.190206" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.416) 0:00:42.860 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.102) 0:00:42.963 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.050) 0:00:43.013 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.048) 0:00:43.061 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.051) 0:00:43.112 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.049) 0:00:43.162 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.074) 0:00:43.237 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:22:37 +0000 (0:00:00.538) 0:00:43.775 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:22:38 +0000 (0:00:01.622) 0:00:45.397 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:22:39 +0000 (0:00:01.164) 0:00:46.562 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:22:39 +0000 (0:00:00.058) 0:00:46.621 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.051) 0:00:46.672 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.052) 0:00:46.725 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.074) 0:00:46.799 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.054) 0:00:46.854 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.051) 0:00:46.905 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.052) 0:00:46.958 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.090) 0:00:47.048 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.047) 0:00:47.096 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:22:41 +0000 (0:00:00.549) 0:00:47.646 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-324077cnllwea0/tmpe0shstfi" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:22:41 +0000 (0:00:00.403) 0:00:48.050 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:22:48 +0000 (0:00:06.689) 0:00:54.739 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.057) 0:00:54.796 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.162) 0:00:54.959 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.059) 0:00:55.019 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.054) 0:00:55.074 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.404) 0:00:55.478 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.095) 0:00:55.574 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:22:49 +0000 (0:00:00.070) 0:00:55.644 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659540154.0675035, "block_size": 4096, "blocks": 0, "ctime": 1659540154.0675035, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21968, "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": 1659540154.0675035, "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/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:22:49 +0000 (0:00:00.394) 0:00:56.038 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 15:22:49 +0000 (0:00:00.060) 0:00:56.099 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:22:49 +0000 (0:00:00.093) 0:00:56.193 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:22:49 +0000 (0:00:00.110) 0:00:56.303 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:22:49 +0000 (0:00:00.056) 0:00:56.359 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659540160.9167783, "block_size": 4096, "blocks": 8, "ctime": 1659540160.8997784, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17574150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659540160.8997784, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 241, "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/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:22:50 +0000 (0:00:00.404) 0:00:56.763 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:22:50 +0000 (0:00:00.056) 0:00:56.820 ****** fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.016705", "end": "2022-08-03 11:22:49.579774", "rc": 1, "start": "2022-08-03 11:22:49.563069" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:22:50 +0000 (0:00:00.407) 0:00:57.227 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:22:50 +0000 (0:00:00.049) 0:00:57.277 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002625", "end": "2022-08-03 11:22:50.017667", "rc": 0, "start": "2022-08-03 11:22:50.015042" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.390) 0:00:57.668 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.073) 0:00:57.741 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.067) 0:00:57.808 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.059) 0:00:57.867 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003084", "end": "2022-08-03 11:22:50.593488", "rc": 0, "start": "2022-08-03 11:22:50.590404" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp 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 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.413) 0:00:58.281 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.061) 0:00:58.342 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004065", "end": "2022-08-03 11:22:51.118027", "rc": 0, "start": "2022-08-03 11:22:51.113962" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86270sec pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1670sec hoplimit 64 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 15:22:52 +0000 (0:00:00.428) 0:00:58.771 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 15:22:52 +0000 (0:00:00.050) 0:00:58.821 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:22:52 +0000 (0:00:00.061) 0:00:58.883 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:22:52 +0000 (0:00:00.074) 0:00:58.957 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:22:52 +0000 (0:00:00.551) 0:00:59.508 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:22:54 +0000 (0:00:01.576) 0:01:01.085 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:22:55 +0000 (0:00:01.146) 0:01:02.231 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.061) 0:01:02.293 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.055) 0:01:02.348 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.051) 0:01:02.399 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.075) 0:01:02.474 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.119) 0:01:02.594 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:22:56 +0000 (0:00:00.052) 0:01:02.646 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:22:56 +0000 (0:00:00.053) 0:01:02.700 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:22:56 +0000 (0:00:00.049) 0:01:02.749 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:22:56 +0000 (0:00:00.045) 0:01:02.794 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:22:56 +0000 (0:00:00.553) 0:01:03.348 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-324077cnllwea0/tmpe80o7g7x" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:22:57 +0000 (0:00:00.398) 0:01:03.746 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:22:57 +0000 (0:00:00.632) 0:01:04.379 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:22:57 +0000 (0:00:00.064) 0:01:04.443 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:22:57 +0000 (0:00:00.168) 0:01:04.612 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.061) 0:01:04.674 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.051) 0:01:04.726 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.420) 0:01:05.146 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.095) 0:01:05.242 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.049) 0:01:05.291 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.048) 0:01:05.340 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.070) 0:01:05.411 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.067) 0:01:05.479 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003027", "end": "2022-08-03 11:22:58.223647", "rc": 0, "start": "2022-08-03 11:22:58.220620" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:22:59 +0000 (0:00:00.445) 0:01:05.924 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:22:59 +0000 (0:00:00.060) 0:01:05.985 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:22:59 +0000 (0:00:00.061) 0:01:06.047 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:23:00 +0000 (0:00:01.475) 0:01:07.522 ****** skipping: [/cache/rhel-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:23:00 +0000 (0:00:00.065) 0:01:07.587 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.052) 0:01:07.639 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014291", "end": "2022-08-03 11:23:00.411570", "rc": 0, "start": "2022-08-03 11:23:00.397279" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.425) 0:01:08.065 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.050) 0:01:08.115 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.099) 0:01:08.214 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.052) 0:01:08.267 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=137 changed=16 unreachable=0 failed=0 skipped=76 rescued=0 ignored=2 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.072) 0:01:08.340 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.91s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 6.69s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Install packages --------------------------- 2.29s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- Install iproute --------------------------------------------------------- 1.73s /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 1.62s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.62s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.61s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.58s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.48s /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 1.46s /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which packages are installed --------- 1.43s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install iproute --------------------------------------------------------- 1.42s /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 1.29s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.21s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.16s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.15s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 1.13s /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable network service --------------------- 1.11s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Create veth interface veth0 --------------------------------------------- 1.11s /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpd6fsfezc/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpd6fsfezc/tests/_restore.yml:4 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.041) 0:01:08.381 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005921", "end": "2022-08-03 11:23:01.106546", "rc": 0, "start": "2022-08-03 11:23:01.100625" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=138 changed=17 unreachable=0 failed=0 skipped=76 rescued=0 ignored=2 Wednesday 03 August 2022 15:23:02 +0000 (0:00:00.395) 0:01:08.777 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.91s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 6.69s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Install packages --------------------------- 2.29s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- Install iproute --------------------------------------------------------- 1.73s /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 1.62s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.62s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.61s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.58s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.48s /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 1.46s /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which packages are installed --------- 1.43s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install iproute --------------------------------------------------------- 1.42s /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 1.29s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.21s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.16s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.15s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 1.13s /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable network service --------------------- 1.11s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Create veth interface veth0 --------------------------------------------- 1.11s /tmp/tmpd6fsfezc/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- 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/tmpcwsggv7g 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Wednesday 03 August 2022 15:58:50 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:58:51 +0000 (0:00:01.269) 0:00:01.287 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpzotb0bdj/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpzotb0bdj/tests/network/_backup.yml:6 Wednesday 03 August 2022 15:58:51 +0000 (0:00:00.014) 0:00:01.301 ****** ok: [/cache/rhel-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659542329.8985844, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542328.8975844, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "666888805", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/_backup.yml:13 Wednesday 03 August 2022 15:58:52 +0000 (0:00:00.461) 0:00:01.763 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8.qcow2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 752168, 'dev': 64515, 'nlink': 1, 'atime': 1659542329.8985844, 'mtime': 1659542132.0, 'ctime': 1659542328.8975844, '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': '666888805', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659542329.8985844, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542328.8975844, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "666888805", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpzotb0bdj/tests/network/_backup.yml:19 Wednesday 03 August 2022 15:58:52 +0000 (0:00:00.033) 0:00:01.796 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003691", "end": "2022-08-03 11:58:51.734650", "rc": 0, "start": "2022-08-03 11:58:51.730959" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:58:52 +0000 (0:00:00.439) 0:00:02.235 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.46s /tmp/tmpzotb0bdj/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.44s /tmp/tmpzotb0bdj/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpzotb0bdj/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /tmp/tmpzotb0bdj/tests/network/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/tests_auto_gateway_initscripts.yml:4 Wednesday 03 August 2022 15:58:52 +0000 (0:00:00.070) 0:00:02.306 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tests_auto_gateway_initscripts.yml:7 Wednesday 03 August 2022 15:58:53 +0000 (0:00:01.028) 0:00:03.335 ****** included: /tmp/tmpzotb0bdj/tests/network/tasks/el_repo_setup.yml for /cache/rhel-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:58:53 +0000 (0:00:00.026) 0:00:03.362 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:58:53 +0000 (0:00:00.019) 0:00:03.381 ****** included: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml for /cache/rhel-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:58:53 +0000 (0:00:00.026) 0:00:03.407 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:58:54 +0000 (0:00:00.356) 0:00:03.764 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:58:54 +0000 (0:00:00.020) 0:00:03.785 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.404738", "end": "2022-08-03 11:58:54.036075", "rc": 0, "start": "2022-08-03 11:58:53.631337" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:58:54 +0000 (0:00:00.752) 0:00:04.537 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpzotb0bdj/tests/network/tests_auto_gateway_initscripts.yml:8 Wednesday 03 August 2022 15:58:54 +0000 (0:00:00.021) 0:00:04.559 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 15:58:54 +0000 (0:00:00.046) 0:00:04.605 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 15:58:55 +0000 (0:00:00.871) 0:00:05.477 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:58:55 +0000 (0:00:00.065) 0:00:05.542 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:58:55 +0000 (0:00:00.045) 0:00:05.587 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002655", "end": "2022-08-03 11:58:55.487818", "rc": 0, "start": "2022-08-03 11:58:55.485163" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:58:56 +0000 (0:00:00.394) 0:00:05.981 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:58:56 +0000 (0:00:00.046) 0:00:06.028 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 15:58:56 +0000 (0:00:00.041) 0:00:06.070 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:58:56 +0000 (0:00:00.059) 0:00:06.129 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:58:56 +0000 (0:00:00.031) 0:00:06.160 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:58:56 +0000 (0:00:00.029) 0:00:06.190 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:58:56 +0000 (0:00:00.038) 0:00:06.229 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:58:56 +0000 (0:00:00.037) 0:00:06.266 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002541", "end": "2022-08-03 11:58:56.125792", "rc": 0, "start": "2022-08-03 11:58:56.123251" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:58:56 +0000 (0:00:00.353) 0:00:06.620 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:58:57 +0000 (0:00:00.040) 0:00:06.660 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:58:57 +0000 (0:00:00.039) 0:00:06.700 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:58:58 +0000 (0:00:01.652) 0:00:08.352 ****** changed: [/cache/rhel-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.004379", "end": "2022-08-03 11:58:58.222705", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 11:58:58.218326" } changed: [/cache/rhel-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.008978", "end": "2022-08-03 11:58:58.562584", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 11:58:58.553606" } changed: [/cache/rhel-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004653", "end": "2022-08-03 11:58:58.922970", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 11:58:58.918317" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:58:59 +0000 (0:00:01.067) 0:00:09.420 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021177", "end": "2022-08-03 11:58:59.308787", "rc": 0, "start": "2022-08-03 11:58:59.287610" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:59:00 +0000 (0:00:00.391) 0:00:09.811 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:59:00 +0000 (0:00:00.035) 0:00:09.846 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:59:00 +0000 (0:00:00.034) 0:00:09.881 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:59:00 +0000 (0:00:00.033) 0:00:09.915 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:59:00 +0000 (0:00:00.033) 0:00:09.948 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 15:59:00 +0000 (0:00:00.033) 0:00:09.982 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:59:00 +0000 (0:00:00.058) 0:00:10.040 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:59:00 +0000 (0:00:00.040) 0:00:10.081 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659542338.2213416, "block_size": 4096, "blocks": 0, "ctime": 1659542338.2213416, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21706, "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": 1659542338.2213416, "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/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:59:00 +0000 (0:00:00.373) 0:00:10.455 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 15:59:00 +0000 (0:00:00.044) 0:00:10.499 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:59:00 +0000 (0:00:00.041) 0:00:10.541 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:59:00 +0000 (0:00:00.047) 0:00:10.588 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:59:01 +0000 (0:00:00.507) 0:00:11.096 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:59:04 +0000 (0:00:02.624) 0:00:13.721 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:59:05 +0000 (0:00:01.392) 0:00:15.114 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Using network provider: initscripts 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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:59:05 +0000 (0:00:00.062) 0:00:15.176 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:59:05 +0000 (0:00:00.050) 0:00:15.227 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:59:05 +0000 (0:00:00.051) 0:00:15.278 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: bc-1.07.1-5.el8.x86_64", "Installed: network-scripts-10.00.15-1.el8.x86_64", "Installed: network-scripts-team-1.31-2.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:59:07 +0000 (0:00:02.344) 0:00:17.622 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:59:08 +0000 (0:00:00.051) 0:00:17.674 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:59:08 +0000 (0:00:00.066) 0:00:17.741 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:59:08 +0000 (0:00:00.053) 0:00:17.795 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:59:08 +0000 (0:00:00.051) 0:00:17.846 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:59:08 +0000 (0:00:00.050) 0:00:17.897 ****** changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:59:09 +0000 (0:00:00.988) 0:00:18.886 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-47310gcv0sjsi/tmp3cnk1gts" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:59:09 +0000 (0:00:00.400) 0:00:19.286 ****** changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:59:16 +0000 (0:00:06.902) 0:00:26.189 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:59:16 +0000 (0:00:00.049) 0:00:26.238 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:59:16 +0000 (0:00:00.061) 0:00:26.300 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:59:16 +0000 (0:00:00.061) 0:00:26.361 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:59:16 +0000 (0:00:00.050) 0:00:26.411 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 15:59:17 +0000 (0:00:00.528) 0:00:26.940 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:59:17 +0000 (0:00:00.087) 0:00:27.028 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:59:17 +0000 (0:00:00.069) 0:00:27.097 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659542338.2213416, "block_size": 4096, "blocks": 0, "ctime": 1659542338.2213416, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21706, "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": 1659542338.2213416, "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/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:59:17 +0000 (0:00:00.382) 0:00:27.480 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 15:59:17 +0000 (0:00:00.061) 0:00:27.542 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:59:17 +0000 (0:00:00.088) 0:00:27.630 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:59:18 +0000 (0:00:00.084) 0:00:27.715 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:59:18 +0000 (0:00:00.067) 0:00:27.782 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659542349.4905844, "block_size": 4096, "blocks": 8, "ctime": 1659542349.4725842, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17574542, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659542349.4725842, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 242, "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/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:59:18 +0000 (0:00:00.455) 0:00:28.237 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:59:18 +0000 (0:00:00.064) 0:00:28.301 ****** fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.019842", "end": "2022-08-03 11:59:18.216056", "rc": 1, "start": "2022-08-03 11:59:18.196214" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:59:19 +0000 (0:00:00.431) 0:00:28.732 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:59:19 +0000 (0:00:00.047) 0:00:28.780 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002479", "end": "2022-08-03 11:59:18.648730", "rc": 0, "start": "2022-08-03 11:59:18.646251" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:59:19 +0000 (0:00:00.380) 0:00:29.161 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:59:19 +0000 (0:00:00.061) 0:00:29.222 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:59:19 +0000 (0:00:00.059) 0:00:29.282 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 15:59:19 +0000 (0:00:00.057) 0:00:29.340 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002887", "end": "2022-08-03 11:59:19.196890", "rc": 0, "start": "2022-08-03 11:59:19.194003" } STDOUT: default via 203.0.113.1 dev veth0 default via 10.0.2.2 dev eth0 proto dhcp 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 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 15:59:20 +0000 (0:00:00.368) 0:00:29.708 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 15:59:20 +0000 (0:00:00.056) 0:00:29.765 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003097", "end": "2022-08-03 11:59:19.670466", "rc": 0, "start": "2022-08-03 11:59:19.667369" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86295sec pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1695sec hoplimit 64 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 15:59:20 +0000 (0:00:00.417) 0:00:30.182 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 15:59:20 +0000 (0:00:00.048) 0:00:30.231 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:59:20 +0000 (0:00:00.061) 0:00:30.292 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:59:20 +0000 (0:00:00.074) 0:00:30.366 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:59:21 +0000 (0:00:00.539) 0:00:30.906 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:59:23 +0000 (0:00:02.645) 0:00:33.551 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:59:25 +0000 (0:00:01.107) 0:00:34.658 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Using network provider: initscripts 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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:59:25 +0000 (0:00:00.063) 0:00:34.722 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:59:25 +0000 (0:00:00.050) 0:00:34.772 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:59:25 +0000 (0:00:00.052) 0:00:34.824 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:59:25 +0000 (0:00:00.087) 0:00:34.911 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:59:25 +0000 (0:00:00.055) 0:00:34.967 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:59:25 +0000 (0:00:00.055) 0:00:35.023 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:59:25 +0000 (0:00:00.059) 0:00:35.082 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:59:25 +0000 (0:00:00.053) 0:00:35.136 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:59:25 +0000 (0:00:00.126) 0:00:35.262 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:59:26 +0000 (0:00:00.545) 0:00:35.807 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-47310gcv0sjsi/tmpw2ujnakd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:59:26 +0000 (0:00:00.402) 0:00:36.210 ****** changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:59:27 +0000 (0:00:00.611) 0:00:36.822 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:59:27 +0000 (0:00:00.050) 0:00:36.873 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:59:27 +0000 (0:00:00.062) 0:00:36.935 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:59:27 +0000 (0:00:00.062) 0:00:36.998 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:59:27 +0000 (0:00:00.051) 0:00:37.049 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 15:59:27 +0000 (0:00:00.438) 0:00:37.487 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:59:27 +0000 (0:00:00.090) 0:00:37.578 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:59:27 +0000 (0:00:00.060) 0:00:37.638 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:59:28 +0000 (0:00:00.048) 0:00:37.687 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:59:28 +0000 (0:00:00.073) 0:00:37.760 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:59:28 +0000 (0:00:00.069) 0:00:37.830 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002859", "end": "2022-08-03 11:59:27.707027", "rc": 0, "start": "2022-08-03 11:59:27.704168" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:59:28 +0000 (0:00:00.392) 0:00:38.223 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:59:28 +0000 (0:00:00.059) 0:00:38.282 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:59:28 +0000 (0:00:00.061) 0:00:38.343 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:59:30 +0000 (0:00:01.474) 0:00:39.817 ****** skipping: [/cache/rhel-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:59:30 +0000 (0:00:00.066) 0:00:39.884 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:59:30 +0000 (0:00:00.051) 0:00:39.935 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.019038", "end": "2022-08-03 11:59:29.847159", "rc": 0, "start": "2022-08-03 11:59:29.828121" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:59:30 +0000 (0:00:00.426) 0:00:40.362 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:59:30 +0000 (0:00:00.048) 0:00:40.410 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:59:30 +0000 (0:00:00.046) 0:00:40.457 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:59:30 +0000 (0:00:00.048) 0:00:40.505 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 15:59:30 +0000 (0:00:00.044) 0:00:40.550 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 15:59:30 +0000 (0:00:00.052) 0:00:40.603 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:59:31 +0000 (0:00:00.142) 0:00:40.745 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:59:31 +0000 (0:00:00.051) 0:00:40.797 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:59:31 +0000 (0:00:00.048) 0:00:40.845 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:59:31 +0000 (0:00:00.072) 0:00:40.918 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:59:31 +0000 (0:00:00.068) 0:00:40.986 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002591", "end": "2022-08-03 11:59:30.860837", "rc": 0, "start": "2022-08-03 11:59:30.858246" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:59:31 +0000 (0:00:00.386) 0:00:41.372 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:59:31 +0000 (0:00:00.060) 0:00:41.433 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:59:31 +0000 (0:00:00.057) 0:00:41.490 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:59:33 +0000 (0:00:01.427) 0:00:42.917 ****** changed: [/cache/rhel-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.004302", "end": "2022-08-03 11:59:32.805228", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 11:59:32.800926" } changed: [/cache/rhel-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.015586", "end": "2022-08-03 11:59:33.179797", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 11:59:33.164211" } changed: [/cache/rhel-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.009228", "end": "2022-08-03 11:59:33.549184", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 11:59:33.539956" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:59:34 +0000 (0:00:01.150) 0:00:44.068 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.019098", "end": "2022-08-03 11:59:33.973831", "rc": 0, "start": "2022-08-03 11:59:33.954733" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:59:34 +0000 (0:00:00.422) 0:00:44.490 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:59:34 +0000 (0:00:00.051) 0:00:44.541 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:59:34 +0000 (0:00:00.055) 0:00:44.597 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:59:34 +0000 (0:00:00.050) 0:00:44.647 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:59:35 +0000 (0:00:00.055) 0:00:44.703 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:59:35 +0000 (0:00:00.060) 0:00:44.764 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:59:35 +0000 (0:00:00.126) 0:00:44.890 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:59:35 +0000 (0:00:00.528) 0:00:45.419 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:59:37 +0000 (0:00:01.551) 0:00:46.970 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:59:38 +0000 (0:00:01.205) 0:00:48.176 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Using network provider: initscripts 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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:59:38 +0000 (0:00:00.140) 0:00:48.316 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:59:38 +0000 (0:00:00.048) 0:00:48.365 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:59:38 +0000 (0:00:00.056) 0:00:48.421 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:59:38 +0000 (0:00:00.071) 0:00:48.492 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:59:38 +0000 (0:00:00.045) 0:00:48.538 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:59:38 +0000 (0:00:00.051) 0:00:48.589 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:59:38 +0000 (0:00:00.048) 0:00:48.637 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:59:39 +0000 (0:00:00.045) 0:00:48.683 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:59:39 +0000 (0:00:00.050) 0:00:48.734 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:59:39 +0000 (0:00:00.552) 0:00:49.286 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-47310gcv0sjsi/tmpqujonb6f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:59:40 +0000 (0:00:00.400) 0:00:49.687 ****** changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:59:46 +0000 (0:00:06.729) 0:00:56.416 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:59:46 +0000 (0:00:00.054) 0:00:56.471 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:59:46 +0000 (0:00:00.072) 0:00:56.543 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:59:46 +0000 (0:00:00.075) 0:00:56.618 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:59:47 +0000 (0:00:00.053) 0:00:56.671 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 15:59:47 +0000 (0:00:00.413) 0:00:57.085 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:59:47 +0000 (0:00:00.135) 0:00:57.220 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:59:47 +0000 (0:00:00.072) 0:00:57.292 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659542372.8042908, "block_size": 4096, "blocks": 0, "ctime": 1659542372.8042908, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21962, "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": 1659542372.8042908, "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/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:59:48 +0000 (0:00:00.390) 0:00:57.683 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 15:59:48 +0000 (0:00:00.064) 0:00:57.747 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:59:48 +0000 (0:00:00.090) 0:00:57.837 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:59:48 +0000 (0:00:00.071) 0:00:57.909 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:59:48 +0000 (0:00:00.054) 0:00:57.963 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659542379.7175844, "block_size": 4096, "blocks": 8, "ctime": 1659542379.7165844, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17574542, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659542379.7165844, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 241, "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/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:59:48 +0000 (0:00:00.403) 0:00:58.366 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:59:48 +0000 (0:00:00.062) 0:00:58.429 ****** fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017680", "end": "2022-08-03 11:59:48.378481", "rc": 1, "start": "2022-08-03 11:59:48.360801" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:59:49 +0000 (0:00:00.464) 0:00:58.893 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:59:49 +0000 (0:00:00.047) 0:00:58.941 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003004", "end": "2022-08-03 11:59:48.824628", "rc": 0, "start": "2022-08-03 11:59:48.821624" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:59:49 +0000 (0:00:00.399) 0:00:59.341 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:59:49 +0000 (0:00:00.067) 0:00:59.408 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:59:49 +0000 (0:00:00.062) 0:00:59.471 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 15:59:49 +0000 (0:00:00.060) 0:00:59.531 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003023", "end": "2022-08-03 11:59:49.410206", "rc": 0, "start": "2022-08-03 11:59:49.407183" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp 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 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 15:59:50 +0000 (0:00:00.391) 0:00:59.923 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 15:59:50 +0000 (0:00:00.056) 0:00:59.980 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004151", "end": "2022-08-03 11:59:49.860252", "rc": 0, "start": "2022-08-03 11:59:49.856101" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86265sec pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1665sec hoplimit 64 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 15:59:50 +0000 (0:00:00.398) 0:01:00.378 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 15:59:50 +0000 (0:00:00.047) 0:01:00.426 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:59:50 +0000 (0:00:00.094) 0:01:00.520 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:59:51 +0000 (0:00:00.145) 0:01:00.666 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:59:51 +0000 (0:00:00.553) 0:01:01.219 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:59:53 +0000 (0:00:01.575) 0:01:02.795 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:59:54 +0000 (0:00:01.157) 0:01:03.953 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Using network provider: initscripts 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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:59:54 +0000 (0:00:00.104) 0:01:04.058 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:59:54 +0000 (0:00:00.108) 0:01:04.166 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:59:54 +0000 (0:00:00.052) 0:01:04.218 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:59:54 +0000 (0:00:00.076) 0:01:04.295 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:59:54 +0000 (0:00:00.056) 0:01:04.352 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:59:54 +0000 (0:00:00.052) 0:01:04.404 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:59:54 +0000 (0:00:00.051) 0:01:04.456 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:59:54 +0000 (0:00:00.051) 0:01:04.508 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:59:54 +0000 (0:00:00.053) 0:01:04.561 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:59:55 +0000 (0:00:00.554) 0:01:05.115 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-47310gcv0sjsi/tmp6ctf7mdf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:59:55 +0000 (0:00:00.411) 0:01:05.527 ****** changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:59:56 +0000 (0:00:00.669) 0:01:06.197 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:59:56 +0000 (0:00:00.053) 0:01:06.250 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:59:56 +0000 (0:00:00.062) 0:01:06.313 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:59:56 +0000 (0:00:00.060) 0:01:06.374 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:59:56 +0000 (0:00:00.051) 0:01:06.425 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 15:59:57 +0000 (0:00:00.417) 0:01:06.843 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:59:57 +0000 (0:00:00.096) 0:01:06.939 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:59:57 +0000 (0:00:00.047) 0:01:06.987 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:59:57 +0000 (0:00:00.052) 0:01:07.039 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:59:57 +0000 (0:00:00.068) 0:01:07.108 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:59:57 +0000 (0:00:00.067) 0:01:07.176 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003165", "end": "2022-08-03 11:59:57.099260", "rc": 0, "start": "2022-08-03 11:59:57.096095" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:59:57 +0000 (0:00:00.436) 0:01:07.612 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:59:58 +0000 (0:00:00.062) 0:01:07.674 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:59:58 +0000 (0:00:00.061) 0:01:07.736 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:59:59 +0000 (0:00:01.519) 0:01:09.255 ****** skipping: [/cache/rhel-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:59:59 +0000 (0:00:00.063) 0:01:09.319 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:59:59 +0000 (0:00:00.050) 0:01:09.369 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012770", "end": "2022-08-03 11:59:59.275824", "rc": 0, "start": "2022-08-03 11:59:59.263054" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:00:00 +0000 (0:00:00.423) 0:01:09.793 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:00:00 +0000 (0:00:00.081) 0:01:09.875 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:00:00 +0000 (0:00:00.050) 0:01:09.925 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:00:00 +0000 (0:00:00.054) 0:01:09.979 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=137 changed=16 unreachable=0 failed=0 skipped=76 rescued=0 ignored=2 Wednesday 03 August 2022 16:00:00 +0000 (0:00:00.072) 0:01:10.052 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.90s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.73s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 2.65s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.62s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Install packages -------------------- 2.34s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute --------------------------------------------------------- 1.65s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.52s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.47s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.43s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.28s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface veth0 --------------------------------------------- 1.15s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.11s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable network service -------------- 1.10s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Create veth interface veth0 --------------------------------------------- 1.07s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpzotb0bdj/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpzotb0bdj/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:00:00 +0000 (0:00:00.047) 0:01:10.099 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006394", "end": "2022-08-03 11:59:59.952871", "rc": 0, "start": "2022-08-03 11:59:59.946477" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=138 changed=17 unreachable=0 failed=0 skipped=76 rescued=0 ignored=2 Wednesday 03 August 2022 16:00:00 +0000 (0:00:00.391) 0:01:10.490 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.90s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.73s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 2.65s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.62s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Install packages -------------------- 2.34s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute --------------------------------------------------------- 1.65s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.52s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.47s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.43s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.28s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface veth0 --------------------------------------------- 1.15s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.11s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable network service -------------- 1.10s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Create veth interface veth0 --------------------------------------------- 1.07s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/manage_test_interface.yml:21 ---