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/tmposyp_ghn 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/tmpwwh795q9/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpwwh795q9/tests/_backup.yml:6 Wednesday 03 August 2022 15:32:38 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659540757.7230291, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659540757.7230291, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 604, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539895.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1358377068", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpwwh795q9/tests/_backup.yml:13 Wednesday 03 August 2022 15:32:39 +0000 (0:00:00.597) 0:00:00.616 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-9.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': 604, 'dev': 64516, 'nlink': 1, 'atime': 1659540757.7230291, 'mtime': 1659539895.0, 'ctime': 1659540757.7230291, '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': '1358377068', '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/bin/python3'}, '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/bin/python3" }, "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": 1659540757.7230291, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659540757.7230291, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 604, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539895.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1358377068", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpwwh795q9/tests/_backup.yml:19 Wednesday 03 August 2022 15:32:39 +0000 (0:00:00.033) 0:00:00.650 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003995", "end": "2022-08-03 11:32:39.497826", "rc": 0, "start": "2022-08-03 11:32:39.493831" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:32:40 +0000 (0:00:00.497) 0:00:01.148 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.50s /tmp/tmpwwh795q9/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpwwh795q9/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_routing_rules_nm.yml ******************************************* 7 plays in /tmp/tmpwwh795q9/tests/tests_routing_rules_nm.yml PLAY [Run playbook 'playbooks/tests_routing_rules.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/tests_routing_rules_nm.yml:5 Wednesday 03 August 2022 15:32:40 +0000 (0:00:00.069) 0:00:01.217 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tests_routing_rules_nm.yml:8 Wednesday 03 August 2022 15:32:41 +0000 (0:00:01.099) 0:00:02.317 ****** included: /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml for /cache/rhel-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:32:41 +0000 (0:00:00.027) 0:00:02.345 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:32:41 +0000 (0:00:00.020) 0:00:02.365 ****** included: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml for /cache/rhel-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:32:41 +0000 (0:00:00.029) 0:00:02.395 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:32:41 +0000 (0:00:00.021) 0:00:02.416 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:32:41 +0000 (0:00:00.021) 0:00:02.438 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:32:41 +0000 (0:00:00.024) 0:00:02.462 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpwwh795q9/tests/tests_routing_rules_nm.yml:9 Wednesday 03 August 2022 15:32:41 +0000 (0:00:00.022) 0:00:02.485 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:3 Wednesday 03 August 2022 15:32:41 +0000 (0:00:00.052) 0:00:02.537 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:5 Wednesday 03 August 2022 15:32:42 +0000 (0:00:00.892) 0:00:03.429 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:12 Wednesday 03 August 2022 15:32:43 +0000 (0:00:00.863) 0:00:04.293 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:16 Wednesday 03 August 2022 15:32:43 +0000 (0:00:00.034) 0:00:04.327 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:32:43 +0000 (0:00:00.041) 0:00:04.369 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:32:43 +0000 (0:00:00.035) 0:00:04.404 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003025", "end": "2022-08-03 11:32:43.160269", "rc": 0, "start": "2022-08-03 11:32:43.157244" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:32:43 +0000 (0:00:00.397) 0:00:04.801 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:32:43 +0000 (0:00:00.032) 0:00:04.834 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:17 Wednesday 03 August 2022 15:32:43 +0000 (0:00:00.032) 0:00:04.866 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-9.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:32:43 +0000 (0:00:00.038) 0:00:04.905 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:32:43 +0000 (0:00:00.019) 0:00:04.925 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:32:43 +0000 (0:00:00.022) 0:00:04.947 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:32:43 +0000 (0:00:00.031) 0:00:04.978 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:32:43 +0000 (0:00:00.028) 0:00:05.007 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002812", "end": "2022-08-03 11:32:43.725374", "rc": 0, "start": "2022-08-03 11:32:43.722562" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:32:44 +0000 (0:00:00.360) 0:00:05.368 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:32:44 +0000 (0:00:00.033) 0:00:05.401 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:32:44 +0000 (0:00:00.032) 0:00:05.434 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:32:45 +0000 (0:00:01.128) 0:00:06.562 ****** changed: [/cache/rhel-9.qcow2.snap] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.004310", "end": "2022-08-03 11:32:45.308335", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2022-08-03 11:32:45.304025" } changed: [/cache/rhel-9.qcow2.snap] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.002954", "end": "2022-08-03 11:32:45.657197", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2022-08-03 11:32:45.654243" } changed: [/cache/rhel-9.qcow2.snap] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.012676", "end": "2022-08-03 11:32:46.020779", "item": "ip link set ethtest0 up", "rc": 0, "start": "2022-08-03 11:32:46.008103" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:32:46 +0000 (0:00:01.109) 0:00:07.672 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.028410", "end": "2022-08-03 11:32:46.427606", "rc": 0, "start": "2022-08-03 11:32:46.399196" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:32:46 +0000 (0:00:00.411) 0:00:08.084 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:32:46 +0000 (0:00:00.027) 0:00:08.111 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:32:47 +0000 (0:00:00.024) 0:00:08.136 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:32:47 +0000 (0:00:00.025) 0:00:08.161 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:32:47 +0000 (0:00:00.024) 0:00:08.185 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:20 Wednesday 03 August 2022 15:32:47 +0000 (0:00:00.021) 0:00:08.206 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:32:47 +0000 (0:00:00.038) 0:00:08.245 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-9.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:32:47 +0000 (0:00:00.033) 0:00:08.278 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540765.3075912, "block_size": 4096, "blocks": 0, "ctime": 1659540765.3075912, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1659540765.3075912, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 ethtest0 is present] ******************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:32:47 +0000 (0:00:00.364) 0:00:08.643 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:32:47 +0000 (0:00:00.035) 0:00:08.678 ****** included: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:32:47 +0000 (0:00:00.035) 0:00:08.714 ****** ok: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:32:48 +0000 (0:00:00.513) 0:00:09.227 ****** ok: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:32:49 +0000 (0:00:01.681) 0:00:10.909 ****** ok: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:32:50 +0000 (0:00:00.993) 0:00:11.903 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:32:50 +0000 (0:00:00.050) 0:00:11.954 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:32:50 +0000 (0:00:00.039) 0:00:11.993 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:32:50 +0000 (0:00:00.038) 0:00:12.032 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:32:50 +0000 (0:00:00.074) 0:00:12.107 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:32:51 +0000 (0:00:00.038) 0:00:12.145 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:32:51 +0000 (0:00:00.038) 0:00:12.184 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:32:51 +0000 (0:00:00.053) 0:00:12.238 ****** ok: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:32:51 +0000 (0:00:00.806) 0:00:13.045 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:32:51 +0000 (0:00:00.061) 0:00:13.107 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:32:52 +0000 (0:00:00.038) 0:00:13.145 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:32:52 +0000 (0:00:00.034) 0:00:13.179 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26", "2001:db8::2/32" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db8::4", "prefix": 32, "table": 30600 } ], "routing_rule": [ { "from": "198.51.100.58/26", "priority": 30200, "table": 30200 }, { "family": "ipv4", "fwmark": 1, "fwmask": 1, "priority": 30201, "table": 30200 }, { "family": "ipv4", "ipproto": 6, "priority": 30202, "table": 30200 }, { "family": "ipv4", "priority": 30203, "sport": "128 - 256", "table": 30200 }, { "family": "ipv4", "priority": 30204, "table": 30200, "tos": 8 }, { "priority": 30400, "table": 30400, "to": "198.51.100.128/26" }, { "family": "ipv4", "iif": "iiftest", "priority": 30401, "table": 30400 }, { "family": "ipv4", "oif": "oiftest", "priority": 30402, "table": 30400 }, { "priority": 30600, "table": 30600, "to": "2001:db8::4/32" }, { "dport": "128 - 256", "family": "ipv6", "invert": true, "priority": 30601, "table": 30600 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, a0116545-344a-4e66-9980-7bb2b6cca21e [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, a0116545-344a-4e66-9980-7bb2b6cca21e (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:32:52 +0000 (0:00:00.786) 0:00:13.966 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:32:52 +0000 (0:00:00.041) 0:00:14.007 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, a0116545-344a-4e66-9980-7bb2b6cca21e", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, a0116545-344a-4e66-9980-7bb2b6cca21e (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:32:52 +0000 (0:00:00.049) 0:00:14.057 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26", "2001:db8::2/32" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db8::4", "prefix": 32, "table": 30600 } ], "routing_rule": [ { "from": "198.51.100.58/26", "priority": 30200, "table": 30200 }, { "family": "ipv4", "fwmark": 1, "fwmask": 1, "priority": 30201, "table": 30200 }, { "family": "ipv4", "ipproto": 6, "priority": 30202, "table": 30200 }, { "family": "ipv4", "priority": 30203, "sport": "128 - 256", "table": 30200 }, { "family": "ipv4", "priority": 30204, "table": 30200, "tos": 8 }, { "priority": 30400, "table": 30400, "to": "198.51.100.128/26" }, { "family": "ipv4", "iif": "iiftest", "priority": 30401, "table": 30400 }, { "family": "ipv4", "oif": "oiftest", "priority": 30402, "table": 30400 }, { "priority": 30600, "table": 30600, "to": "2001:db8::4/32" }, { "dport": "128 - 256", "family": "ipv6", "invert": true, "priority": 30601, "table": 30600 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, a0116545-344a-4e66-9980-7bb2b6cca21e\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, a0116545-344a-4e66-9980-7bb2b6cca21e (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, a0116545-344a-4e66-9980-7bb2b6cca21e", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, a0116545-344a-4e66-9980-7bb2b6cca21e (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:32:52 +0000 (0:00:00.046) 0:00:14.103 ****** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:32:53 +0000 (0:00:00.040) 0:00:14.144 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [Get the routing rule for looking up the table 30200] ********************* task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:97 Wednesday 03 August 2022 15:32:53 +0000 (0:00:00.525) 0:00:14.669 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30200" ], "delta": "0:00:00.003819", "end": "2022-08-03 11:32:53.385576", "rc": 0, "start": "2022-08-03 11:32:53.381757" } STDOUT: 30200: from 198.51.100.58/26 lookup 30200 30201: from all fwmark 0x1/0x1 lookup 30200 30202: from all ipproto tcp lookup 30200 30203: from all sport 128-256 lookup 30200 30204: from all tos throughput lookup 30200 TASK [Get the routing rule for looking up the table 30400] ********************* task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:104 Wednesday 03 August 2022 15:32:53 +0000 (0:00:00.376) 0:00:15.046 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30400" ], "delta": "0:00:00.003234", "end": "2022-08-03 11:32:53.770302", "rc": 0, "start": "2022-08-03 11:32:53.767068" } STDOUT: 30400: from all to 198.51.100.128/26 lookup 30400 30401: from all iif iiftest [detached] lookup 30400 30402: from all oif oiftest [detached] lookup 30400 TASK [Get the routing rule for looking up the table 30600] ********************* task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:111 Wednesday 03 August 2022 15:32:54 +0000 (0:00:00.382) 0:00:15.428 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "rule", "list", "table", "30600" ], "delta": "0:00:00.002985", "end": "2022-08-03 11:32:54.191408", "rc": 0, "start": "2022-08-03 11:32:54.188423" } STDOUT: 30600: from all to 2001:db8::4/32 lookup 30600 30601: not from all dport 128-256 lookup 30600 TASK [Get the IPv4 routing rule for the connection "ethtest0"] ***************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:118 Wednesday 03 August 2022 15:32:54 +0000 (0:00:00.425) 0:00:15.854 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.016910", "end": "2022-08-03 11:32:54.600238", "rc": 0, "start": "2022-08-03 11:32:54.583328" } STDOUT: ipv4.routing-rules: priority 30200 from 198.51.100.58/26 table 30200, priority 30201 from 0.0.0.0/0 fwmark 0x1/0x1 table 30200, priority 30202 from 0.0.0.0/0 ipproto 6 table 30200, priority 30203 from 0.0.0.0/0 sport 128-256 table 30200, priority 30204 from 0.0.0.0/0 tos 0x08 table 30200, priority 30400 to 198.51.100.128/26 table 30400, priority 30401 from 0.0.0.0/0 iif iiftest table 30400, priority 30402 from 0.0.0.0/0 oif oiftest table 30400 TASK [Get the IPv6 routing rule for the connection "ethtest0"] ***************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:124 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.409) 0:00:16.264 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.017551", "end": "2022-08-03 11:32:55.015265", "rc": 0, "start": "2022-08-03 11:32:54.997714" } STDOUT: ipv6.routing-rules: priority 30600 to 2001:db8::4/32 table 30600, priority 30601 not from ::/0 dport 128-256 table 30600 TASK [Assert that the routing rule with table lookup 30200 matches the specified rule] *** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:130 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.410) 0:00:16.675 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the routing rule with table lookup 30400 matches the specified rule] *** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:148 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.058) 0:00:16.734 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the routing rule with table lookup 30600 matches the specified rule] *** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:162 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.057) 0:00:16.791 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the IPv4 routing rule in the connection "ethtest0" matches the specified rule] *** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:174 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.058) 0:00:16.849 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the IPv6 routing rule in the connection "ethtest0" matches the specified rule] *** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:197 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.068) 0:00:16.918 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/down_profile.yml:3 Wednesday 03 August 2022 15:32:55 +0000 (0:00:00.102) 0:00:17.020 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:32:56 +0000 (0:00:00.946) 0:00:17.967 ****** included: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:32:56 +0000 (0:00:00.061) 0:00:18.028 ****** ok: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:32:57 +0000 (0:00:00.543) 0:00:18.572 ****** ok: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:32:59 +0000 (0:00:01.593) 0:00:20.166 ****** ok: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:32:59 +0000 (0:00:00.758) 0:00:20.924 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:32:59 +0000 (0:00:00.046) 0:00:20.971 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:32:59 +0000 (0:00:00.040) 0:00:21.011 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:32:59 +0000 (0:00:00.041) 0:00:21.053 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.075) 0:00:21.128 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.040) 0:00:21.169 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.038) 0:00:21.207 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.056) 0:00:21.263 ****** ok: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.622) 0:00:21.886 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.056) 0:00:21.943 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.038) 0:00:21.981 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:33:00 +0000 (0:00:00.037) 0:00:22.019 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:33:01 +0000 (0:00:00.591) 0:00:22.610 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:33:01 +0000 (0:00:00.040) 0:00:22.651 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:33:01 +0000 (0:00:00.047) 0:00:22.699 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:33:01 +0000 (0:00:00.054) 0:00:22.753 ****** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:33:01 +0000 (0:00:00.044) 0:00:22.798 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 15:33:02 +0000 (0:00:00.488) 0:00:23.286 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.905) 0:00:24.191 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/delete_interface.yml for /cache/rhel-9.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.057) 0:00:24.249 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.010896", "end": "2022-08-03 11:33:02.988600", "rc": 0, "start": "2022-08-03 11:33:02.977704" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 15:33:03 +0000 (0:00:00.451) 0:00:24.701 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.899) 0:00:25.600 ****** included: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:33:04 +0000 (0:00:00.059) 0:00:25.659 ****** ok: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:33:05 +0000 (0:00:00.542) 0:00:26.201 ****** ok: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:33:06 +0000 (0:00:01.581) 0:00:27.782 ****** ok: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:33:07 +0000 (0:00:00.723) 0:00:28.506 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:33:07 +0000 (0:00:00.046) 0:00:28.553 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:33:07 +0000 (0:00:00.038) 0:00:28.591 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:33:07 +0000 (0:00:00.037) 0:00:28.628 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:33:07 +0000 (0:00:00.076) 0:00:28.704 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:33:07 +0000 (0:00:00.038) 0:00:28.743 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:33:07 +0000 (0:00:00.038) 0:00:28.782 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:33:07 +0000 (0:00:00.056) 0:00:28.839 ****** ok: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:33:08 +0000 (0:00:00.598) 0:00:29.437 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:33:08 +0000 (0:00:00.058) 0:00:29.495 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:33:08 +0000 (0:00:00.037) 0:00:29.533 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:33:08 +0000 (0:00:00.036) 0:00:29.570 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:33:09 +0000 (0:00:00.581) 0:00:30.151 ****** skipping: [/cache/rhel-9.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/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:33:09 +0000 (0:00:00.044) 0:00:30.196 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:33:09 +0000 (0:00:00.054) 0:00:30.250 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:33:09 +0000 (0:00:00.051) 0:00:30.301 ****** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:33:09 +0000 (0:00:00.044) 0:00:30.345 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:216 Wednesday 03 August 2022 15:33:09 +0000 (0:00:00.461) 0:00:30.807 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:219 Wednesday 03 August 2022 15:33:10 +0000 (0:00:00.856) 0:00:31.664 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_absent.yml for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 15:33:10 +0000 (0:00:00.056) 0:00:31.720 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:33:10 +0000 (0:00:00.058) 0:00:31.779 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:33:10 +0000 (0:00:00.043) 0:00:31.822 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:33:11 +0000 (0:00:00.371) 0:00:32.193 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:33:11 +0000 (0:00:00.066) 0:00:32.259 ****** fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.018162", "end": "2022-08-03 11:33:10.987749", "rc": 1, "start": "2022-08-03 11:33:10.969587" } 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/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:33:11 +0000 (0:00:00.390) 0:00:32.650 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:33:11 +0000 (0:00:00.039) 0:00:32.689 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:33:11 +0000 (0:00:00.040) 0:00:32.730 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'ethtest0' is absent] ******************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 15:33:11 +0000 (0:00:00.041) 0:00:32.771 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:222 Wednesday 03 August 2022 15:33:11 +0000 (0:00:00.051) 0:00:32.823 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_absent.yml for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 15:33:11 +0000 (0:00:00.059) 0:00:32.882 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-9.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:33:11 +0000 (0:00:00.056) 0:00:32.938 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 15:33:12 +0000 (0:00:00.386) 0:00:33.325 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=84 changed=6 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Wednesday 03 August 2022 15:33:12 +0000 (0:00:00.074) 0:00:33.399 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.68s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.59s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.58s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.13s /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Create veth interface ethtest0 ------------------------------------------ 1.11s /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpwwh795q9/tests/tests_routing_rules_nm.yml:5 --------------------------- linux-system-roles.network : Check which packages are installed --------- 0.99s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpwwh795q9/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpwwh795q9/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpwwh795q9/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:3 -------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:5 -------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:216 ------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.81s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.79s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.72s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.62s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpwwh795q9/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpwwh795q9/tests/_restore.yml:4 Wednesday 03 August 2022 15:33:12 +0000 (0:00:00.077) 0:00:33.476 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005871", "end": "2022-08-03 11:33:12.216803", "rc": 0, "start": "2022-08-03 11:33:12.210932" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=85 changed=7 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Wednesday 03 August 2022 15:33:12 +0000 (0:00:00.497) 0:00:33.974 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.68s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.59s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.58s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.13s /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Create veth interface ethtest0 ------------------------------------------ 1.11s /tmp/tmpwwh795q9/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpwwh795q9/tests/tests_routing_rules_nm.yml:5 --------------------------- linux-system-roles.network : Check which packages are installed --------- 0.99s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpwwh795q9/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpwwh795q9/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpwwh795q9/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:3 -------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:5 -------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpwwh795q9/tests/playbooks/tests_routing_rules.yml:216 ------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.81s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.79s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.72s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.62s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ 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/tmposyp_ghn 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/tmp1gs4m1jh/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 Wednesday 03 August 2022 15:51:26 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659541884.9981148, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659541884.9981148, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 604, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659541026.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3156219499", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp1gs4m1jh/tests/network/_backup.yml:13 Wednesday 03 August 2022 15:51:26 +0000 (0:00:00.590) 0:00:00.609 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-9.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': 604, 'dev': 64516, 'nlink': 1, 'atime': 1659541884.9981148, 'mtime': 1659541026.0, 'ctime': 1659541884.9981148, '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': '3156219499', '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/bin/python3'}, '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/bin/python3" }, "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": 1659541884.9981148, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659541884.9981148, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 604, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659541026.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3156219499", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 Wednesday 03 August 2022 15:51:27 +0000 (0:00:00.039) 0:00:00.648 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003658", "end": "2022-08-03 11:51:26.756583", "rc": 0, "start": "2022-08-03 11:51:26.752925" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:51:27 +0000 (0:00:00.491) 0:00:01.140 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.49s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_routing_rules_nm.yml ******************************************* 7 plays in /tmp/tmp1gs4m1jh/tests/network/tests_routing_rules_nm.yml PLAY [Run playbook 'playbooks/tests_routing_rules.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/tests_routing_rules_nm.yml:5 Wednesday 03 August 2022 15:51:27 +0000 (0:00:00.090) 0:00:01.230 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tests_routing_rules_nm.yml:8 Wednesday 03 August 2022 15:51:28 +0000 (0:00:01.075) 0:00:02.305 ****** included: /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml for /cache/rhel-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.028) 0:00:02.333 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.021) 0:00:02.355 ****** included: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml for /cache/rhel-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.029) 0:00:02.385 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.023) 0:00:02.408 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.023) 0:00:02.432 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.021) 0:00:02.453 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tests_routing_rules_nm.yml:9 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.020) 0:00:02.474 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:3 Wednesday 03 August 2022 15:51:28 +0000 (0:00:00.046) 0:00:02.520 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:5 Wednesday 03 August 2022 15:51:29 +0000 (0:00:00.866) 0:00:03.387 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:12 Wednesday 03 August 2022 15:51:30 +0000 (0:00:00.832) 0:00:04.219 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:16 Wednesday 03 August 2022 15:51:30 +0000 (0:00:00.040) 0:00:04.259 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:51:30 +0000 (0:00:00.036) 0:00:04.296 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:51:30 +0000 (0:00:00.031) 0:00:04.328 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003344", "end": "2022-08-03 11:51:30.321432", "rc": 0, "start": "2022-08-03 11:51:30.318088" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:51:31 +0000 (0:00:00.370) 0:00:04.698 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:51:31 +0000 (0:00:00.079) 0:00:04.777 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:17 Wednesday 03 August 2022 15:51:31 +0000 (0:00:00.032) 0:00:04.809 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-9.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:51:31 +0000 (0:00:00.041) 0:00:04.851 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:51:31 +0000 (0:00:00.021) 0:00:04.872 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:51:31 +0000 (0:00:00.020) 0:00:04.892 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:51:31 +0000 (0:00:00.030) 0:00:04.923 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:51:31 +0000 (0:00:00.028) 0:00:04.952 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003256", "end": "2022-08-03 11:51:30.942172", "rc": 0, "start": "2022-08-03 11:51:30.938916" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:51:31 +0000 (0:00:00.367) 0:00:05.320 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:51:31 +0000 (0:00:00.034) 0:00:05.354 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:51:31 +0000 (0:00:00.062) 0:00:05.416 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:51:32 +0000 (0:00:01.074) 0:00:06.490 ****** changed: [/cache/rhel-9.qcow2.snap] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.004522", "end": "2022-08-03 11:51:32.499742", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2022-08-03 11:51:32.495220" } changed: [/cache/rhel-9.qcow2.snap] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003454", "end": "2022-08-03 11:51:32.893837", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2022-08-03 11:51:32.890383" } changed: [/cache/rhel-9.qcow2.snap] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.007693", "end": "2022-08-03 11:51:33.268460", "item": "ip link set ethtest0 up", "rc": 0, "start": "2022-08-03 11:51:33.260767" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:51:34 +0000 (0:00:01.156) 0:00:07.647 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.018499", "end": "2022-08-03 11:51:33.668317", "rc": 0, "start": "2022-08-03 11:51:33.649818" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:51:34 +0000 (0:00:00.398) 0:00:08.046 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:51:34 +0000 (0:00:00.024) 0:00:08.071 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:51:34 +0000 (0:00:00.023) 0:00:08.094 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:51:34 +0000 (0:00:00.023) 0:00:08.118 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:51:34 +0000 (0:00:00.022) 0:00:08.140 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:20 Wednesday 03 August 2022 15:51:34 +0000 (0:00:00.021) 0:00:08.162 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:51:34 +0000 (0:00:00.038) 0:00:08.201 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-9.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:51:34 +0000 (0:00:00.033) 0:00:08.234 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541892.4991264, "block_size": 4096, "blocks": 0, "ctime": 1659541892.4991264, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1659541892.4991264, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 ethtest0 is present] ******************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:51:34 +0000 (0:00:00.357) 0:00:08.592 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:51:35 +0000 (0:00:00.033) 0:00:08.625 ****** included: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:51:35 +0000 (0:00:00.037) 0:00:08.663 ****** ok: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:51:35 +0000 (0:00:00.508) 0:00:09.171 ****** ok: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:51:37 +0000 (0:00:01.709) 0:00:10.881 ****** ok: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.997) 0:00:11.879 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.047) 0:00:11.926 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.041) 0:00:11.968 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.042) 0:00:12.010 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.075) 0:00:12.086 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.038) 0:00:12.124 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.039) 0:00:12.163 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:51:38 +0000 (0:00:00.052) 0:00:12.216 ****** ok: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:51:39 +0000 (0:00:00.791) 0:00:13.007 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:51:39 +0000 (0:00:00.055) 0:00:13.062 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:51:39 +0000 (0:00:00.037) 0:00:13.100 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:51:39 +0000 (0:00:00.035) 0:00:13.135 ****** changed: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26", "2001:db8::2/32" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db8::4", "prefix": 32, "table": 30600 } ], "routing_rule": [ { "from": "198.51.100.58/26", "priority": 30200, "table": 30200 }, { "family": "ipv4", "fwmark": 1, "fwmask": 1, "priority": 30201, "table": 30200 }, { "family": "ipv4", "ipproto": 6, "priority": 30202, "table": 30200 }, { "family": "ipv4", "priority": 30203, "sport": "128 - 256", "table": 30200 }, { "family": "ipv4", "priority": 30204, "table": 30200, "tos": 8 }, { "priority": 30400, "table": 30400, "to": "198.51.100.128/26" }, { "family": "ipv4", "iif": "iiftest", "priority": 30401, "table": 30400 }, { "family": "ipv4", "oif": "oiftest", "priority": 30402, "table": 30400 }, { "priority": 30600, "table": 30600, "to": "2001:db8::4/32" }, { "dport": "128 - 256", "family": "ipv6", "invert": true, "priority": 30601, "table": 30600 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b29a8403-9c9b-42a8-ace6-8d2c7cdac76d [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b29a8403-9c9b-42a8-ace6-8d2c7cdac76d (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:51:40 +0000 (0:00:00.777) 0:00:13.912 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:51:40 +0000 (0:00:00.043) 0:00:13.956 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b29a8403-9c9b-42a8-ace6-8d2c7cdac76d", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b29a8403-9c9b-42a8-ace6-8d2c7cdac76d (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:51:40 +0000 (0:00:00.050) 0:00:14.006 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26", "2001:db8::2/32" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db8::4", "prefix": 32, "table": 30600 } ], "routing_rule": [ { "from": "198.51.100.58/26", "priority": 30200, "table": 30200 }, { "family": "ipv4", "fwmark": 1, "fwmask": 1, "priority": 30201, "table": 30200 }, { "family": "ipv4", "ipproto": 6, "priority": 30202, "table": 30200 }, { "family": "ipv4", "priority": 30203, "sport": "128 - 256", "table": 30200 }, { "family": "ipv4", "priority": 30204, "table": 30200, "tos": 8 }, { "priority": 30400, "table": 30400, "to": "198.51.100.128/26" }, { "family": "ipv4", "iif": "iiftest", "priority": 30401, "table": 30400 }, { "family": "ipv4", "oif": "oiftest", "priority": 30402, "table": 30400 }, { "priority": 30600, "table": 30600, "to": "2001:db8::4/32" }, { "dport": "128 - 256", "family": "ipv6", "invert": true, "priority": 30601, "table": 30600 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b29a8403-9c9b-42a8-ace6-8d2c7cdac76d\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b29a8403-9c9b-42a8-ace6-8d2c7cdac76d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b29a8403-9c9b-42a8-ace6-8d2c7cdac76d", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b29a8403-9c9b-42a8-ace6-8d2c7cdac76d (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:51:40 +0000 (0:00:00.054) 0:00:14.061 ****** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:51:40 +0000 (0:00:00.043) 0:00:14.104 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [Get the routing rule for looking up the table 30200] ********************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:96 Wednesday 03 August 2022 15:51:41 +0000 (0:00:00.534) 0:00:14.638 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30200" ], "delta": "0:00:00.003950", "end": "2022-08-03 11:51:40.616765", "rc": 0, "start": "2022-08-03 11:51:40.612815" } STDOUT: 30200: from 198.51.100.58/26 lookup 30200 30201: from all fwmark 0x1/0x1 lookup 30200 30202: from all ipproto tcp lookup 30200 30203: from all sport 128-256 lookup 30200 30204: from all tos throughput lookup 30200 TASK [Get the routing rule for looking up the table 30400] ********************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:103 Wednesday 03 August 2022 15:51:41 +0000 (0:00:00.377) 0:00:15.015 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30400" ], "delta": "0:00:00.003127", "end": "2022-08-03 11:51:41.008786", "rc": 0, "start": "2022-08-03 11:51:41.005659" } STDOUT: 30400: from all to 198.51.100.128/26 lookup 30400 30401: from all iif iiftest [detached] lookup 30400 30402: from all oif oiftest [detached] lookup 30400 TASK [Get the routing rule for looking up the table 30600] ********************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:110 Wednesday 03 August 2022 15:51:41 +0000 (0:00:00.383) 0:00:15.398 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "rule", "list", "table", "30600" ], "delta": "0:00:00.003028", "end": "2022-08-03 11:51:41.434286", "rc": 0, "start": "2022-08-03 11:51:41.431258" } STDOUT: 30600: from all to 2001:db8::4/32 lookup 30600 30601: not from all dport 128-256 lookup 30600 TASK [Get the IPv4 routing rule for the connection "ethtest0"] ***************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:117 Wednesday 03 August 2022 15:51:42 +0000 (0:00:00.426) 0:00:15.825 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.019782", "end": "2022-08-03 11:51:41.833361", "rc": 0, "start": "2022-08-03 11:51:41.813579" } STDOUT: ipv4.routing-rules: priority 30200 from 198.51.100.58/26 table 30200, priority 30201 from 0.0.0.0/0 fwmark 0x1/0x1 table 30200, priority 30202 from 0.0.0.0/0 ipproto 6 table 30200, priority 30203 from 0.0.0.0/0 sport 128-256 table 30200, priority 30204 from 0.0.0.0/0 tos 0x08 table 30200, priority 30400 to 198.51.100.128/26 table 30400, priority 30401 from 0.0.0.0/0 iif iiftest table 30400, priority 30402 from 0.0.0.0/0 oif oiftest table 30400 TASK [Get the IPv6 routing rule for the connection "ethtest0"] ***************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:123 Wednesday 03 August 2022 15:51:42 +0000 (0:00:00.404) 0:00:16.230 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.018123", "end": "2022-08-03 11:51:42.246240", "rc": 0, "start": "2022-08-03 11:51:42.228117" } STDOUT: ipv6.routing-rules: priority 30600 to 2001:db8::4/32 table 30600, priority 30601 not from ::/0 dport 128-256 table 30600 TASK [Assert that the routing rule with table lookup 30200 matches the specified rule] *** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:129 Wednesday 03 August 2022 15:51:43 +0000 (0:00:00.409) 0:00:16.640 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the routing rule with table lookup 30400 matches the specified rule] *** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:140 Wednesday 03 August 2022 15:51:43 +0000 (0:00:00.059) 0:00:16.699 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the routing rule with table lookup 30600 matches the specified rule] *** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:149 Wednesday 03 August 2022 15:51:43 +0000 (0:00:00.051) 0:00:16.751 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the IPv4 routing rule in the connection "ethtest0" matches the specified rule] *** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:157 Wednesday 03 August 2022 15:51:43 +0000 (0:00:00.052) 0:00:16.804 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the IPv6 routing rule in the connection "ethtest0" matches the specified rule] *** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:170 Wednesday 03 August 2022 15:51:43 +0000 (0:00:00.063) 0:00:16.867 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/down_profile.yml:3 Wednesday 03 August 2022 15:51:43 +0000 (0:00:00.101) 0:00:16.969 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:51:44 +0000 (0:00:01.054) 0:00:18.023 ****** included: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:51:44 +0000 (0:00:00.100) 0:00:18.124 ****** ok: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:51:45 +0000 (0:00:00.604) 0:00:18.728 ****** ok: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:51:46 +0000 (0:00:01.574) 0:00:20.303 ****** ok: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:51:47 +0000 (0:00:00.751) 0:00:21.054 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:51:47 +0000 (0:00:00.047) 0:00:21.102 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:51:47 +0000 (0:00:00.039) 0:00:21.141 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:51:47 +0000 (0:00:00.038) 0:00:21.180 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:51:47 +0000 (0:00:00.074) 0:00:21.255 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:51:47 +0000 (0:00:00.040) 0:00:21.296 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:51:47 +0000 (0:00:00.038) 0:00:21.334 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:51:47 +0000 (0:00:00.052) 0:00:21.387 ****** ok: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:51:48 +0000 (0:00:00.589) 0:00:21.976 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:51:48 +0000 (0:00:00.054) 0:00:22.031 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:51:48 +0000 (0:00:00.035) 0:00:22.067 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:51:48 +0000 (0:00:00.036) 0:00:22.103 ****** changed: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.603) 0:00:22.707 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.042) 0:00:22.749 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.047) 0:00:22.797 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.051) 0:00:22.849 ****** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.040) 0:00:22.890 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 15:51:49 +0000 (0:00:00.476) 0:00:23.366 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 15:51:50 +0000 (0:00:00.876) 0:00:24.242 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/delete_interface.yml for /cache/rhel-9.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 15:51:50 +0000 (0:00:00.062) 0:00:24.305 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.010954", "end": "2022-08-03 11:51:50.309649", "rc": 0, "start": "2022-08-03 11:51:50.298695" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 15:51:51 +0000 (0:00:00.449) 0:00:24.754 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:51:52 +0000 (0:00:00.908) 0:00:25.663 ****** included: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:51:52 +0000 (0:00:00.060) 0:00:25.723 ****** ok: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:51:52 +0000 (0:00:00.544) 0:00:26.267 ****** ok: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:51:54 +0000 (0:00:01.521) 0:00:27.789 ****** ok: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:51:54 +0000 (0:00:00.739) 0:00:28.529 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:51:54 +0000 (0:00:00.053) 0:00:28.582 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:51:55 +0000 (0:00:00.043) 0:00:28.626 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:51:55 +0000 (0:00:00.045) 0:00:28.671 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:51:55 +0000 (0:00:00.078) 0:00:28.750 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:51:55 +0000 (0:00:00.041) 0:00:28.791 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:51:55 +0000 (0:00:00.041) 0:00:28.832 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:51:55 +0000 (0:00:00.057) 0:00:28.890 ****** ok: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:51:55 +0000 (0:00:00.554) 0:00:29.445 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:51:55 +0000 (0:00:00.107) 0:00:29.552 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:51:55 +0000 (0:00:00.039) 0:00:29.591 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:51:56 +0000 (0:00:00.034) 0:00:29.626 ****** changed: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:51:56 +0000 (0:00:00.580) 0:00:30.207 ****** skipping: [/cache/rhel-9.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/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:51:56 +0000 (0:00:00.038) 0:00:30.245 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:51:56 +0000 (0:00:00.051) 0:00:30.296 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:51:56 +0000 (0:00:00.050) 0:00:30.347 ****** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:51:56 +0000 (0:00:00.042) 0:00:30.390 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:183 Wednesday 03 August 2022 15:51:57 +0000 (0:00:00.448) 0:00:30.838 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:186 Wednesday 03 August 2022 15:51:58 +0000 (0:00:00.876) 0:00:31.715 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 15:51:58 +0000 (0:00:00.054) 0:00:31.769 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:51:58 +0000 (0:00:00.054) 0:00:31.824 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:51:58 +0000 (0:00:00.041) 0:00:31.866 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:51:58 +0000 (0:00:00.363) 0:00:32.229 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:51:58 +0000 (0:00:00.036) 0:00:32.266 ****** fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.018999", "end": "2022-08-03 11:51:58.281900", "rc": 1, "start": "2022-08-03 11:51:58.262901" } 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/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:51:59 +0000 (0:00:00.409) 0:00:32.675 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:51:59 +0000 (0:00:00.069) 0:00:32.745 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:51:59 +0000 (0:00:00.038) 0:00:32.783 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'ethtest0' is absent] ******************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 15:51:59 +0000 (0:00:00.036) 0:00:32.820 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:189 Wednesday 03 August 2022 15:51:59 +0000 (0:00:00.048) 0:00:32.868 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 15:51:59 +0000 (0:00:00.059) 0:00:32.927 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-9.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:51:59 +0000 (0:00:00.058) 0:00:32.986 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 15:51:59 +0000 (0:00:00.385) 0:00:33.372 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=84 changed=6 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Wednesday 03 August 2022 15:51:59 +0000 (0:00:00.079) 0:00:33.451 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface ethtest0 ------------------------------------------ 1.16s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmp1gs4m1jh/tests/network/tests_routing_rules_nm.yml:5 ------------------- Install iproute --------------------------------------------------------- 1.07s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp1gs4m1jh/tests/network/playbooks/down_profile.yml:3 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmp1gs4m1jh/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:183 ---------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp1gs4m1jh/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:3 ------------ Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:5 ------------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.79s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.75s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.60s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.60s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp1gs4m1jh/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/_restore.yml:4 Wednesday 03 August 2022 15:51:59 +0000 (0:00:00.046) 0:00:33.498 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005458", "end": "2022-08-03 11:51:59.496537", "rc": 0, "start": "2022-08-03 11:51:59.491079" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=85 changed=7 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Wednesday 03 August 2022 15:52:00 +0000 (0:00:00.455) 0:00:33.953 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface ethtest0 ------------------------------------------ 1.16s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmp1gs4m1jh/tests/network/tests_routing_rules_nm.yml:5 ------------------- Install iproute --------------------------------------------------------- 1.07s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp1gs4m1jh/tests/network/playbooks/down_profile.yml:3 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmp1gs4m1jh/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:183 ---------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp1gs4m1jh/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:3 ------------ Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_routing_rules.yml:5 ------------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.79s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.75s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.60s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.60s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ----------------------------------