ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp4wbeq7zn executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 03 August 2022 16:50:42 +0000 (0:00:00.018) 0:00:00.018 ****** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.237764", "end": "2022-08-03 16:50:42.592466", "rc": 0, "start": "2022-08-03 16:50:42.354702" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:50:43 +0000 (0:00:00.844) 0:00:00.863 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.84s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp650e3cfh/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp650e3cfh/tests/_backup.yml:6 Wednesday 03 August 2022 16:50:43 +0000 (0:00:00.016) 0:00:00.879 ****** ok: [/cache/centos-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659545442.0712848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659545441.0702848, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545238.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "846913448", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp650e3cfh/tests/_backup.yml:13 Wednesday 03 August 2022 16:50:44 +0000 (0:00:00.537) 0:00:01.417 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-8.qcow2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 19261, 'dev': 64513, 'nlink': 1, 'atime': 1659545442.0712848, 'mtime': 1659545238.0, 'ctime': 1659545441.0702848, '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': '846913448', '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": 1659545442.0712848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659545441.0702848, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545238.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "846913448", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp650e3cfh/tests/_backup.yml:19 Wednesday 03 August 2022 16:50:44 +0000 (0:00:00.034) 0:00:01.452 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004484", "end": "2022-08-03 16:50:43.580897", "rc": 0, "start": "2022-08-03 16:50:43.576413" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=4 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:50:44 +0000 (0:00:00.398) 0:00:01.850 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.84s /cache/centos-8_setup.yml:5 --------------------------------------------------- Get stats of system files ----------------------------------------------- 0.54s /tmp/tmp650e3cfh/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.40s /tmp/tmp650e3cfh/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp650e3cfh/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /tmp/tmp650e3cfh/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp650e3cfh/tests/tests_auto_gateway_initscripts.yml:4 Wednesday 03 August 2022 16:50:44 +0000 (0:00:00.056) 0:00:01.907 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tests_auto_gateway_initscripts.yml:7 Wednesday 03 August 2022 16:50:45 +0000 (0:00:01.035) 0:00:02.942 ****** included: /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml for /cache/centos-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:50:45 +0000 (0:00:00.026) 0:00:02.969 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:50:45 +0000 (0:00:00.028) 0:00:02.997 ****** included: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml for /cache/centos-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:50:45 +0000 (0:00:00.029) 0:00:03.026 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:50:46 +0000 (0:00:00.378) 0:00:03.405 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:50:46 +0000 (0:00:00.022) 0:00:03.427 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.202652", "end": "2022-08-03 16:50:45.742248", "rc": 0, "start": "2022-08-03 16:50:45.539596" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:50:46 +0000 (0:00:00.581) 0:00:04.008 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp650e3cfh/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 03 August 2022 16:50:46 +0000 (0:00:00.022) 0:00:04.030 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 16:50:46 +0000 (0:00:00.048) 0:00:04.078 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 16:50:47 +0000 (0:00:00.854) 0:00:04.933 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:50:47 +0000 (0:00:00.063) 0:00:04.996 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:50:47 +0000 (0:00:00.052) 0:00:05.048 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003555", "end": "2022-08-03 16:50:47.211578", "rc": 0, "start": "2022-08-03 16:50:47.208023" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:50:48 +0000 (0:00:00.427) 0:00:05.475 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:50:48 +0000 (0:00:00.082) 0:00:05.558 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 16:50:48 +0000 (0:00:00.084) 0:00:05.643 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:50:48 +0000 (0:00:00.091) 0:00:05.734 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:50:48 +0000 (0:00:00.035) 0:00:05.770 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:50:48 +0000 (0:00:00.033) 0:00:05.803 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:50:48 +0000 (0:00:00.044) 0:00:05.848 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:50:48 +0000 (0:00:00.045) 0:00:05.893 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004338", "end": "2022-08-03 16:50:48.019510", "rc": 0, "start": "2022-08-03 16:50:48.015172" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:50:49 +0000 (0:00:00.392) 0:00:06.286 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:50:49 +0000 (0:00:00.046) 0:00:06.332 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:50:49 +0000 (0:00:00.044) 0:00:06.377 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:50:51 +0000 (0:00:02.821) 0:00:09.198 ****** changed: [/cache/centos-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.006131", "end": "2022-08-03 16:50:51.353191", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:50:51.347060" } changed: [/cache/centos-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.014097", "end": "2022-08-03 16:50:51.715588", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:50:51.701491" } changed: [/cache/centos-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.013244", "end": "2022-08-03 16:50:52.087613", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:50:52.074369" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:50:53 +0000 (0:00:01.160) 0:00:10.359 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.026625", "end": "2022-08-03 16:50:52.506706", "rc": 0, "start": "2022-08-03 16:50:52.480081" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:50:53 +0000 (0:00:00.424) 0:00:10.783 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:50:53 +0000 (0:00:00.038) 0:00:10.821 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:50:53 +0000 (0:00:00.037) 0:00:10.858 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:50:53 +0000 (0:00:00.034) 0:00:10.893 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:50:53 +0000 (0:00:00.034) 0:00:10.928 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 16:50:53 +0000 (0:00:00.035) 0:00:10.963 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:50:53 +0000 (0:00:00.064) 0:00:11.028 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:50:53 +0000 (0:00:00.043) 0:00:11.072 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659545451.3515997, "block_size": 4096, "blocks": 0, "ctime": 1659545451.3515997, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21413, "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": 1659545451.3515997, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:50:54 +0000 (0:00:00.390) 0:00:11.463 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 16:50:54 +0000 (0:00:00.044) 0:00:11.507 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:50:54 +0000 (0:00:00.043) 0:00:11.551 ****** included: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:50:54 +0000 (0:00:00.049) 0:00:11.601 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:50:54 +0000 (0:00:00.531) 0:00:12.132 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:50:56 +0000 (0:00:01.643) 0:00:13.775 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:50:58 +0000 (0:00:01.543) 0:00:15.319 ****** ok: [/cache/centos-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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.060) 0:00:15.380 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.049) 0:00:15.430 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.049) 0:00:15.479 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.17-1.el8.x86_64", "Installed: bc-1.07.1-5.el8.x86_64", "Installed: initscripts-10.00.17-1.el8.x86_64", "Installed: network-scripts-team-1.31-2.el8.x86_64", "Removed: initscripts-10.00.15-1.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:51:02 +0000 (0:00:03.966) 0:00:19.446 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:51:02 +0000 (0:00:00.049) 0:00:19.495 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:51:02 +0000 (0:00:00.088) 0:00:19.584 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:51:02 +0000 (0:00:00.057) 0:00:19.642 ****** skipping: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:51:02 +0000 (0:00:00.050) 0:00:19.692 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:51:02 +0000 (0:00:00.048) 0:00:19.740 ****** changed: [/cache/centos-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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:51:03 +0000 (0:00:01.057) 0:00:20.797 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8463122bs0tf6/tmpf5klurml" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:51:03 +0000 (0:00:00.447) 0:00:21.244 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:51:10 +0000 (0:00:06.945) 0:00:28.190 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.051) 0:00:28.242 ****** ok: [/cache/centos-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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:51:11 +0000 (0:00:00.057) 0:00:28.300 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:51:11 +0000 (0:00:00.059) 0:00:28.359 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:51:11 +0000 (0:00:00.053) 0:00:28.413 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 16:51:11 +0000 (0:00:00.596) 0:00:29.010 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:51:11 +0000 (0:00:00.097) 0:00:29.107 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:51:11 +0000 (0:00:00.075) 0:00:29.183 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659545451.3515997, "block_size": 4096, "blocks": 0, "ctime": 1659545451.3515997, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21413, "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": 1659545451.3515997, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:51:12 +0000 (0:00:00.417) 0:00:29.600 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 16:51:12 +0000 (0:00:00.059) 0:00:29.660 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:51:12 +0000 (0:00:00.086) 0:00:29.746 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:51:12 +0000 (0:00:00.068) 0:00:29.815 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:51:12 +0000 (0:00:00.054) 0:00:29.869 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659545463.7052848, "block_size": 4096, "blocks": 8, "ctime": 1659545463.6862848, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5763468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545463.6862848, "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/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:51:13 +0000 (0:00:00.415) 0:00:30.284 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:51:13 +0000 (0:00:00.059) 0:00:30.344 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021987", "end": "2022-08-03 16:51:12.540492", "rc": 1, "start": "2022-08-03 16:51:12.518505" } 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/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:51:13 +0000 (0:00:00.475) 0:00:30.819 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:51:13 +0000 (0:00:00.050) 0:00:30.870 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.004412", "end": "2022-08-03 16:51:14.001060", "rc": 0, "start": "2022-08-03 16:51:12.996648" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:51:15 +0000 (0:00:01.417) 0:00:32.287 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:51:15 +0000 (0:00:00.065) 0:00:32.352 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:51:15 +0000 (0:00:00.062) 0:00:32.415 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 16:51:15 +0000 (0:00:00.061) 0:00:32.476 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004248", "end": "2022-08-03 16:51:14.611845", "rc": 0, "start": "2022-08-03 16:51:14.607597" } STDOUT: default via 203.0.113.1 dev veth0 default via 10.0.2.2 dev eth0 proto dhcp metric 100 default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 16:51:15 +0000 (0:00:00.460) 0:00:32.936 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 16:51:15 +0000 (0:00:00.063) 0:00:33.000 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004726", "end": "2022-08-03 16:51:15.146192", "rc": 0, "start": "2022-08-03 16:51:15.141466" } 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 86292sec pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1692sec hoplimit 64 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.427) 0:00:33.428 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.049) 0:00:33.478 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.057) 0:00:33.535 ****** included: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.071) 0:00:33.607 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.546) 0:00:34.154 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:51:18 +0000 (0:00:01.565) 0:00:35.719 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:51:19 +0000 (0:00:01.261) 0:00:36.981 ****** ok: [/cache/centos-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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.061) 0:00:37.043 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.050) 0:00:37.093 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.051) 0:00:37.145 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.075) 0:00:37.221 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.048) 0:00:37.270 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:51:20 +0000 (0:00:00.051) 0:00:37.321 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:51:20 +0000 (0:00:00.051) 0:00:37.373 ****** skipping: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:51:20 +0000 (0:00:00.053) 0:00:37.427 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:51:20 +0000 (0:00:00.053) 0:00:37.480 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:51:20 +0000 (0:00:00.600) 0:00:38.081 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8463122bs0tf6/tmpweyrnbo8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:51:21 +0000 (0:00:00.434) 0:00:38.515 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:51:21 +0000 (0:00:00.655) 0:00:39.170 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:51:21 +0000 (0:00:00.057) 0:00:39.228 ****** ok: [/cache/centos-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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:51:22 +0000 (0:00:00.065) 0:00:39.294 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:51:22 +0000 (0:00:00.061) 0:00:39.355 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:51:22 +0000 (0:00:00.049) 0:00:39.405 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 16:51:22 +0000 (0:00:00.456) 0:00:39.861 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:51:22 +0000 (0:00:00.093) 0:00:39.955 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:51:22 +0000 (0:00:00.051) 0:00:40.007 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:51:22 +0000 (0:00:00.049) 0:00:40.056 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:51:22 +0000 (0:00:00.070) 0:00:40.127 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:51:22 +0000 (0:00:00.071) 0:00:40.199 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003276", "end": "2022-08-03 16:51:22.324734", "rc": 0, "start": "2022-08-03 16:51:22.321458" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:51:23 +0000 (0:00:00.405) 0:00:40.604 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:51:23 +0000 (0:00:00.059) 0:00:40.664 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:51:23 +0000 (0:00:00.059) 0:00:40.723 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:51:25 +0000 (0:00:02.059) 0:00:42.783 ****** skipping: [/cache/centos-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:51:25 +0000 (0:00:00.065) 0:00:42.849 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:51:25 +0000 (0:00:00.057) 0:00:42.906 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015733", "end": "2022-08-03 16:51:25.068532", "rc": 0, "start": "2022-08-03 16:51:25.052799" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:51:26 +0000 (0:00:00.442) 0:00:43.349 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:51:26 +0000 (0:00:00.051) 0:00:43.400 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:51:26 +0000 (0:00:00.049) 0:00:43.450 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:51:26 +0000 (0:00:00.050) 0:00:43.500 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 16:51:26 +0000 (0:00:00.049) 0:00:43.550 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 16:51:26 +0000 (0:00:00.060) 0:00:43.611 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:51:26 +0000 (0:00:00.143) 0:00:43.754 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:51:26 +0000 (0:00:00.050) 0:00:43.805 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:51:26 +0000 (0:00:00.046) 0:00:43.851 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:51:26 +0000 (0:00:00.068) 0:00:43.919 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:51:26 +0000 (0:00:00.069) 0:00:43.989 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004571", "end": "2022-08-03 16:51:26.135068", "rc": 0, "start": "2022-08-03 16:51:26.130497" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:51:27 +0000 (0:00:00.424) 0:00:44.414 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:51:27 +0000 (0:00:00.057) 0:00:44.471 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:51:27 +0000 (0:00:00.056) 0:00:44.528 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:51:29 +0000 (0:00:01.963) 0:00:46.491 ****** changed: [/cache/centos-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.006524", "end": "2022-08-03 16:51:28.629814", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:51:28.623290" } changed: [/cache/centos-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.013926", "end": "2022-08-03 16:51:29.029534", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:51:29.015608" } changed: [/cache/centos-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.015331", "end": "2022-08-03 16:51:29.409781", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:51:29.394450" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:51:30 +0000 (0:00:01.203) 0:00:47.694 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.025477", "end": "2022-08-03 16:51:29.860232", "rc": 0, "start": "2022-08-03 16:51:29.834755" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:51:30 +0000 (0:00:00.454) 0:00:48.149 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:51:30 +0000 (0:00:00.048) 0:00:48.198 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:51:30 +0000 (0:00:00.048) 0:00:48.247 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:51:31 +0000 (0:00:00.050) 0:00:48.297 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:51:31 +0000 (0:00:00.049) 0:00:48.347 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:51:31 +0000 (0:00:00.052) 0:00:48.400 ****** included: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:51:31 +0000 (0:00:00.130) 0:00:48.530 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:51:31 +0000 (0:00:00.546) 0:00:49.076 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:51:33 +0000 (0:00:01.557) 0:00:50.634 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:51:34 +0000 (0:00:01.250) 0:00:51.884 ****** ok: [/cache/centos-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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:51:34 +0000 (0:00:00.058) 0:00:51.943 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:51:34 +0000 (0:00:00.089) 0:00:52.032 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:51:34 +0000 (0:00:00.051) 0:00:52.084 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:51:34 +0000 (0:00:00.074) 0:00:52.158 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:51:34 +0000 (0:00:00.054) 0:00:52.212 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:51:34 +0000 (0:00:00.050) 0:00:52.263 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:51:35 +0000 (0:00:00.055) 0:00:52.319 ****** skipping: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:51:35 +0000 (0:00:00.048) 0:00:52.367 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:51:35 +0000 (0:00:00.049) 0:00:52.416 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:51:35 +0000 (0:00:00.570) 0:00:52.987 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8463122bs0tf6/tmpifb7ohgt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:51:36 +0000 (0:00:00.424) 0:00:53.412 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:51:42 +0000 (0:00:06.705) 0:01:00.118 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:51:42 +0000 (0:00:00.052) 0:01:00.170 ****** ok: [/cache/centos-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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:51:42 +0000 (0:00:00.059) 0:01:00.230 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:51:43 +0000 (0:00:00.064) 0:01:00.294 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:51:43 +0000 (0:00:00.061) 0:01:00.356 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 16:51:43 +0000 (0:00:00.419) 0:01:00.775 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:51:43 +0000 (0:00:00.140) 0:01:00.916 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:51:43 +0000 (0:00:00.073) 0:01:00.989 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659545488.6288195, "block_size": 4096, "blocks": 0, "ctime": 1659545488.6288195, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21669, "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": 1659545488.6288195, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.403) 0:01:01.392 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.062) 0:01:01.455 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.095) 0:01:01.550 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.078) 0:01:01.628 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.059) 0:01:01.688 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659545495.661285, "block_size": 4096, "blocks": 8, "ctime": 1659545495.6422849, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5763468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545495.6422849, "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/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.412) 0:01:02.101 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:51:44 +0000 (0:00:00.059) 0:01:02.160 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021839", "end": "2022-08-03 16:51:44.365003", "rc": 1, "start": "2022-08-03 16:51:44.343164" } 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/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:51:45 +0000 (0:00:00.486) 0:01:02.647 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:51:45 +0000 (0:00:00.048) 0:01:02.695 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003847", "end": "2022-08-03 16:51:44.841377", "rc": 0, "start": "2022-08-03 16:51:44.837530" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:51:45 +0000 (0:00:00.433) 0:01:03.129 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:51:45 +0000 (0:00:00.064) 0:01:03.193 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:51:45 +0000 (0:00:00.062) 0:01:03.256 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.062) 0:01:03.318 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003678", "end": "2022-08-03 16:51:45.454730", "rc": 0, "start": "2022-08-03 16:51:45.451052" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp metric 100 default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.416) 0:01:03.734 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.060) 0:01:03.795 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003665", "end": "2022-08-03 16:51:45.927922", "rc": 0, "start": "2022-08-03 16:51:45.924257" } 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 86261sec pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1661sec hoplimit 64 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.412) 0:01:04.207 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 16:51:46 +0000 (0:00:00.054) 0:01:04.262 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:51:47 +0000 (0:00:00.162) 0:01:04.425 ****** included: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:51:47 +0000 (0:00:00.072) 0:01:04.497 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:51:47 +0000 (0:00:00.526) 0:01:05.023 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:51:49 +0000 (0:00:01.540) 0:01:06.564 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:51:50 +0000 (0:00:01.161) 0:01:07.726 ****** ok: [/cache/centos-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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:51:50 +0000 (0:00:00.171) 0:01:07.898 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:51:50 +0000 (0:00:00.049) 0:01:07.947 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:51:50 +0000 (0:00:00.052) 0:01:08.000 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:51:50 +0000 (0:00:00.074) 0:01:08.074 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:51:50 +0000 (0:00:00.049) 0:01:08.124 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:51:50 +0000 (0:00:00.048) 0:01:08.173 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:51:50 +0000 (0:00:00.051) 0:01:08.224 ****** skipping: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:51:50 +0000 (0:00:00.050) 0:01:08.275 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:51:51 +0000 (0:00:00.050) 0:01:08.326 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:51:51 +0000 (0:00:00.551) 0:01:08.877 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8463122bs0tf6/tmp7sw9z72_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:51:52 +0000 (0:00:00.441) 0:01:09.319 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:51:52 +0000 (0:00:00.680) 0:01:09.999 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:51:52 +0000 (0:00:00.048) 0:01:10.048 ****** ok: [/cache/centos-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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:51:52 +0000 (0:00:00.054) 0:01:10.102 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:51:52 +0000 (0:00:00.061) 0:01:10.163 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:51:52 +0000 (0:00:00.052) 0:01:10.216 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.440) 0:01:10.657 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.099) 0:01:10.756 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.049) 0:01:10.806 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.050) 0:01:10.857 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.070) 0:01:10.927 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:51:53 +0000 (0:00:00.068) 0:01:10.996 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003774", "end": "2022-08-03 16:51:53.173861", "rc": 0, "start": "2022-08-03 16:51:53.170087" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:51:54 +0000 (0:00:00.454) 0:01:11.451 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:51:54 +0000 (0:00:00.059) 0:01:11.510 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:51:54 +0000 (0:00:00.058) 0:01:11.569 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:51:56 +0000 (0:00:02.214) 0:01:13.783 ****** skipping: [/cache/centos-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:51:56 +0000 (0:00:00.062) 0:01:13.846 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:51:56 +0000 (0:00:00.052) 0:01:13.898 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014370", "end": "2022-08-03 16:51:56.063696", "rc": 0, "start": "2022-08-03 16:51:56.049326" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:51:57 +0000 (0:00:00.450) 0:01:14.349 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:51:57 +0000 (0:00:00.051) 0:01:14.400 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:51:57 +0000 (0:00:00.112) 0:01:14.512 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:51:57 +0000 (0:00:00.054) 0:01:14.566 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=137 changed=17 unreachable=0 failed=0 skipped=76 rescued=0 ignored=2 Wednesday 03 August 2022 16:51:57 +0000 (0:00:00.067) 0:01:14.634 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.95s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 6.71s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Install packages --------------------------- 3.97s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- Install iproute --------------------------------------------------------- 2.82s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.21s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.06s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 1.96s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 1.64s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.57s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.56s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.54s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.54s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.42s /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 ---------------- linux-system-roles.network : Configure networking connection profiles --- 1.34s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 1.26s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.25s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 1.20s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 1.16s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 1.16s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable network service --------------------- 1.15s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp650e3cfh/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp650e3cfh/tests/_restore.yml:4 Wednesday 03 August 2022 16:51:57 +0000 (0:00:00.041) 0:01:14.676 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007003", "end": "2022-08-03 16:51:56.788200", "rc": 0, "start": "2022-08-03 16:51:56.781197" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=138 changed=18 unreachable=0 failed=0 skipped=76 rescued=0 ignored=2 Wednesday 03 August 2022 16:51:57 +0000 (0:00:00.416) 0:01:15.092 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.95s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 6.71s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Install packages --------------------------- 3.97s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- Install iproute --------------------------------------------------------- 2.82s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.21s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.06s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 1.96s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 1.64s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.57s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.56s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.54s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.54s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.42s /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 ---------------- linux-system-roles.network : Configure networking connection profiles --- 1.34s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 1.26s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.25s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 1.20s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 1.16s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 1.16s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable network service --------------------- 1.15s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp4wbeq7zn executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 03 August 2022 17:29:56 +0000 (0:00:00.019) 0:00:00.020 ****** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.240992", "end": "2022-08-03 17:29:55.966917", "rc": 0, "start": "2022-08-03 17:29:55.725925" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:29:57 +0000 (0:00:00.833) 0:00:00.853 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.83s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpjloc5qmw/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpjloc5qmw/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:29:57 +0000 (0:00:00.017) 0:00:00.870 ****** ok: [/cache/centos-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659547795.4830773, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547794.4820774, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659547587.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1035726012", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:29:57 +0000 (0:00:00.507) 0:00:01.378 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-8.qcow2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 19307, 'dev': 64513, 'nlink': 1, 'atime': 1659547795.4830773, 'mtime': 1659547587.0, 'ctime': 1659547794.4820774, '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': '1035726012', '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": 1659547795.4830773, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547794.4820774, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659547587.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1035726012", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:29:57 +0000 (0:00:00.056) 0:00:01.434 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004402", "end": "2022-08-03 17:29:56.930909", "rc": 0, "start": "2022-08-03 17:29:56.926507" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=4 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:29:58 +0000 (0:00:00.381) 0:00:01.815 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.83s /cache/centos-8_setup.yml:5 --------------------------------------------------- Get stats of system files ----------------------------------------------- 0.51s /tmp/tmpjloc5qmw/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.38s /tmp/tmpjloc5qmw/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.06s /tmp/tmpjloc5qmw/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /tmp/tmpjloc5qmw/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/tmpjloc5qmw/tests/network/tests_auto_gateway_initscripts.yml:4 Wednesday 03 August 2022 17:29:58 +0000 (0:00:00.071) 0:00:01.887 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tests_auto_gateway_initscripts.yml:7 Wednesday 03 August 2022 17:29:59 +0000 (0:00:01.015) 0:00:02.902 ****** included: /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml for /cache/centos-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:29:59 +0000 (0:00:00.026) 0:00:02.929 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:29:59 +0000 (0:00:00.020) 0:00:02.950 ****** included: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml for /cache/centos-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:29:59 +0000 (0:00:00.029) 0:00:02.979 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:29:59 +0000 (0:00:00.387) 0:00:03.366 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:29:59 +0000 (0:00:00.021) 0:00:03.387 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.217076", "end": "2022-08-03 17:29:59.095465", "rc": 0, "start": "2022-08-03 17:29:58.878389" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:30:00 +0000 (0:00:00.586) 0:00:03.974 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpjloc5qmw/tests/network/tests_auto_gateway_initscripts.yml:8 Wednesday 03 August 2022 17:30:00 +0000 (0:00:00.021) 0:00:03.995 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 17:30:00 +0000 (0:00:00.046) 0:00:04.041 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 17:30:01 +0000 (0:00:00.817) 0:00:04.859 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:30:01 +0000 (0:00:00.062) 0:00:04.921 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:30:01 +0000 (0:00:00.040) 0:00:04.962 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004564", "end": "2022-08-03 17:30:00.524693", "rc": 0, "start": "2022-08-03 17:30:00.520129" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:30:01 +0000 (0:00:00.445) 0:00:05.407 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:30:01 +0000 (0:00:00.046) 0:00:05.453 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 17:30:01 +0000 (0:00:00.077) 0:00:05.531 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:30:02 +0000 (0:00:00.070) 0:00:05.601 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:30:02 +0000 (0:00:00.083) 0:00:05.684 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:30:02 +0000 (0:00:00.037) 0:00:05.722 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:30:02 +0000 (0:00:00.045) 0:00:05.767 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:30:02 +0000 (0:00:00.042) 0:00:05.810 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003231", "end": "2022-08-03 17:30:01.313162", "rc": 0, "start": "2022-08-03 17:30:01.309931" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:30:02 +0000 (0:00:00.379) 0:00:06.190 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:30:02 +0000 (0:00:00.042) 0:00:06.232 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:30:02 +0000 (0:00:00.044) 0:00:06.277 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:30:05 +0000 (0:00:02.769) 0:00:09.046 ****** changed: [/cache/centos-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.005021", "end": "2022-08-03 17:30:04.574449", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 17:30:04.569428" } changed: [/cache/centos-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.007939", "end": "2022-08-03 17:30:04.940242", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 17:30:04.932303" } changed: [/cache/centos-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004983", "end": "2022-08-03 17:30:05.289716", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 17:30:05.284733" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:30:06 +0000 (0:00:01.123) 0:00:10.170 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.026231", "end": "2022-08-03 17:30:05.713929", "rc": 0, "start": "2022-08-03 17:30:05.687698" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:30:07 +0000 (0:00:00.428) 0:00:10.599 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:30:07 +0000 (0:00:00.036) 0:00:10.635 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:30:07 +0000 (0:00:00.036) 0:00:10.671 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:30:07 +0000 (0:00:00.033) 0:00:10.705 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:30:07 +0000 (0:00:00.033) 0:00:10.738 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 17:30:07 +0000 (0:00:00.032) 0:00:10.770 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:30:07 +0000 (0:00:00.058) 0:00:10.829 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:30:07 +0000 (0:00:00.043) 0:00:10.872 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547804.5732718, "block_size": 4096, "blocks": 0, "ctime": 1659547804.5732718, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21413, "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": 1659547804.5732718, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:30:07 +0000 (0:00:00.386) 0:00:11.258 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 17:30:07 +0000 (0:00:00.045) 0:00:11.304 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:30:07 +0000 (0:00:00.044) 0:00:11.348 ****** included: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:30:07 +0000 (0:00:00.048) 0:00:11.397 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:30:08 +0000 (0:00:00.537) 0:00:11.934 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:30:09 +0000 (0:00:01.620) 0:00:13.555 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:30:11 +0000 (0:00:01.441) 0:00:14.997 ****** ok: [/cache/centos-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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.060) 0:00:15.058 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.052) 0:00:15.110 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.047) 0:00:15.158 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.17-1.el8.x86_64", "Installed: bc-1.07.1-5.el8.x86_64", "Installed: initscripts-10.00.17-1.el8.x86_64", "Installed: network-scripts-team-1.31-2.el8.x86_64", "Removed: initscripts-10.00.15-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:30:15 +0000 (0:00:03.957) 0:00:19.116 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:30:15 +0000 (0:00:00.049) 0:00:19.165 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:30:15 +0000 (0:00:00.056) 0:00:19.221 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:30:15 +0000 (0:00:00.054) 0:00:19.276 ****** skipping: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:30:15 +0000 (0:00:00.060) 0:00:19.336 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:30:15 +0000 (0:00:00.084) 0:00:19.421 ****** changed: [/cache/centos-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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:30:16 +0000 (0:00:01.044) 0:00:20.466 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-134209ckncc088/tmp9qtkzp2m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:30:17 +0000 (0:00:00.440) 0:00:20.906 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:30:24 +0000 (0:00:06.894) 0:00:27.801 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:30:24 +0000 (0:00:00.053) 0:00:27.855 ****** ok: [/cache/centos-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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:30:24 +0000 (0:00:00.096) 0:00:27.951 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:30:24 +0000 (0:00:00.091) 0:00:28.042 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:30:24 +0000 (0:00:00.051) 0:00:28.094 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 17:30:25 +0000 (0:00:00.510) 0:00:28.604 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:30:25 +0000 (0:00:00.096) 0:00:28.700 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:30:25 +0000 (0:00:00.068) 0:00:28.769 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547804.5732718, "block_size": 4096, "blocks": 0, "ctime": 1659547804.5732718, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21413, "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": 1659547804.5732718, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:30:25 +0000 (0:00:00.423) 0:00:29.192 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 17:30:25 +0000 (0:00:00.059) 0:00:29.251 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:30:25 +0000 (0:00:00.093) 0:00:29.345 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:30:25 +0000 (0:00:00.110) 0:00:29.456 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:30:25 +0000 (0:00:00.061) 0:00:29.517 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547816.7080772, "block_size": 4096, "blocks": 8, "ctime": 1659547816.6890774, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5763468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547816.6890774, "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/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:30:26 +0000 (0:00:00.445) 0:00:29.962 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:30:26 +0000 (0:00:00.065) 0:00:30.028 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.038239", "end": "2022-08-03 17:30:25.694175", "rc": 1, "start": "2022-08-03 17:30:25.655936" } 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/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:30:27 +0000 (0:00:00.568) 0:00:30.597 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:30:27 +0000 (0:00:00.053) 0:00:30.650 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003109", "end": "2022-08-03 17:30:26.166488", "rc": 0, "start": "2022-08-03 17:30:26.163379" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:30:27 +0000 (0:00:00.411) 0:00:31.062 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:30:27 +0000 (0:00:00.061) 0:00:31.124 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:30:27 +0000 (0:00:00.063) 0:00:31.187 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 17:30:27 +0000 (0:00:00.060) 0:00:31.248 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004094", "end": "2022-08-03 17:30:26.770929", "rc": 0, "start": "2022-08-03 17:30:26.766835" } STDOUT: default via 203.0.113.1 dev veth0 default via 10.0.2.2 dev eth0 proto dhcp metric 100 default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 17:30:28 +0000 (0:00:00.417) 0:00:31.666 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 17:30:28 +0000 (0:00:00.060) 0:00:31.726 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003218", "end": "2022-08-03 17:30:27.237894", "rc": 0, "start": "2022-08-03 17:30:27.234676" } 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 86294sec pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1694sec hoplimit 64 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 17:30:28 +0000 (0:00:00.402) 0:00:32.129 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 17:30:28 +0000 (0:00:00.048) 0:00:32.177 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:30:28 +0000 (0:00:00.060) 0:00:32.237 ****** included: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:30:28 +0000 (0:00:00.073) 0:00:32.310 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:30:29 +0000 (0:00:00.555) 0:00:32.866 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:30:30 +0000 (0:00:01.553) 0:00:34.420 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:30:32 +0000 (0:00:01.206) 0:00:35.626 ****** ok: [/cache/centos-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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:30:32 +0000 (0:00:00.063) 0:00:35.690 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:30:32 +0000 (0:00:00.051) 0:00:35.742 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:30:32 +0000 (0:00:00.049) 0:00:35.791 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:30:32 +0000 (0:00:00.077) 0:00:35.868 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:30:32 +0000 (0:00:00.053) 0:00:35.921 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:30:32 +0000 (0:00:00.088) 0:00:36.010 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:30:32 +0000 (0:00:00.058) 0:00:36.068 ****** skipping: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:30:32 +0000 (0:00:00.053) 0:00:36.121 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:30:32 +0000 (0:00:00.051) 0:00:36.173 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:30:33 +0000 (0:00:00.565) 0:00:36.738 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-134209ckncc088/tmpy_4_azbk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:30:33 +0000 (0:00:00.430) 0:00:37.169 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:30:34 +0000 (0:00:00.631) 0:00:37.801 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:30:34 +0000 (0:00:00.051) 0:00:37.852 ****** ok: [/cache/centos-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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:30:34 +0000 (0:00:00.062) 0:00:37.915 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:30:34 +0000 (0:00:00.099) 0:00:38.014 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:30:34 +0000 (0:00:00.114) 0:00:38.128 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 17:30:34 +0000 (0:00:00.418) 0:00:38.546 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.095) 0:00:38.642 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.048) 0:00:38.690 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.049) 0:00:38.740 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.071) 0:00:38.811 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.071) 0:00:38.883 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003304", "end": "2022-08-03 17:30:34.397340", "rc": 0, "start": "2022-08-03 17:30:34.394036" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.407) 0:00:39.291 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.064) 0:00:39.355 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.055) 0:00:39.411 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:30:37 +0000 (0:00:02.166) 0:00:41.577 ****** skipping: [/cache/centos-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.063) 0:00:41.641 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.050) 0:00:41.691 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.016751", "end": "2022-08-03 17:30:37.220023", "rc": 0, "start": "2022-08-03 17:30:37.203272" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.422) 0:00:42.113 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.050) 0:00:42.164 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.048) 0:00:42.213 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.048) 0:00:42.261 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.086) 0:00:42.348 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.060) 0:00:42.408 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.091) 0:00:42.500 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.046) 0:00:42.547 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.048) 0:00:42.595 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.070) 0:00:42.666 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.070) 0:00:42.736 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003695", "end": "2022-08-03 17:30:38.245706", "rc": 0, "start": "2022-08-03 17:30:38.242011" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.402) 0:00:43.139 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.060) 0:00:43.200 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.059) 0:00:43.259 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:30:41 +0000 (0:00:01.971) 0:00:45.231 ****** changed: [/cache/centos-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.009396", "end": "2022-08-03 17:30:40.779169", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 17:30:40.769773" } changed: [/cache/centos-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.014636", "end": "2022-08-03 17:30:41.157351", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 17:30:41.142715" } changed: [/cache/centos-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005931", "end": "2022-08-03 17:30:41.541666", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 17:30:41.535735" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:30:42 +0000 (0:00:01.209) 0:00:46.441 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024974", "end": "2022-08-03 17:30:41.981809", "rc": 0, "start": "2022-08-03 17:30:41.956835" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:30:43 +0000 (0:00:00.438) 0:00:46.879 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:30:43 +0000 (0:00:00.049) 0:00:46.929 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:30:43 +0000 (0:00:00.050) 0:00:46.980 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:30:43 +0000 (0:00:00.051) 0:00:47.031 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:30:43 +0000 (0:00:00.057) 0:00:47.089 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:30:43 +0000 (0:00:00.051) 0:00:47.140 ****** included: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:30:43 +0000 (0:00:00.156) 0:00:47.297 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:30:44 +0000 (0:00:00.564) 0:00:47.861 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:30:45 +0000 (0:00:01.545) 0:00:49.406 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:30:47 +0000 (0:00:01.220) 0:00:50.627 ****** ok: [/cache/centos-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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.152) 0:00:50.779 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.052) 0:00:50.831 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.054) 0:00:50.886 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.076) 0:00:50.963 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.050) 0:00:51.013 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.051) 0:00:51.065 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.051) 0:00:51.117 ****** skipping: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.055) 0:00:51.172 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.049) 0:00:51.222 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.580) 0:00:51.803 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-134209ckncc088/tmpmvj4rg60" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.414) 0:00:52.217 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:30:55 +0000 (0:00:06.742) 0:00:58.959 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:30:55 +0000 (0:00:00.052) 0:00:59.012 ****** ok: [/cache/centos-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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:30:55 +0000 (0:00:00.066) 0:00:59.079 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:30:55 +0000 (0:00:00.064) 0:00:59.144 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:30:55 +0000 (0:00:00.054) 0:00:59.198 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 17:30:56 +0000 (0:00:00.436) 0:00:59.634 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:30:56 +0000 (0:00:00.137) 0:00:59.772 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:30:56 +0000 (0:00:00.071) 0:00:59.843 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547840.7743602, "block_size": 4096, "blocks": 0, "ctime": 1659547840.7743602, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21669, "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": 1659547840.7743602, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:30:56 +0000 (0:00:00.406) 0:01:00.250 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 17:30:56 +0000 (0:00:00.063) 0:01:00.313 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:30:56 +0000 (0:00:00.092) 0:01:00.406 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:30:56 +0000 (0:00:00.068) 0:01:00.475 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:30:56 +0000 (0:00:00.056) 0:01:00.531 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547847.8650773, "block_size": 4096, "blocks": 8, "ctime": 1659547847.8640773, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5763468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547847.8640773, "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/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:30:57 +0000 (0:00:00.421) 0:01:00.953 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:30:57 +0000 (0:00:00.061) 0:01:01.014 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020217", "end": "2022-08-03 17:30:56.541710", "rc": 1, "start": "2022-08-03 17:30:56.521493" } 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/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:30:57 +0000 (0:00:00.419) 0:01:01.433 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:30:57 +0000 (0:00:00.050) 0:01:01.484 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.004633", "end": "2022-08-03 17:30:58.001746", "rc": 0, "start": "2022-08-03 17:30:56.997113" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:30:59 +0000 (0:00:01.419) 0:01:02.904 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:30:59 +0000 (0:00:00.065) 0:01:02.969 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:30:59 +0000 (0:00:00.062) 0:01:03.032 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 17:30:59 +0000 (0:00:00.060) 0:01:03.092 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003737", "end": "2022-08-03 17:30:58.597964", "rc": 0, "start": "2022-08-03 17:30:58.594227" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp metric 100 default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 17:30:59 +0000 (0:00:00.402) 0:01:03.494 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 17:30:59 +0000 (0:00:00.058) 0:01:03.552 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003741", "end": "2022-08-03 17:30:59.112411", "rc": 0, "start": "2022-08-03 17:30:59.108670" } 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 86376sec pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1776sec hoplimit 64 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 17:31:00 +0000 (0:00:00.455) 0:01:04.008 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 17:31:00 +0000 (0:00:00.056) 0:01:04.064 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:31:00 +0000 (0:00:00.073) 0:01:04.137 ****** included: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:31:00 +0000 (0:00:00.081) 0:01:04.218 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:31:01 +0000 (0:00:00.557) 0:01:04.776 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:31:04 +0000 (0:00:03.555) 0:01:08.331 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:31:05 +0000 (0:00:01.213) 0:01:09.545 ****** ok: [/cache/centos-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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:31:06 +0000 (0:00:00.060) 0:01:09.605 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:31:06 +0000 (0:00:00.053) 0:01:09.658 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:31:06 +0000 (0:00:00.051) 0:01:09.710 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:31:06 +0000 (0:00:00.076) 0:01:09.786 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:31:06 +0000 (0:00:00.048) 0:01:09.835 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:31:06 +0000 (0:00:00.051) 0:01:09.886 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:31:06 +0000 (0:00:00.056) 0:01:09.943 ****** skipping: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:31:06 +0000 (0:00:00.052) 0:01:09.995 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:31:06 +0000 (0:00:00.049) 0:01:10.045 ****** ok: [/cache/centos-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:31:07 +0000 (0:00:00.627) 0:01:10.672 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-134209ckncc088/tmp69y7z5x4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:31:07 +0000 (0:00:00.415) 0:01:11.088 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:31:08 +0000 (0:00:00.640) 0:01:11.728 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:31:08 +0000 (0:00:00.053) 0:01:11.781 ****** ok: [/cache/centos-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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:31:08 +0000 (0:00:00.060) 0:01:11.842 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:31:08 +0000 (0:00:00.063) 0:01:11.906 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:31:08 +0000 (0:00:00.050) 0:01:11.956 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 17:31:08 +0000 (0:00:00.436) 0:01:12.392 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:31:08 +0000 (0:00:00.144) 0:01:12.536 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:31:09 +0000 (0:00:00.049) 0:01:12.586 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:31:09 +0000 (0:00:00.058) 0:01:12.645 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:31:09 +0000 (0:00:00.101) 0:01:12.746 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:31:09 +0000 (0:00:00.067) 0:01:12.814 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003873", "end": "2022-08-03 17:31:08.334986", "rc": 0, "start": "2022-08-03 17:31:08.331113" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:31:09 +0000 (0:00:00.425) 0:01:13.239 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:31:09 +0000 (0:00:00.060) 0:01:13.300 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:31:09 +0000 (0:00:00.057) 0:01:13.357 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:31:11 +0000 (0:00:02.113) 0:01:15.471 ****** skipping: [/cache/centos-8.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:31:11 +0000 (0:00:00.073) 0:01:15.544 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.054) 0:01:15.598 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010632", "end": "2022-08-03 17:31:11.124277", "rc": 0, "start": "2022-08-03 17:31:11.113645" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.427) 0:01:16.026 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.057) 0:01:16.083 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.058) 0:01:16.141 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.053) 0:01:16.195 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=137 changed=17 unreachable=0 failed=0 skipped=76 rescued=0 ignored=2 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.072) 0:01:16.268 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.89s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.74s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Install packages -------------------- 3.96s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 3.56s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 2.77s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 2.17s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 2.11s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.97s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.42s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 -------- fedora.linux_system_roles.network : Configure networking connection profiles --- 1.27s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface veth0 --------------------------------------------- 1.21s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable network service -------------- 1.19s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Create veth interface veth0 --------------------------------------------- 1.12s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpjloc5qmw/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.045) 0:01:16.313 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006202", "end": "2022-08-03 17:31:11.890562", "rc": 0, "start": "2022-08-03 17:31:11.884360" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=138 changed=18 unreachable=0 failed=0 skipped=76 rescued=0 ignored=2 Wednesday 03 August 2022 17:31:13 +0000 (0:00:00.490) 0:01:16.804 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.89s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.74s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Install packages -------------------- 3.96s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 3.56s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 2.77s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 2.17s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 2.11s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.97s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.42s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 -------- fedora.linux_system_roles.network : Configure networking connection profiles --- 1.27s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface veth0 --------------------------------------------- 1.21s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable network service -------------- 1.19s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Create veth interface veth0 --------------------------------------------- 1.12s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 ---