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/tmp40vowjjo 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/tmp05ac0kav/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:6 Wednesday 03 August 2022 16:18:27 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/centos-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": 1659543506.6679354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543506.6679354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1127737529", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp05ac0kav/tests/_backup.yml:13 Wednesday 03 August 2022 16:18:28 +0000 (0:00:00.560) 0:00:00.578 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-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': 4210438, 'dev': 64513, 'nlink': 1, 'atime': 1659543506.6679354, 'mtime': 1659542505.0, 'ctime': 1659543506.6679354, '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': '1127737529', '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": 1659543506.6679354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543506.6679354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1127737529", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:19 Wednesday 03 August 2022 16:18:28 +0000 (0:00:00.036) 0:00:00.615 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003642", "end": "2022-08-03 12:18:28.391137", "rc": 0, "start": "2022-08-03 12:18:28.387495" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:18:29 +0000 (0:00:00.469) 0:00:01.085 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.56s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.47s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_routing_rules_nm.yml ******************************************* 7 plays in /tmp/tmp05ac0kav/tests/tests_routing_rules_nm.yml PLAY [Run playbook 'playbooks/tests_routing_rules.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/tests_routing_rules_nm.yml:5 Wednesday 03 August 2022 16:18:29 +0000 (0:00:00.071) 0:00:01.157 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tests_routing_rules_nm.yml:8 Wednesday 03 August 2022 16:18:30 +0000 (0:00:01.015) 0:00:02.172 ****** included: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:18:30 +0000 (0:00:00.027) 0:00:02.199 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:18:30 +0000 (0:00:00.021) 0:00:02.220 ****** included: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:18:30 +0000 (0:00:00.027) 0:00:02.248 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:18:30 +0000 (0:00:00.018) 0:00:02.267 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:18:30 +0000 (0:00:00.018) 0:00:02.285 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:18:30 +0000 (0:00:00.018) 0:00:02.303 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp05ac0kav/tests/tests_routing_rules_nm.yml:9 Wednesday 03 August 2022 16:18:30 +0000 (0:00:00.018) 0:00:02.321 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:3 Wednesday 03 August 2022 16:18:30 +0000 (0:00:00.043) 0:00:02.365 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:5 Wednesday 03 August 2022 16:18:31 +0000 (0:00:00.790) 0:00:03.156 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:12 Wednesday 03 August 2022 16:18:31 +0000 (0:00:00.803) 0:00:03.960 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:16 Wednesday 03 August 2022 16:18:31 +0000 (0:00:00.032) 0:00:03.993 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:18:31 +0000 (0:00:00.058) 0:00:04.051 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.033) 0:00:04.085 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004441", "end": "2022-08-03 12:18:31.773172", "rc": 0, "start": "2022-08-03 12:18:31.768731" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.386) 0:00:04.471 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.031) 0:00:04.503 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:17 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.030) 0:00:04.534 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-9.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.039) 0:00:04.573 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.022) 0:00:04.596 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.024) 0:00:04.620 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.030) 0:00:04.651 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.028) 0:00:04.679 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003126", "end": "2022-08-03 12:18:32.346876", "rc": 0, "start": "2022-08-03 12:18:32.343750" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:18:32 +0000 (0:00:00.359) 0:00:05.039 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:18:33 +0000 (0:00:00.034) 0:00:05.074 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:18:33 +0000 (0:00:00.044) 0:00:05.118 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:18:34 +0000 (0:00:00.984) 0:00:06.103 ****** changed: [/cache/centos-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.007685", "end": "2022-08-03 12:18:33.837145", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2022-08-03 12:18:33.829460" } changed: [/cache/centos-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.003061", "end": "2022-08-03 12:18:34.181909", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2022-08-03 12:18:34.178848" } changed: [/cache/centos-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.007108", "end": "2022-08-03 12:18:34.540346", "item": "ip link set ethtest0 up", "rc": 0, "start": "2022-08-03 12:18:34.533238" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:18:35 +0000 (0:00:01.136) 0:00:07.239 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.017961", "end": "2022-08-03 12:18:34.966487", "rc": 0, "start": "2022-08-03 12:18:34.948526" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:18:35 +0000 (0:00:00.421) 0:00:07.661 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:18:35 +0000 (0:00:00.024) 0:00:07.685 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:18:35 +0000 (0:00:00.023) 0:00:07.709 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:18:35 +0000 (0:00:00.023) 0:00:07.732 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:18:35 +0000 (0:00:00.081) 0:00:07.814 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:20 Wednesday 03 August 2022 16:18:35 +0000 (0:00:00.023) 0:00:07.837 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:18:35 +0000 (0:00:00.036) 0:00:07.873 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:18:35 +0000 (0:00:00.029) 0:00:07.902 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659543513.8341866, "block_size": 4096, "blocks": 0, "ctime": 1659543513.8341866, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32954, "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": 1659543513.8341866, "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/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:18:36 +0000 (0:00:00.374) 0:00:08.277 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:18:36 +0000 (0:00:00.034) 0:00:08.312 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:18:36 +0000 (0:00:00.035) 0:00:08.347 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:18:36 +0000 (0:00:00.530) 0:00:08.877 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:18:38 +0000 (0:00:01.667) 0:00:10.544 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:18:39 +0000 (0:00:01.028) 0:00:11.573 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:18:39 +0000 (0:00:00.106) 0:00:11.679 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:18:39 +0000 (0:00:00.039) 0:00:11.719 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:18:39 +0000 (0:00:00.041) 0:00:11.760 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:18:39 +0000 (0:00:00.072) 0:00:11.833 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:18:39 +0000 (0:00:00.036) 0:00:11.869 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:18:39 +0000 (0:00:00.037) 0:00:11.907 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:18:39 +0000 (0:00:00.050) 0:00:11.957 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:18:40 +0000 (0:00:00.814) 0:00:12.772 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:18:40 +0000 (0:00:00.053) 0:00:12.825 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:18:40 +0000 (0:00:00.033) 0:00:12.858 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:18:40 +0000 (0:00:00.032) 0:00:12.891 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-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, 3fba182b-6e03-4cf7-a570-9db9ad807b0e [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 3fba182b-6e03-4cf7-a570-9db9ad807b0e (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.814) 0:00:13.705 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.043) 0:00:13.748 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 3fba182b-6e03-4cf7-a570-9db9ad807b0e", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 3fba182b-6e03-4cf7-a570-9db9ad807b0e (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.050) 0:00:13.798 ****** ok: [/cache/centos-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, 3fba182b-6e03-4cf7-a570-9db9ad807b0e\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 3fba182b-6e03-4cf7-a570-9db9ad807b0e (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 3fba182b-6e03-4cf7-a570-9db9ad807b0e", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 3fba182b-6e03-4cf7-a570-9db9ad807b0e (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.048) 0:00:13.846 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.039) 0:00:13.886 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [Get the routing rule for looking up the table 30200] ********************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:97 Wednesday 03 August 2022 16:18:42 +0000 (0:00:00.513) 0:00:14.399 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30200" ], "delta": "0:00:00.004173", "end": "2022-08-03 12:18:42.082235", "rc": 0, "start": "2022-08-03 12:18:42.078062" } 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/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:104 Wednesday 03 August 2022 16:18:42 +0000 (0:00:00.392) 0:00:14.791 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30400" ], "delta": "0:00:00.003166", "end": "2022-08-03 12:18:42.458216", "rc": 0, "start": "2022-08-03 12:18:42.455050" } 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/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:111 Wednesday 03 August 2022 16:18:43 +0000 (0:00:00.374) 0:00:15.165 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "rule", "list", "table", "30600" ], "delta": "0:00:00.003121", "end": "2022-08-03 12:18:42.836989", "rc": 0, "start": "2022-08-03 12:18:42.833868" } 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/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:118 Wednesday 03 August 2022 16:18:43 +0000 (0:00:00.381) 0:00:15.546 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.016732", "end": "2022-08-03 12:18:43.259129", "rc": 0, "start": "2022-08-03 12:18:43.242397" } 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/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:124 Wednesday 03 August 2022 16:18:43 +0000 (0:00:00.422) 0:00:15.969 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.016432", "end": "2022-08-03 12:18:43.651972", "rc": 0, "start": "2022-08-03 12:18:43.635540" } 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/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:130 Wednesday 03 August 2022 16:18:44 +0000 (0:00:00.390) 0:00:16.360 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:148 Wednesday 03 August 2022 16:18:44 +0000 (0:00:00.064) 0:00:16.424 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:162 Wednesday 03 August 2022 16:18:44 +0000 (0:00:00.057) 0:00:16.481 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:174 Wednesday 03 August 2022 16:18:44 +0000 (0:00:00.052) 0:00:16.533 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:197 Wednesday 03 August 2022 16:18:44 +0000 (0:00:00.060) 0:00:16.594 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/playbooks/down_profile.yml:3 Wednesday 03 August 2022 16:18:44 +0000 (0:00:00.098) 0:00:16.692 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:18:45 +0000 (0:00:00.894) 0:00:17.586 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:18:45 +0000 (0:00:00.059) 0:00:17.646 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:18:46 +0000 (0:00:00.536) 0:00:18.182 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:18:47 +0000 (0:00:01.504) 0:00:19.687 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.794) 0:00:20.482 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.046) 0:00:20.528 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.039) 0:00:20.568 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.037) 0:00:20.605 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.071) 0:00:20.676 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.037) 0:00:20.713 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.036) 0:00:20.750 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:18:48 +0000 (0:00:00.055) 0:00:20.805 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:18:49 +0000 (0:00:00.568) 0:00:21.374 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:18:49 +0000 (0:00:00.054) 0:00:21.428 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:18:49 +0000 (0:00:00.033) 0:00:21.461 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:18:49 +0000 (0:00:00.031) 0:00:21.493 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:18:50 +0000 (0:00:00.587) 0:00:22.080 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:18:50 +0000 (0:00:00.075) 0:00:22.156 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:18:50 +0000 (0:00:00.045) 0:00:22.201 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:18:50 +0000 (0:00:00.046) 0:00:22.248 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:18:50 +0000 (0:00:00.040) 0:00:22.289 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 16:18:50 +0000 (0:00:00.444) 0:00:22.734 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 16:18:51 +0000 (0:00:00.856) 0:00:23.590 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/delete_interface.yml for /cache/centos-9.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 16:18:51 +0000 (0:00:00.058) 0:00:23.649 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.016644", "end": "2022-08-03 12:18:51.392766", "rc": 0, "start": "2022-08-03 12:18:51.376122" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 16:18:52 +0000 (0:00:00.500) 0:00:24.149 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:18:52 +0000 (0:00:00.831) 0:00:24.981 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:18:52 +0000 (0:00:00.058) 0:00:25.039 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:18:53 +0000 (0:00:00.534) 0:00:25.574 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:18:55 +0000 (0:00:01.533) 0:00:27.107 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.757) 0:00:27.865 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.050) 0:00:27.915 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.038) 0:00:27.954 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.036) 0:00:27.991 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.073) 0:00:28.064 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.039) 0:00:28.104 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.076) 0:00:28.181 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.055) 0:00:28.236 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.548) 0:00:28.785 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.056) 0:00:28.842 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.034) 0:00:28.876 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.036) 0:00:28.912 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:18:57 +0000 (0:00:00.582) 0:00:29.495 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:18:57 +0000 (0:00:00.040) 0:00:29.536 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:18:57 +0000 (0:00:00.046) 0:00:29.583 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:18:57 +0000 (0:00:00.048) 0:00:29.632 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:18:57 +0000 (0:00:00.037) 0:00:29.670 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:216 Wednesday 03 August 2022 16:18:58 +0000 (0:00:00.453) 0:00:30.123 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:219 Wednesday 03 August 2022 16:18:58 +0000 (0:00:00.814) 0:00:30.938 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_absent.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 16:18:58 +0000 (0:00:00.059) 0:00:30.997 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:18:58 +0000 (0:00:00.060) 0:00:31.057 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.045) 0:00:31.103 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.383) 0:00:31.486 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.039) 0:00:31.525 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.018443", "end": "2022-08-03 12:18:59.256307", "rc": 1, "start": "2022-08-03 12:18:59.237864" } 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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.439) 0:00:31.964 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.037) 0:00:32.002 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:18:59 +0000 (0:00:00.035) 0:00:32.038 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'ethtest0' is absent] ******************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.037) 0:00:32.076 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:222 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.045) 0:00:32.122 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.056) 0:00:32.178 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.053) 0:00:32.232 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.386) 0:00:32.619 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=84 changed=6 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.072) 0:00:32.691 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.67s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.53s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.50s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface ethtest0 ------------------------------------------ 1.14s /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 1.03s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp05ac0kav/tests/tests_routing_rules_nm.yml:5 --------------------------- Install iproute --------------------------------------------------------- 0.98s /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmp05ac0kav/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmp05ac0kav/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp05ac0kav/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:216 ------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.81s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.81s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:5 -------------------- linux-system-roles.network : Check which packages are installed --------- 0.79s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:3 -------------------- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.59s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.58s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.57s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp05ac0kav/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_restore.yml:4 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.045) 0:00:32.737 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007105", "end": "2022-08-03 12:19:00.417073", "rc": 0, "start": "2022-08-03 12:19:00.409968" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=85 changed=7 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Wednesday 03 August 2022 16:19:01 +0000 (0:00:00.405) 0:00:33.143 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.67s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.53s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.50s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface ethtest0 ------------------------------------------ 1.14s /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 1.03s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp05ac0kav/tests/tests_routing_rules_nm.yml:5 --------------------------- Install iproute --------------------------------------------------------- 0.98s /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmp05ac0kav/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmp05ac0kav/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp05ac0kav/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:216 ------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.81s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.81s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:5 -------------------- linux-system-roles.network : Check which packages are installed --------- 0.79s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmp05ac0kav/tests/playbooks/tests_routing_rules.yml:3 -------------------- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.59s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.58s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.57s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- 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/tmp40vowjjo 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/tmpem3y1lsc/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:39:39 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/centos-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": 1659544777.4439025, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544777.4439025, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210118, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "561080190", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:39:39 +0000 (0:00:00.585) 0:00:00.603 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-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': 4210118, 'dev': 64513, 'nlink': 1, 'atime': 1659544777.4439025, 'mtime': 1659543778.0, 'ctime': 1659544777.4439025, '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': '561080190', '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": 1659544777.4439025, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544777.4439025, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210118, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "561080190", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:39:39 +0000 (0:00:00.035) 0:00:00.638 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004109", "end": "2022-08-03 12:39:39.195581", "rc": 0, "start": "2022-08-03 12:39:39.191472" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:39:40 +0000 (0:00:00.495) 0:00:01.134 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_routing_rules_nm.yml ******************************************* 7 plays in /tmp/tmpem3y1lsc/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/tmpem3y1lsc/tests/network/tests_routing_rules_nm.yml:5 Wednesday 03 August 2022 16:39:40 +0000 (0:00:00.086) 0:00:01.220 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_routing_rules_nm.yml:8 Wednesday 03 August 2022 16:39:41 +0000 (0:00:01.032) 0:00:02.253 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:39:41 +0000 (0:00:00.026) 0:00:02.279 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:39:41 +0000 (0:00:00.021) 0:00:02.300 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:39:41 +0000 (0:00:00.030) 0:00:02.331 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:39:41 +0000 (0:00:00.024) 0:00:02.355 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:39:41 +0000 (0:00:00.026) 0:00:02.382 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:39:41 +0000 (0:00:00.021) 0:00:02.403 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_routing_rules_nm.yml:9 Wednesday 03 August 2022 16:39:41 +0000 (0:00:00.023) 0:00:02.427 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:3 Wednesday 03 August 2022 16:39:41 +0000 (0:00:00.048) 0:00:02.475 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:5 Wednesday 03 August 2022 16:39:42 +0000 (0:00:00.841) 0:00:03.316 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:12 Wednesday 03 August 2022 16:39:43 +0000 (0:00:00.834) 0:00:04.151 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:16 Wednesday 03 August 2022 16:39:43 +0000 (0:00:00.041) 0:00:04.193 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:39:43 +0000 (0:00:00.038) 0:00:04.231 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:39:43 +0000 (0:00:00.030) 0:00:04.261 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003702", "end": "2022-08-03 12:39:42.706964", "rc": 0, "start": "2022-08-03 12:39:42.703262" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:39:43 +0000 (0:00:00.379) 0:00:04.641 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:39:43 +0000 (0:00:00.032) 0:00:04.673 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:17 Wednesday 03 August 2022 16:39:43 +0000 (0:00:00.033) 0:00:04.706 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-9.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:39:44 +0000 (0:00:00.039) 0:00:04.746 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:39:44 +0000 (0:00:00.022) 0:00:04.769 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:39:44 +0000 (0:00:00.021) 0:00:04.790 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:39:44 +0000 (0:00:00.031) 0:00:04.822 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:39:44 +0000 (0:00:00.029) 0:00:04.852 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003657", "end": "2022-08-03 12:39:43.310113", "rc": 0, "start": "2022-08-03 12:39:43.306456" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:39:44 +0000 (0:00:00.394) 0:00:05.247 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:39:44 +0000 (0:00:00.067) 0:00:05.314 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:39:44 +0000 (0:00:00.063) 0:00:05.378 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:39:45 +0000 (0:00:01.023) 0:00:06.402 ****** changed: [/cache/centos-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.009152", "end": "2022-08-03 12:39:44.905437", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2022-08-03 12:39:44.896285" } changed: [/cache/centos-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.004179", "end": "2022-08-03 12:39:45.271024", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2022-08-03 12:39:45.266845" } changed: [/cache/centos-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.007350", "end": "2022-08-03 12:39:45.638142", "item": "ip link set ethtest0 up", "rc": 0, "start": "2022-08-03 12:39:45.630792" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:39:46 +0000 (0:00:01.189) 0:00:07.591 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.022452", "end": "2022-08-03 12:39:46.060658", "rc": 0, "start": "2022-08-03 12:39:46.038206" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:39:47 +0000 (0:00:00.406) 0:00:07.997 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:39:47 +0000 (0:00:00.024) 0:00:08.021 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:39:47 +0000 (0:00:00.024) 0:00:08.046 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:39:47 +0000 (0:00:00.024) 0:00:08.070 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:39:47 +0000 (0:00:00.021) 0:00:08.092 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:20 Wednesday 03 August 2022 16:39:47 +0000 (0:00:00.022) 0:00:08.115 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:39:47 +0000 (0:00:00.039) 0:00:08.155 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:39:47 +0000 (0:00:00.030) 0:00:08.186 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544784.900564, "block_size": 4096, "blocks": 0, "ctime": 1659544784.900564, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32954, "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": 1659544784.900564, "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/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:39:47 +0000 (0:00:00.376) 0:00:08.563 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:39:47 +0000 (0:00:00.036) 0:00:08.599 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:39:47 +0000 (0:00:00.037) 0:00:08.637 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:39:48 +0000 (0:00:00.525) 0:00:09.163 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:39:50 +0000 (0:00:01.638) 0:00:10.802 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:39:51 +0000 (0:00:00.999) 0:00:11.801 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:39:51 +0000 (0:00:00.078) 0:00:11.880 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:39:51 +0000 (0:00:00.078) 0:00:11.959 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:39:51 +0000 (0:00:00.038) 0:00:11.997 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:39:51 +0000 (0:00:00.074) 0:00:12.072 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:39:51 +0000 (0:00:00.038) 0:00:12.111 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:39:51 +0000 (0:00:00.049) 0:00:12.160 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:39:51 +0000 (0:00:00.056) 0:00:12.217 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:39:52 +0000 (0:00:00.829) 0:00:13.046 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:39:52 +0000 (0:00:00.057) 0:00:13.103 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:39:52 +0000 (0:00:00.035) 0:00:13.139 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:39:52 +0000 (0:00:00.033) 0:00:13.172 ****** changed: [/cache/centos-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, 59345c7c-781f-4891-908d-3e692987aea4 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 59345c7c-781f-4891-908d-3e692987aea4 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:39:53 +0000 (0:00:00.827) 0:00:14.000 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:39:53 +0000 (0:00:00.039) 0:00:14.039 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 59345c7c-781f-4891-908d-3e692987aea4", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 59345c7c-781f-4891-908d-3e692987aea4 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:39:53 +0000 (0:00:00.047) 0:00:14.087 ****** ok: [/cache/centos-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, 59345c7c-781f-4891-908d-3e692987aea4\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 59345c7c-781f-4891-908d-3e692987aea4 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 59345c7c-781f-4891-908d-3e692987aea4", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 59345c7c-781f-4891-908d-3e692987aea4 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:39:53 +0000 (0:00:00.053) 0:00:14.140 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:39:53 +0000 (0:00:00.039) 0:00:14.180 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [Get the routing rule for looking up the table 30200] ********************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:96 Wednesday 03 August 2022 16:39:53 +0000 (0:00:00.500) 0:00:14.680 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30200" ], "delta": "0:00:00.005003", "end": "2022-08-03 12:39:53.135563", "rc": 0, "start": "2022-08-03 12:39:53.130560" } 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/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:103 Wednesday 03 August 2022 16:39:54 +0000 (0:00:00.407) 0:00:15.088 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30400" ], "delta": "0:00:00.004391", "end": "2022-08-03 12:39:53.540836", "rc": 0, "start": "2022-08-03 12:39:53.536445" } 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/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:110 Wednesday 03 August 2022 16:39:54 +0000 (0:00:00.403) 0:00:15.491 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "rule", "list", "table", "30600" ], "delta": "0:00:00.004112", "end": "2022-08-03 12:39:53.945854", "rc": 0, "start": "2022-08-03 12:39:53.941742" } 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/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:117 Wednesday 03 August 2022 16:39:55 +0000 (0:00:00.403) 0:00:15.895 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.017409", "end": "2022-08-03 12:39:54.393745", "rc": 0, "start": "2022-08-03 12:39:54.376336" } 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/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:123 Wednesday 03 August 2022 16:39:55 +0000 (0:00:00.444) 0:00:16.339 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.018134", "end": "2022-08-03 12:39:54.814795", "rc": 0, "start": "2022-08-03 12:39:54.796661" } 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/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:129 Wednesday 03 August 2022 16:39:56 +0000 (0:00:00.422) 0:00:16.762 ****** ok: [/cache/centos-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/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:140 Wednesday 03 August 2022 16:39:56 +0000 (0:00:00.055) 0:00:16.818 ****** ok: [/cache/centos-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/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:149 Wednesday 03 August 2022 16:39:56 +0000 (0:00:00.052) 0:00:16.871 ****** ok: [/cache/centos-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/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:157 Wednesday 03 August 2022 16:39:56 +0000 (0:00:00.057) 0:00:16.928 ****** ok: [/cache/centos-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/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:170 Wednesday 03 August 2022 16:39:56 +0000 (0:00:00.060) 0:00:16.989 ****** ok: [/cache/centos-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/tmpem3y1lsc/tests/network/playbooks/down_profile.yml:3 Wednesday 03 August 2022 16:39:56 +0000 (0:00:00.101) 0:00:17.091 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:39:57 +0000 (0:00:00.917) 0:00:18.008 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:39:57 +0000 (0:00:00.062) 0:00:18.071 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:39:57 +0000 (0:00:00.564) 0:00:18.635 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:39:59 +0000 (0:00:01.551) 0:00:20.186 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:40:00 +0000 (0:00:00.766) 0:00:20.953 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:40:00 +0000 (0:00:00.046) 0:00:20.999 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:40:00 +0000 (0:00:00.038) 0:00:21.038 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:40:00 +0000 (0:00:00.045) 0:00:21.084 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:40:00 +0000 (0:00:00.076) 0:00:21.160 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:40:00 +0000 (0:00:00.038) 0:00:21.198 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:40:00 +0000 (0:00:00.041) 0:00:21.239 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:40:00 +0000 (0:00:00.055) 0:00:21.294 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:40:01 +0000 (0:00:00.578) 0:00:21.873 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:40:01 +0000 (0:00:00.055) 0:00:21.928 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:40:01 +0000 (0:00:00.035) 0:00:21.964 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:40:01 +0000 (0:00:00.035) 0:00:22.000 ****** changed: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:40:01 +0000 (0:00:00.634) 0:00:22.634 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:40:01 +0000 (0:00:00.044) 0:00:22.679 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:40:02 +0000 (0:00:00.054) 0:00:22.734 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:40:02 +0000 (0:00:00.051) 0:00:22.785 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:40:02 +0000 (0:00:00.038) 0:00:22.824 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 16:40:02 +0000 (0:00:00.458) 0:00:23.283 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 16:40:03 +0000 (0:00:00.895) 0:00:24.178 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/delete_interface.yml for /cache/centos-9.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 16:40:03 +0000 (0:00:00.056) 0:00:24.235 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.015559", "end": "2022-08-03 12:40:02.684722", "rc": 0, "start": "2022-08-03 12:40:02.669163" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 16:40:03 +0000 (0:00:00.443) 0:00:24.679 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:40:04 +0000 (0:00:00.856) 0:00:25.535 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:40:04 +0000 (0:00:00.057) 0:00:25.593 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:40:05 +0000 (0:00:00.740) 0:00:26.334 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:40:07 +0000 (0:00:01.581) 0:00:27.916 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:40:07 +0000 (0:00:00.778) 0:00:28.694 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:40:08 +0000 (0:00:00.049) 0:00:28.744 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:40:08 +0000 (0:00:00.041) 0:00:28.785 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:40:08 +0000 (0:00:00.040) 0:00:28.826 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:40:08 +0000 (0:00:00.075) 0:00:28.902 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:40:08 +0000 (0:00:00.039) 0:00:28.941 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:40:08 +0000 (0:00:00.039) 0:00:28.981 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:40:08 +0000 (0:00:00.055) 0:00:29.037 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:40:08 +0000 (0:00:00.579) 0:00:29.616 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:40:08 +0000 (0:00:00.055) 0:00:29.672 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:40:08 +0000 (0:00:00.036) 0:00:29.708 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:40:09 +0000 (0:00:00.037) 0:00:29.745 ****** changed: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:40:09 +0000 (0:00:00.578) 0:00:30.324 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:40:09 +0000 (0:00:00.081) 0:00:30.406 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:40:09 +0000 (0:00:00.060) 0:00:30.466 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:40:09 +0000 (0:00:00.053) 0:00:30.520 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:40:09 +0000 (0:00:00.041) 0:00:30.562 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:183 Wednesday 03 August 2022 16:40:10 +0000 (0:00:00.445) 0:00:31.007 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:186 Wednesday 03 August 2022 16:40:11 +0000 (0:00:00.842) 0:00:31.850 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 16:40:11 +0000 (0:00:00.056) 0:00:31.906 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:40:11 +0000 (0:00:00.095) 0:00:32.002 ****** ok: [/cache/centos-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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:40:11 +0000 (0:00:00.044) 0:00:32.046 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:40:11 +0000 (0:00:00.398) 0:00:32.445 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:40:11 +0000 (0:00:00.036) 0:00:32.482 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.018511", "end": "2022-08-03 12:40:10.941067", "rc": 1, "start": "2022-08-03 12:40:10.922556" } 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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:40:12 +0000 (0:00:00.406) 0:00:32.888 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:40:12 +0000 (0:00:00.036) 0:00:32.925 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:40:12 +0000 (0:00:00.037) 0:00:32.962 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'ethtest0' is absent] ******************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 16:40:12 +0000 (0:00:00.036) 0:00:32.998 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:189 Wednesday 03 August 2022 16:40:12 +0000 (0:00:00.047) 0:00:33.046 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:40:12 +0000 (0:00:00.053) 0:00:33.100 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:40:12 +0000 (0:00:00.053) 0:00:33.153 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:40:12 +0000 (0:00:00.399) 0:00:33.553 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=84 changed=6 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Wednesday 03 August 2022 16:40:12 +0000 (0:00:00.066) 0:00:33.619 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface ethtest0 ------------------------------------------ 1.19s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpem3y1lsc/tests/network/tests_routing_rules_nm.yml:5 ------------------- Install iproute --------------------------------------------------------- 1.02s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmpem3y1lsc/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpem3y1lsc/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpem3y1lsc/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:183 ---------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:3 ------------ Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:5 ------------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.83s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.83s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /tmp/tmp40vowjjo/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.74s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.63s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpem3y1lsc/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:40:12 +0000 (0:00:00.042) 0:00:33.661 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005945", "end": "2022-08-03 12:40:12.093787", "rc": 0, "start": "2022-08-03 12:40:12.087842" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=85 changed=7 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Wednesday 03 August 2022 16:40:13 +0000 (0:00:00.398) 0:00:34.060 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface ethtest0 ------------------------------------------ 1.19s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpem3y1lsc/tests/network/tests_routing_rules_nm.yml:5 ------------------- Install iproute --------------------------------------------------------- 1.02s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmpem3y1lsc/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpem3y1lsc/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpem3y1lsc/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:183 ---------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:3 ------------ Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_routing_rules.yml:5 ------------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.83s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.83s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /tmp/tmp40vowjjo/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.74s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.63s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ----------------------------------