ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpy4hq2u0g executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp088uft4w/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp088uft4w/tests/_backup.yml:6 Wednesday 03 August 2022 17:26:57 +0000 (0:00:00.019) 0:00:00.019 ****** ok: [/cache/rhel-8-y.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659547617.70707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547616.7050703, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25785793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546726.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1740059156", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp088uft4w/tests/_backup.yml:13 Wednesday 03 August 2022 17:26:58 +0000 (0:00:00.593) 0:00:00.612 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8-y.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 25785793, 'dev': 64515, 'nlink': 1, 'atime': 1659547617.70707, 'mtime': 1659546726.0, 'ctime': 1659547616.7050703, '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': '1740059156', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/libexec/platform-python'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659547617.70707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547616.7050703, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25785793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546726.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1740059156", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp088uft4w/tests/_backup.yml:19 Wednesday 03 August 2022 17:26:58 +0000 (0:00:00.037) 0:00:00.650 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005482", "end": "2022-08-03 13:26:58.511922", "rc": 0, "start": "2022-08-03 13:26:58.506440" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:26:58 +0000 (0:00:00.513) 0:00:01.163 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp088uft4w/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.51s /tmp/tmp088uft4w/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp088uft4w/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_ethernet_initscripts.yml *************************************** 9 plays in /tmp/tmp088uft4w/tests/tests_ethernet_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethernet.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/tests_ethernet_initscripts.yml:4 Wednesday 03 August 2022 17:26:58 +0000 (0:00:00.064) 0:00:01.227 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/tests_ethernet_initscripts.yml:7 Wednesday 03 August 2022 17:26:59 +0000 (0:00:01.055) 0:00:02.282 ****** included: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml for /cache/rhel-8-y.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:26:59 +0000 (0:00:00.026) 0:00:02.308 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:26:59 +0000 (0:00:00.018) 0:00:02.328 ****** included: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml for /cache/rhel-8-y.qcow2.snap TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:27:00 +0000 (0:00:00.026) 0:00:02.354 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:27:00 +0000 (0:00:00.349) 0:00:02.704 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:27:00 +0000 (0:00:00.022) 0:00:02.726 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.425008", "end": "2022-08-03 13:27:00.892369", "rc": 0, "start": "2022-08-03 13:27:00.467361" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:27:01 +0000 (0:00:00.808) 0:00:03.535 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp088uft4w/tests/tests_ethernet_initscripts.yml:8 Wednesday 03 August 2022 17:27:01 +0000 (0:00:00.022) 0:00:03.557 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:3 Wednesday 03 August 2022 17:27:01 +0000 (0:00:00.044) 0:00:03.602 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Show inside ethernet tests] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:5 Wednesday 03 August 2022 17:27:02 +0000 (0:00:00.842) 0:00:04.444 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Inside ethernet tests TASK [Show network_provider] *************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:8 Wednesday 03 August 2022 17:27:02 +0000 (0:00:00.042) 0:00:04.486 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:12 Wednesday 03 August 2022 17:27:02 +0000 (0:00:00.058) 0:00:04.545 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set type=veth and interface=lsr27] *************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:19 Wednesday 03 August 2022 17:27:03 +0000 (0:00:00.852) 0:00:05.397 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "interface": "lsr27", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:23 Wednesday 03 August 2022 17:27:03 +0000 (0:00:00.048) 0:00:05.446 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:27:03 +0000 (0:00:00.040) 0:00:05.487 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:27:03 +0000 (0:00:00.040) 0:00:05.527 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003885", "end": "2022-08-03 13:27:03.285457", "rc": 0, "start": "2022-08-03 13:27:03.281572" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:27:03 +0000 (0:00:00.401) 0:00:05.929 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:27:03 +0000 (0:00:00.045) 0:00:05.974 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:24 Wednesday 03 August 2022 17:27:03 +0000 (0:00:00.046) 0:00:06.020 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:27:03 +0000 (0:00:00.046) 0:00:06.067 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:27:03 +0000 (0:00:00.033) 0:00:06.100 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:27:03 +0000 (0:00:00.031) 0:00:06.132 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:27:03 +0000 (0:00:00.046) 0:00:06.178 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:27:03 +0000 (0:00:00.044) 0:00:06.223 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003055", "end": "2022-08-03 13:27:04.008466", "rc": 0, "start": "2022-08-03 13:27:04.005411" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:27:04 +0000 (0:00:00.425) 0:00:06.648 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:27:04 +0000 (0:00:00.045) 0:00:06.693 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:27:04 +0000 (0:00:00.043) 0:00:06.737 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr27] ********************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:27:06 +0000 (0:00:01.838) 0:00:08.576 ****** changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link add lsr27 type veth peer name peerlsr27) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "lsr27", "type", "veth", "peer", "name", "peerlsr27" ], "delta": "0:00:00.011189", "end": "2022-08-03 13:27:06.368921", "item": "ip link add lsr27 type veth peer name peerlsr27", "rc": 0, "start": "2022-08-03 13:27:06.357732" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set peerlsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerlsr27", "up" ], "delta": "0:00:00.019002", "end": "2022-08-03 13:27:06.755291", "item": "ip link set peerlsr27 up", "rc": 0, "start": "2022-08-03 13:27:06.736289" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set lsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "lsr27", "up" ], "delta": "0:00:00.007434", "end": "2022-08-03 13:27:07.119149", "item": "ip link set lsr27 up", "rc": 0, "start": "2022-08-03 13:27:07.111715" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:27:07 +0000 (0:00:01.189) 0:00:09.765 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "lsr27", "managed", "true" ], "delta": "0:00:00.021004", "end": "2022-08-03 13:27:07.527751", "rc": 0, "start": "2022-08-03 13:27:07.506747" } TASK [Delete veth interface lsr27] ********************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:27:07 +0000 (0:00:00.404) 0:00:10.170 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr27] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:27:07 +0000 (0:00:00.034) 0:00:10.205 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr27] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:27:07 +0000 (0:00:00.035) 0:00:10.240 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr27] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:27:07 +0000 (0:00:00.035) 0:00:10.276 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr27] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:27:07 +0000 (0:00:00.033) 0:00:10.309 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:27 Wednesday 03 August 2022 17:27:08 +0000 (0:00:00.031) 0:00:10.340 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:27:08 +0000 (0:00:00.040) 0:00:10.381 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:27:08 +0000 (0:00:00.039) 0:00:10.421 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547626.3618886, "block_size": 4096, "blocks": 0, "ctime": 1659547626.3618886, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr27", "lnk_target": "../../devices/virtual/net/lsr27", "mode": "0777", "mtime": 1659547626.3618886, "nlink": 1, "path": "/sys/class/net/lsr27", "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 lsr27 is present] ********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:27:08 +0000 (0:00:00.372) 0:00:10.793 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Test static interface up] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:29 Wednesday 03 August 2022 17:27:08 +0000 (0:00:00.067) 0:00:10.860 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:27:09 +0000 (0:00:00.844) 0:00:11.705 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:27:09 +0000 (0:00:00.044) 0:00:11.750 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:27:09 +0000 (0:00:00.524) 0:00:12.275 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:27:11 +0000 (0:00:01.869) 0:00:14.144 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:27:13 +0000 (0:00:01.489) 0:00:15.633 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:27:13 +0000 (0:00:00.060) 0:00:15.694 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:27:13 +0000 (0:00:00.054) 0:00:15.749 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:27:13 +0000 (0:00:00.051) 0:00:15.801 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:27:13 +0000 (0:00:00.073) 0:00:15.874 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:27:13 +0000 (0:00:00.054) 0:00:15.929 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:27:13 +0000 (0:00:00.052) 0:00:15.981 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:27:13 +0000 (0:00:00.053) 0:00:16.035 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:27:13 +0000 (0:00:00.062) 0:00:16.097 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:27:13 +0000 (0:00:00.050) 0:00:16.147 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:27:14 +0000 (0:00:00.876) 0:00:17.023 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-117710n4s2ibut/tmpy4a12krn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:27:15 +0000 (0:00:00.459) 0:00:17.483 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27' [004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified) [005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', 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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:27:19 +0000 (0:00:04.847) 0:00:22.331 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:27:20 +0000 (0:00:00.053) 0:00:22.384 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', 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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:27:20 +0000 (0:00:00.060) 0:00:22.445 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "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, 'lsr27': add ifcfg-rh profile 'lsr27'\n[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)\n[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', 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, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', 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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:27:20 +0000 (0:00:00.059) 0:00:22.505 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:27:20 +0000 (0:00:00.053) 0:00:22.558 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:43 Wednesday 03 August 2022 17:27:20 +0000 (0:00:00.547) 0:00:23.105 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml for /cache/rhel-8-y.qcow2.snap TASK [Assert that warnings is empty] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:3 Wednesday 03 August 2022 17:27:20 +0000 (0:00:00.071) 0:00:23.177 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that there is output in stderr] *********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:8 Wednesday 03 August 2022 17:27:20 +0000 (0:00:00.060) 0:00:23.238 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:45 Wednesday 03 August 2022 17:27:21 +0000 (0:00:00.113) 0:00:23.351 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Show network_provider] *************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:47 Wednesday 03 August 2022 17:27:21 +0000 (0:00:00.885) 0:00:24.237 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/down_profile.yml:3 Wednesday 03 August 2022 17:27:22 +0000 (0:00:00.202) 0:00:24.439 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:27:22 +0000 (0:00:00.882) 0:00:25.322 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:27:23 +0000 (0:00:00.075) 0:00:25.397 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:27:23 +0000 (0:00:00.549) 0:00:25.947 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:27:25 +0000 (0:00:01.732) 0:00:27.680 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:27:26 +0000 (0:00:01.130) 0:00:28.810 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:27:26 +0000 (0:00:00.058) 0:00:28.869 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:27:26 +0000 (0:00:00.075) 0:00:28.944 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:27:26 +0000 (0:00:00.051) 0:00:28.995 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:27:26 +0000 (0:00:00.075) 0:00:29.071 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:27:26 +0000 (0:00:00.053) 0:00:29.124 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:27:26 +0000 (0:00:00.053) 0:00:29.177 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:27:26 +0000 (0:00:00.052) 0:00:29.230 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:27:26 +0000 (0:00:00.053) 0:00:29.284 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:27:27 +0000 (0:00:00.053) 0:00:29.337 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:27:27 +0000 (0:00:00.552) 0:00:29.890 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-117710n4s2ibut/tmpubabphec" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:27:27 +0000 (0:00:00.401) 0:00:30.292 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active) [003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': 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"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:27:28 +0000 (0:00:00.658) 0:00:30.951 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:27:28 +0000 (0:00:00.056) 0:00:31.007 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': 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\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:27:28 +0000 (0:00:00.061) 0:00:31.069 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)\n[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': 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", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': 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\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:27:28 +0000 (0:00:00.062) 0:00:31.131 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:27:28 +0000 (0:00:00.053) 0:00:31.185 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 17:27:29 +0000 (0:00:00.463) 0:00:31.649 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 17:27:30 +0000 (0:00:00.927) 0:00:32.577 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/delete_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:27:30 +0000 (0:00:00.071) 0:00:32.648 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr27" ], "delta": "0:00:00.012082", "end": "2022-08-03 13:27:30.402185", "rc": 0, "start": "2022-08-03 13:27:30.390103" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 17:27:30 +0000 (0:00:00.462) 0:00:33.111 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:27:31 +0000 (0:00:00.848) 0:00:33.960 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:27:31 +0000 (0:00:00.077) 0:00:34.037 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:27:32 +0000 (0:00:00.584) 0:00:34.622 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:27:34 +0000 (0:00:01.722) 0:00:36.345 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:27:35 +0000 (0:00:01.177) 0:00:37.522 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:27:35 +0000 (0:00:00.055) 0:00:37.577 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:27:35 +0000 (0:00:00.055) 0:00:37.633 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:27:35 +0000 (0:00:00.051) 0:00:37.684 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:27:35 +0000 (0:00:00.076) 0:00:37.761 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:27:35 +0000 (0:00:00.057) 0:00:37.818 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:27:35 +0000 (0:00:00.063) 0:00:37.882 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:27:35 +0000 (0:00:00.061) 0:00:37.944 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:27:35 +0000 (0:00:00.056) 0:00:38.000 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:27:35 +0000 (0:00:00.054) 0:00:38.055 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:27:36 +0000 (0:00:00.567) 0:00:38.623 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-117710n4s2ibut/tmpljbc7b6c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:27:36 +0000 (0:00:00.416) 0:00:39.039 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:27:37 +0000 (0:00:00.566) 0:00:39.606 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:27:37 +0000 (0:00:00.055) 0:00:39.661 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:27:37 +0000 (0:00:00.058) 0:00:39.720 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:27:37 +0000 (0:00:00.059) 0:00:39.779 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:27:37 +0000 (0:00:00.053) 0:00:39.832 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:60 Wednesday 03 August 2022 17:27:37 +0000 (0:00:00.479) 0:00:40.311 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:63 Wednesday 03 August 2022 17:27:38 +0000 (0:00:00.903) 0:00:41.215 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:27:38 +0000 (0:00:00.074) 0:00:41.289 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:27:39 +0000 (0:00:00.074) 0:00:41.364 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:27:39 +0000 (0:00:00.062) 0:00:41.426 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:27:39 +0000 (0:00:00.387) 0:00:41.814 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:27:39 +0000 (0:00:00.049) 0:00:41.863 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr27 | grep /etc", "delta": "0:00:00.018838", "end": "2022-08-03 13:27:39.631122", "rc": 1, "start": "2022-08-03 13:27:39.612284" } 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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:27:39 +0000 (0:00:00.424) 0:00:42.287 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr27] ************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:27:40 +0000 (0:00:00.051) 0:00:42.339 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr27] *********************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:27:40 +0000 (0:00:00.049) 0:00:42.388 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'lsr27' is absent] *********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:27:40 +0000 (0:00:00.048) 0:00:42.436 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:66 Wednesday 03 August 2022 17:27:40 +0000 (0:00:00.110) 0:00:42.546 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:27:40 +0000 (0:00:00.071) 0:00:42.617 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:27:40 +0000 (0:00:00.069) 0:00:42.687 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface lsr27 is absent] *********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:27:40 +0000 (0:00:00.420) 0:00:43.107 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=87 changed=7 unreachable=0 failed=0 skipped=44 rescued=0 ignored=1 Wednesday 03 August 2022 17:27:40 +0000 (0:00:00.083) 0:00:43.191 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.85s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.87s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.84s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 1.73s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.72s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.49s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface lsr27 --------------------------------------------- 1.19s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 1.18s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.13s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmp088uft4w/tests/tests_ethernet_initscripts.yml:4 ----------------------- Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmp088uft4w/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:60 ------------------------ Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:45 ------------------------ Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp088uft4w/tests/playbooks/down_profile.yml:3 --------------------------- linux-system-roles.network : Enable network service --------------------- 0.88s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:12 ------------------------ Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmp088uft4w/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:29 ------------------------ Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:3 ------------------------- Enable EPEL 8 ----------------------------------------------------------- 0.81s /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 ------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp088uft4w/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp088uft4w/tests/_restore.yml:4 Wednesday 03 August 2022 17:27:40 +0000 (0:00:00.048) 0:00:43.240 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006465", "end": "2022-08-03 13:27:40.979026", "rc": 0, "start": "2022-08-03 13:27:40.972561" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=88 changed=8 unreachable=0 failed=0 skipped=44 rescued=0 ignored=1 Wednesday 03 August 2022 17:27:41 +0000 (0:00:00.417) 0:00:43.657 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.85s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.87s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.84s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 1.73s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.72s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.49s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface lsr27 --------------------------------------------- 1.19s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 1.18s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.13s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmp088uft4w/tests/tests_ethernet_initscripts.yml:4 ----------------------- Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmp088uft4w/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:60 ------------------------ Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:45 ------------------------ Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp088uft4w/tests/playbooks/down_profile.yml:3 --------------------------- linux-system-roles.network : Enable network service --------------------- 0.88s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:12 ------------------------ Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmp088uft4w/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:29 ------------------------ Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp088uft4w/tests/playbooks/tests_ethernet.yml:3 ------------------------- Enable EPEL 8 ----------------------------------------------------------- 0.81s /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 ------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpy4hq2u0g executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpt4s8r_w1/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 Wednesday 03 August 2022 18:03:12 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-8-y.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659549792.2764885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549791.2754886, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25269111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548924.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "423830662", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:13 Wednesday 03 August 2022 18:03:12 +0000 (0:00:00.595) 0:00:00.613 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8-y.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 25269111, 'dev': 64515, 'nlink': 1, 'atime': 1659549792.2764885, 'mtime': 1659548924.0, 'ctime': 1659549791.2754886, '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': '423830662', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/libexec/platform-python'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659549792.2764885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549791.2754886, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25269111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548924.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "423830662", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:19 Wednesday 03 August 2022 18:03:12 +0000 (0:00:00.034) 0:00:00.648 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005118", "end": "2022-08-03 14:03:13.073619", "rc": 0, "start": "2022-08-03 14:03:13.068501" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 18:03:13 +0000 (0:00:00.498) 0:00:01.146 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_ethernet_initscripts.yml *************************************** 9 plays in /tmp/tmpt4s8r_w1/tests/network/tests_ethernet_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethernet.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/tests_ethernet_initscripts.yml:4 Wednesday 03 August 2022 18:03:13 +0000 (0:00:00.084) 0:00:01.231 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tests_ethernet_initscripts.yml:7 Wednesday 03 August 2022 18:03:14 +0000 (0:00:01.067) 0:00:02.299 ****** included: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml for /cache/rhel-8-y.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 18:03:14 +0000 (0:00:00.032) 0:00:02.331 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 18:03:14 +0000 (0:00:00.020) 0:00:02.351 ****** included: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml for /cache/rhel-8-y.qcow2.snap TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 18:03:14 +0000 (0:00:00.029) 0:00:02.381 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 18:03:14 +0000 (0:00:00.372) 0:00:02.753 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 18:03:14 +0000 (0:00:00.021) 0:00:02.775 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.456146", "end": "2022-08-03 14:03:15.531289", "rc": 0, "start": "2022-08-03 14:03:15.075143" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 18:03:15 +0000 (0:00:00.824) 0:00:03.600 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpt4s8r_w1/tests/network/tests_ethernet_initscripts.yml:8 Wednesday 03 August 2022 18:03:15 +0000 (0:00:00.021) 0:00:03.621 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:3 Wednesday 03 August 2022 18:03:15 +0000 (0:00:00.044) 0:00:03.665 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Show inside ethernet tests] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:5 Wednesday 03 August 2022 18:03:16 +0000 (0:00:00.819) 0:00:04.485 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Inside ethernet tests TASK [Show network_provider] *************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:8 Wednesday 03 August 2022 18:03:16 +0000 (0:00:00.047) 0:00:04.532 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:12 Wednesday 03 August 2022 18:03:16 +0000 (0:00:00.071) 0:00:04.603 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set type=veth and interface=lsr27] *************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:19 Wednesday 03 August 2022 18:03:17 +0000 (0:00:00.838) 0:00:05.442 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "interface": "lsr27", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:23 Wednesday 03 August 2022 18:03:17 +0000 (0:00:00.046) 0:00:05.489 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 18:03:17 +0000 (0:00:00.039) 0:00:05.529 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 18:03:17 +0000 (0:00:00.039) 0:00:05.568 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003717", "end": "2022-08-03 14:03:17.884306", "rc": 0, "start": "2022-08-03 14:03:17.880589" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 18:03:17 +0000 (0:00:00.384) 0:00:05.953 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 18:03:18 +0000 (0:00:00.042) 0:00:05.995 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:24 Wednesday 03 August 2022 18:03:18 +0000 (0:00:00.093) 0:00:06.089 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 18:03:18 +0000 (0:00:00.047) 0:00:06.136 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 18:03:18 +0000 (0:00:00.035) 0:00:06.171 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 18:03:18 +0000 (0:00:00.033) 0:00:06.205 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 18:03:18 +0000 (0:00:00.044) 0:00:06.249 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 18:03:18 +0000 (0:00:00.042) 0:00:06.292 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002701", "end": "2022-08-03 14:03:18.627209", "rc": 0, "start": "2022-08-03 14:03:18.624508" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 18:03:18 +0000 (0:00:00.398) 0:00:06.691 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 18:03:18 +0000 (0:00:00.044) 0:00:06.736 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 18:03:18 +0000 (0:00:00.071) 0:00:06.807 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr27] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 18:03:20 +0000 (0:00:01.802) 0:00:08.610 ****** changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link add lsr27 type veth peer name peerlsr27) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "lsr27", "type", "veth", "peer", "name", "peerlsr27" ], "delta": "0:00:00.006493", "end": "2022-08-03 14:03:20.975726", "item": "ip link add lsr27 type veth peer name peerlsr27", "rc": 0, "start": "2022-08-03 14:03:20.969233" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set peerlsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerlsr27", "up" ], "delta": "0:00:00.007727", "end": "2022-08-03 14:03:21.354663", "item": "ip link set peerlsr27 up", "rc": 0, "start": "2022-08-03 14:03:21.346936" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set lsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "lsr27", "up" ], "delta": "0:00:00.006501", "end": "2022-08-03 14:03:21.724202", "item": "ip link set lsr27 up", "rc": 0, "start": "2022-08-03 14:03:21.717701" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 18:03:21 +0000 (0:00:01.185) 0:00:09.795 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "lsr27", "managed", "true" ], "delta": "0:00:00.020178", "end": "2022-08-03 14:03:22.146451", "rc": 0, "start": "2022-08-03 14:03:22.126273" } TASK [Delete veth interface lsr27] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 18:03:22 +0000 (0:00:00.420) 0:00:10.216 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr27] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 18:03:22 +0000 (0:00:00.036) 0:00:10.253 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr27] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 18:03:22 +0000 (0:00:00.035) 0:00:10.288 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr27] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 18:03:22 +0000 (0:00:00.035) 0:00:10.324 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr27] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 18:03:22 +0000 (0:00:00.035) 0:00:10.360 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:27 Wednesday 03 August 2022 18:03:22 +0000 (0:00:00.034) 0:00:10.394 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 18:03:22 +0000 (0:00:00.043) 0:00:10.438 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 18:03:22 +0000 (0:00:00.040) 0:00:10.478 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549800.9732265, "block_size": 4096, "blocks": 0, "ctime": 1659549800.9732265, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33507, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr27", "lnk_target": "../../devices/virtual/net/lsr27", "mode": "0777", "mtime": 1659549800.9732265, "nlink": 1, "path": "/sys/class/net/lsr27", "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 lsr27 is present] ********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 18:03:22 +0000 (0:00:00.381) 0:00:10.860 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Test static interface up] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:29 Wednesday 03 August 2022 18:03:22 +0000 (0:00:00.067) 0:00:10.927 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 18:03:23 +0000 (0:00:00.871) 0:00:11.798 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 18:03:23 +0000 (0:00:00.046) 0:00:11.845 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 18:03:24 +0000 (0:00:00.525) 0:00:12.370 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 18:03:26 +0000 (0:00:01.826) 0:00:14.197 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 18:03:27 +0000 (0:00:01.434) 0:00:15.632 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 18:03:27 +0000 (0:00:00.060) 0:00:15.693 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 18:03:27 +0000 (0:00:00.051) 0:00:15.744 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 18:03:27 +0000 (0:00:00.050) 0:00:15.795 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 18:03:27 +0000 (0:00:00.077) 0:00:15.873 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 18:03:27 +0000 (0:00:00.050) 0:00:15.923 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 18:03:27 +0000 (0:00:00.052) 0:00:15.975 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 18:03:28 +0000 (0:00:00.057) 0:00:16.033 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 18:03:28 +0000 (0:00:00.050) 0:00:16.084 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 18:03:28 +0000 (0:00:00.048) 0:00:16.133 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 18:03:28 +0000 (0:00:00.847) 0:00:16.980 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-165835001xdvn0/tmpfa2_yyk1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 18:03:29 +0000 (0:00:00.451) 0:00:17.432 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27' [004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified) [005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 18:03:34 +0000 (0:00:04.876) 0:00:22.309 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 18:03:34 +0000 (0:00:00.056) 0:00:22.366 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 18:03:34 +0000 (0:00:00.063) 0:00:22.429 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "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, 'lsr27': add ifcfg-rh profile 'lsr27'\n[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)\n[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', 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, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 18:03:34 +0000 (0:00:00.061) 0:00:22.491 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 18:03:34 +0000 (0:00:00.050) 0:00:22.542 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:43 Wednesday 03 August 2022 18:03:35 +0000 (0:00:00.545) 0:00:23.087 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_output_in_stderr_without_warnings.yml for /cache/rhel-8-y.qcow2.snap TASK [Assert that warnings is empty] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:3 Wednesday 03 August 2022 18:03:35 +0000 (0:00:00.071) 0:00:23.159 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that there is output in stderr] *********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:8 Wednesday 03 August 2022 18:03:35 +0000 (0:00:00.059) 0:00:23.219 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:45 Wednesday 03 August 2022 18:03:35 +0000 (0:00:00.107) 0:00:23.326 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Show network_provider] *************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:47 Wednesday 03 August 2022 18:03:36 +0000 (0:00:00.901) 0:00:24.227 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile.yml:3 Wednesday 03 August 2022 18:03:36 +0000 (0:00:00.203) 0:00:24.430 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 18:03:37 +0000 (0:00:00.902) 0:00:25.333 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 18:03:37 +0000 (0:00:00.075) 0:00:25.408 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 18:03:37 +0000 (0:00:00.534) 0:00:25.942 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 18:03:39 +0000 (0:00:01.711) 0:00:27.654 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 18:03:40 +0000 (0:00:01.234) 0:00:28.888 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 18:03:40 +0000 (0:00:00.084) 0:00:28.973 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 18:03:41 +0000 (0:00:00.076) 0:00:29.049 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 18:03:41 +0000 (0:00:00.051) 0:00:29.101 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 18:03:41 +0000 (0:00:00.077) 0:00:29.178 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 18:03:41 +0000 (0:00:00.051) 0:00:29.229 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 18:03:41 +0000 (0:00:00.051) 0:00:29.281 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 18:03:41 +0000 (0:00:00.059) 0:00:29.340 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 18:03:41 +0000 (0:00:00.052) 0:00:29.392 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 18:03:41 +0000 (0:00:00.047) 0:00:29.440 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 18:03:42 +0000 (0:00:00.587) 0:00:30.028 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-165835001xdvn0/tmpjdchrcjk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 18:03:42 +0000 (0:00:00.405) 0:00:30.434 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active) [003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': 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"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 18:03:43 +0000 (0:00:00.676) 0:00:31.110 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 18:03:43 +0000 (0:00:00.050) 0:00:31.161 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': 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\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 18:03:43 +0000 (0:00:00.057) 0:00:31.219 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)\n[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': 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", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': 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\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 18:03:43 +0000 (0:00:00.056) 0:00:31.275 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 18:03:43 +0000 (0:00:00.047) 0:00:31.323 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 18:03:43 +0000 (0:00:00.471) 0:00:31.795 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 18:03:44 +0000 (0:00:00.947) 0:00:32.742 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/delete_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 18:03:44 +0000 (0:00:00.068) 0:00:32.811 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr27" ], "delta": "0:00:00.013956", "end": "2022-08-03 14:03:45.144272", "rc": 0, "start": "2022-08-03 14:03:45.130316" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 18:03:45 +0000 (0:00:00.464) 0:00:33.275 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 18:03:46 +0000 (0:00:00.880) 0:00:34.156 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 18:03:46 +0000 (0:00:00.075) 0:00:34.231 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 18:03:46 +0000 (0:00:00.584) 0:00:34.816 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 18:03:48 +0000 (0:00:01.715) 0:00:36.531 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 18:03:49 +0000 (0:00:01.285) 0:00:37.816 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 18:03:49 +0000 (0:00:00.086) 0:00:37.903 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 18:03:49 +0000 (0:00:00.054) 0:00:37.958 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 18:03:50 +0000 (0:00:00.053) 0:00:38.011 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 18:03:50 +0000 (0:00:00.074) 0:00:38.086 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 18:03:50 +0000 (0:00:00.054) 0:00:38.140 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 18:03:50 +0000 (0:00:00.052) 0:00:38.192 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 18:03:50 +0000 (0:00:00.054) 0:00:38.247 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 18:03:50 +0000 (0:00:00.056) 0:00:38.303 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 18:03:50 +0000 (0:00:00.046) 0:00:38.349 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 18:03:50 +0000 (0:00:00.588) 0:00:38.938 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-165835001xdvn0/tmpjsbr3cg5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 18:03:51 +0000 (0:00:00.407) 0:00:39.346 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 18:03:51 +0000 (0:00:00.555) 0:00:39.901 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 18:03:51 +0000 (0:00:00.060) 0:00:39.962 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 18:03:52 +0000 (0:00:00.063) 0:00:40.026 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 18:03:52 +0000 (0:00:00.061) 0:00:40.087 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 18:03:52 +0000 (0:00:00.055) 0:00:40.142 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:60 Wednesday 03 August 2022 18:03:52 +0000 (0:00:00.459) 0:00:40.601 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:63 Wednesday 03 August 2022 18:03:53 +0000 (0:00:00.898) 0:00:41.500 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 18:03:53 +0000 (0:00:00.067) 0:00:41.567 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 18:03:53 +0000 (0:00:00.068) 0:00:41.635 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 18:03:53 +0000 (0:00:00.054) 0:00:41.690 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 18:03:54 +0000 (0:00:00.391) 0:00:42.081 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 18:03:54 +0000 (0:00:00.050) 0:00:42.132 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr27 | grep /etc", "delta": "0:00:00.020004", "end": "2022-08-03 14:03:54.472684", "rc": 1, "start": "2022-08-03 14:03:54.452680" } 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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 18:03:54 +0000 (0:00:00.425) 0:00:42.558 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr27] ************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 18:03:54 +0000 (0:00:00.049) 0:00:42.608 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr27] *********************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 18:03:54 +0000 (0:00:00.049) 0:00:42.657 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'lsr27' is absent] *********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 18:03:54 +0000 (0:00:00.054) 0:00:42.711 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:66 Wednesday 03 August 2022 18:03:54 +0000 (0:00:00.127) 0:00:42.839 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 18:03:54 +0000 (0:00:00.071) 0:00:42.911 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 18:03:54 +0000 (0:00:00.069) 0:00:42.980 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface lsr27 is absent] *********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 18:03:55 +0000 (0:00:00.397) 0:00:43.377 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=87 changed=7 unreachable=0 failed=0 skipped=44 rescued=0 ignored=1 Wednesday 03 August 2022 18:03:55 +0000 (0:00:00.085) 0:00:43.463 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 4.88s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.80s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.23s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface lsr27 --------------------------------------------- 1.19s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpt4s8r_w1/tests/network/tests_ethernet_initscripts.yml:4 --------------- Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:45 ---------------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:60 ---------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmpt4s8r_w1/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:29 ---------------- fedora.linux_system_roles.network : Enable network service -------------- 0.85s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:12 ---------------- Enable EPEL 8 ----------------------------------------------------------- 0.82s /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 ----------------------- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:3 ----------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpt4s8r_w1/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_restore.yml:4 Wednesday 03 August 2022 18:03:55 +0000 (0:00:00.045) 0:00:43.508 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006813", "end": "2022-08-03 14:03:55.828063", "rc": 0, "start": "2022-08-03 14:03:55.821250" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=88 changed=8 unreachable=0 failed=0 skipped=44 rescued=0 ignored=1 Wednesday 03 August 2022 18:03:55 +0000 (0:00:00.431) 0:00:43.940 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 4.88s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.80s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.23s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface lsr27 --------------------------------------------- 1.19s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpt4s8r_w1/tests/network/tests_ethernet_initscripts.yml:4 --------------- Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:45 ---------------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:60 ---------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmpt4s8r_w1/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:29 ---------------- fedora.linux_system_roles.network : Enable network service -------------- 0.85s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:12 ---------------- Enable EPEL 8 ----------------------------------------------------------- 0.82s /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 ----------------------- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_ethernet.yml:3 -----------------