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/tmpdm_c1v_l 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/tmp5fajrzs2/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp5fajrzs2/tests/_backup.yml:6 Wednesday 03 August 2022 16:49:28 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/fedora-35.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": 1659545367.1103847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659545367.1103847, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 43649, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp5fajrzs2/tests/_backup.yml:13 Wednesday 03 August 2022 16:49:28 +0000 (0:00:00.603) 0:00:00.622 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-35.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 43649, 'dev': 32, 'nlink': 1, 'atime': 1659545367.1103847, 'mtime': 1659338446.0, 'ctime': 1659545367.1103847, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': True, 'rgrp': True, 'xgrp': True, 'woth': True, 'roth': True, 'xoth': True, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'lnk_source': '/run/systemd/resolve/stub-resolv.conf', 'lnk_target': '../run/systemd/resolve/stub-resolv.conf', 'pw_name': 'root', 'gr_name': 'root', 'mimetype': 'inode/symlink', 'charset': 'binary', 'version': None, '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": 1659545367.1103847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659545367.1103847, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 43649, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp5fajrzs2/tests/_backup.yml:19 Wednesday 03 August 2022 16:49:28 +0000 (0:00:00.034) 0:00:00.657 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004430", "end": "2022-08-03 16:49:28.861185", "rc": 0, "start": "2022-08-03 16:49:28.856755" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:49:29 +0000 (0:00:00.491) 0:00:01.148 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmp5fajrzs2/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp5fajrzs2/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_routing_rules_nm.yml ******************************************* 7 plays in /tmp/tmp5fajrzs2/tests/tests_routing_rules_nm.yml PLAY [Run playbook 'playbooks/tests_routing_rules.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/tests_routing_rules_nm.yml:5 Wednesday 03 August 2022 16:49:29 +0000 (0:00:00.063) 0:00:01.212 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tests_routing_rules_nm.yml:8 Wednesday 03 August 2022 16:49:30 +0000 (0:00:01.048) 0:00:02.260 ****** included: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml for /cache/fedora-35.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:49:30 +0000 (0:00:00.028) 0:00:02.289 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:49:30 +0000 (0:00:00.021) 0:00:02.310 ****** included: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml for /cache/fedora-35.qcow2.snap TASK [Create EPEL 35] ********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:49:30 +0000 (0:00:00.030) 0:00:02.341 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:49:30 +0000 (0:00:00.021) 0:00:02.362 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:49:30 +0000 (0:00:00.020) 0:00:02.382 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:49:30 +0000 (0:00:00.019) 0:00:02.402 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp5fajrzs2/tests/tests_routing_rules_nm.yml:9 Wednesday 03 August 2022 16:49:30 +0000 (0:00:00.019) 0:00:02.421 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:3 Wednesday 03 August 2022 16:49:30 +0000 (0:00:00.050) 0:00:02.471 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:5 Wednesday 03 August 2022 16:49:31 +0000 (0:00:00.844) 0:00:03.316 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:12 Wednesday 03 August 2022 16:49:32 +0000 (0:00:00.816) 0:00:04.133 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:16 Wednesday 03 August 2022 16:49:32 +0000 (0:00:00.032) 0:00:04.166 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:49:32 +0000 (0:00:00.033) 0:00:04.199 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:49:32 +0000 (0:00:00.032) 0:00:04.232 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003533", "end": "2022-08-03 16:49:32.381018", "rc": 0, "start": "2022-08-03 16:49:32.377485" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:49:32 +0000 (0:00:00.433) 0:00:04.665 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:49:32 +0000 (0:00:00.030) 0:00:04.696 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:17 Wednesday 03 August 2022 16:49:33 +0000 (0:00:00.032) 0:00:04.728 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-35.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:49:33 +0000 (0:00:00.039) 0:00:04.768 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:49:33 +0000 (0:00:00.022) 0:00:04.790 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:49:33 +0000 (0:00:00.023) 0:00:04.813 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:49:33 +0000 (0:00:00.054) 0:00:04.868 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:49:33 +0000 (0:00:00.031) 0:00:04.900 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003630", "end": "2022-08-03 16:49:33.019319", "rc": 0, "start": "2022-08-03 16:49:33.015689" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:49:33 +0000 (0:00:00.406) 0:00:05.306 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:49:33 +0000 (0:00:00.031) 0:00:05.338 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:49:33 +0000 (0:00:00.029) 0:00:05.367 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:49:35 +0000 (0:00:02.261) 0:00:07.629 ****** changed: [/cache/fedora-35.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.005479", "end": "2022-08-03 16:49:35.728138", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2022-08-03 16:49:35.722659" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003766", "end": "2022-08-03 16:49:36.092015", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2022-08-03 16:49:36.088249" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.010482", "end": "2022-08-03 16:49:36.465834", "item": "ip link set ethtest0 up", "rc": 0, "start": "2022-08-03 16:49:36.455352" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:49:37 +0000 (0:00:01.130) 0:00:08.760 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.023842", "end": "2022-08-03 16:49:36.898500", "rc": 0, "start": "2022-08-03 16:49:36.874658" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:49:37 +0000 (0:00:00.429) 0:00:09.189 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:49:37 +0000 (0:00:00.024) 0:00:09.213 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:49:37 +0000 (0:00:00.024) 0:00:09.237 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:49:37 +0000 (0:00:00.023) 0:00:09.261 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:49:37 +0000 (0:00:00.023) 0:00:09.284 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:20 Wednesday 03 August 2022 16:49:37 +0000 (0:00:00.022) 0:00:09.307 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:49:37 +0000 (0:00:00.036) 0:00:09.344 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:49:37 +0000 (0:00:00.031) 0:00:09.375 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659545375.7266195, "block_size": 4096, "blocks": 0, "ctime": 1659545375.7266195, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35436, "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": 1659545375.7266195, "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/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:49:38 +0000 (0:00:00.400) 0:00:09.775 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:49:38 +0000 (0:00:00.035) 0:00:09.811 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:49:38 +0000 (0:00:00.035) 0:00:09.847 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:49:38 +0000 (0:00:00.526) 0:00:10.374 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:49:40 +0000 (0:00:02.213) 0:00:12.587 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:49:41 +0000 (0:00:01.013) 0:00:13.601 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:49:41 +0000 (0:00:00.045) 0:00:13.647 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:49:41 +0000 (0:00:00.041) 0:00:13.688 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:49:42 +0000 (0:00:00.039) 0:00:13.728 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:49:42 +0000 (0:00:00.074) 0:00:13.803 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:49:42 +0000 (0:00:00.038) 0:00:13.841 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:49:42 +0000 (0:00:00.039) 0:00:13.881 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:49:42 +0000 (0:00:00.054) 0:00:13.935 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:49:43 +0000 (0:00:00.818) 0:00:14.753 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:49:43 +0000 (0:00:00.058) 0:00:14.812 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:49:43 +0000 (0:00:00.038) 0:00:14.850 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:49:43 +0000 (0:00:00.080) 0:00:14.930 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.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, c33f0165-50fb-489a-90d2-2f2ca2546b85 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, c33f0165-50fb-489a-90d2-2f2ca2546b85 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:49:44 +0000 (0:00:00.870) 0:00:15.801 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:49:44 +0000 (0:00:00.048) 0:00:15.849 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, c33f0165-50fb-489a-90d2-2f2ca2546b85", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, c33f0165-50fb-489a-90d2-2f2ca2546b85 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:49:44 +0000 (0:00:00.048) 0:00:15.897 ****** ok: [/cache/fedora-35.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, c33f0165-50fb-489a-90d2-2f2ca2546b85\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, c33f0165-50fb-489a-90d2-2f2ca2546b85 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, c33f0165-50fb-489a-90d2-2f2ca2546b85", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, c33f0165-50fb-489a-90d2-2f2ca2546b85 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:49:44 +0000 (0:00:00.049) 0:00:15.946 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:49:44 +0000 (0:00:00.038) 0:00:15.985 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Get the routing rule for looking up the table 30200] ********************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:97 Wednesday 03 August 2022 16:49:44 +0000 (0:00:00.565) 0:00:16.551 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30200" ], "delta": "0:00:00.004894", "end": "2022-08-03 16:49:44.662095", "rc": 0, "start": "2022-08-03 16:49:44.657201" } 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 0x08 lookup 30200 TASK [Get the routing rule for looking up the table 30400] ********************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:104 Wednesday 03 August 2022 16:49:45 +0000 (0:00:00.451) 0:00:17.003 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30400" ], "delta": "0:00:00.004715", "end": "2022-08-03 16:49:45.113149", "rc": 0, "start": "2022-08-03 16:49:45.108434" } 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/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:111 Wednesday 03 August 2022 16:49:45 +0000 (0:00:00.416) 0:00:17.419 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "rule", "list", "table", "30600" ], "delta": "0:00:00.003437", "end": "2022-08-03 16:49:45.534911", "rc": 0, "start": "2022-08-03 16:49:45.531474" } 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/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:118 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.421) 0:00:17.841 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.019871", "end": "2022-08-03 16:49:45.961513", "rc": 0, "start": "2022-08-03 16:49:45.941642" } 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/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:124 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.425) 0:00:18.266 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.017580", "end": "2022-08-03 16:49:46.388336", "rc": 0, "start": "2022-08-03 16:49:46.370756" } 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/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:130 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.427) 0:00:18.694 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:148 Wednesday 03 August 2022 16:49:47 +0000 (0:00:00.060) 0:00:18.754 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:162 Wednesday 03 August 2022 16:49:47 +0000 (0:00:00.055) 0:00:18.809 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:174 Wednesday 03 August 2022 16:49:47 +0000 (0:00:00.058) 0:00:18.868 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:197 Wednesday 03 August 2022 16:49:47 +0000 (0:00:00.146) 0:00:19.014 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/down_profile.yml:3 Wednesday 03 August 2022 16:49:47 +0000 (0:00:00.108) 0:00:19.122 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:49:48 +0000 (0:00:00.893) 0:00:20.016 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:49:48 +0000 (0:00:00.064) 0:00:20.080 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:49:48 +0000 (0:00:00.554) 0:00:20.635 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:49:50 +0000 (0:00:02.069) 0:00:22.704 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:49:51 +0000 (0:00:00.730) 0:00:23.435 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:49:51 +0000 (0:00:00.114) 0:00:23.550 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:49:51 +0000 (0:00:00.041) 0:00:23.592 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:49:51 +0000 (0:00:00.042) 0:00:23.634 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:49:51 +0000 (0:00:00.078) 0:00:23.713 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:49:52 +0000 (0:00:00.041) 0:00:23.754 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:49:52 +0000 (0:00:00.041) 0:00:23.796 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:49:52 +0000 (0:00:00.056) 0:00:23.852 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:49:52 +0000 (0:00:00.587) 0:00:24.440 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:49:52 +0000 (0:00:00.058) 0:00:24.498 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:49:52 +0000 (0:00:00.038) 0:00:24.537 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:49:52 +0000 (0:00:00.038) 0:00:24.575 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.680) 0:00:25.256 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.042) 0:00:25.299 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.049) 0:00:25.349 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.048) 0:00:25.397 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.042) 0:00:25.439 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 16:49:54 +0000 (0:00:00.499) 0:00:25.938 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 16:49:55 +0000 (0:00:00.923) 0:00:26.862 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/delete_interface.yml for /cache/fedora-35.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 16:49:55 +0000 (0:00:00.061) 0:00:26.924 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.011897", "end": "2022-08-03 16:49:55.028607", "rc": 0, "start": "2022-08-03 16:49:55.016710" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 16:49:55 +0000 (0:00:00.461) 0:00:27.385 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:49:56 +0000 (0:00:00.850) 0:00:28.236 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:49:56 +0000 (0:00:00.063) 0:00:28.299 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:49:57 +0000 (0:00:00.587) 0:00:28.886 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:49:59 +0000 (0:00:02.042) 0:00:30.928 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:49:59 +0000 (0:00:00.773) 0:00:31.702 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.046) 0:00:31.749 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.041) 0:00:31.790 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.040) 0:00:31.830 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.075) 0:00:31.906 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.039) 0:00:31.946 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.040) 0:00:31.986 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.054) 0:00:32.041 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.585) 0:00:32.627 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.055) 0:00:32.683 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:50:01 +0000 (0:00:00.035) 0:00:32.719 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:50:01 +0000 (0:00:00.038) 0:00:32.757 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:50:01 +0000 (0:00:00.628) 0:00:33.385 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:50:01 +0000 (0:00:00.044) 0:00:33.430 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:50:01 +0000 (0:00:00.055) 0:00:33.486 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:50:01 +0000 (0:00:00.049) 0:00:33.535 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:50:01 +0000 (0:00:00.040) 0:00:33.575 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:216 Wednesday 03 August 2022 16:50:02 +0000 (0:00:00.467) 0:00:34.043 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:219 Wednesday 03 August 2022 16:50:03 +0000 (0:00:00.905) 0:00:34.948 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 16:50:03 +0000 (0:00:00.060) 0:00:35.009 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:50:03 +0000 (0:00:00.063) 0:00:35.073 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:50:03 +0000 (0:00:00.050) 0:00:35.123 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:50:03 +0000 (0:00:00.422) 0:00:35.546 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:50:03 +0000 (0:00:00.039) 0:00:35.585 ****** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.019917", "end": "2022-08-03 16:50:03.720416", "rc": 1, "start": "2022-08-03 16:50:03.700499" } 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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.439) 0:00:36.025 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.039) 0:00:36.064 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.039) 0:00:36.104 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'ethtest0' is absent] ******************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.074) 0:00:36.178 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:222 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.050) 0:00:36.229 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.062) 0:00:36.291 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.061) 0:00:36.353 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:50:05 +0000 (0:00:00.402) 0:00:36.755 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=84 changed=6 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Wednesday 03 August 2022 16:50:05 +0000 (0:00:00.072) 0:00:36.828 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.26s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.21s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.07s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.04s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface ethtest0 ------------------------------------------ 1.13s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp5fajrzs2/tests/tests_routing_rules_nm.yml:5 --------------------------- linux-system-roles.network : Check which packages are installed --------- 1.01s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmp5fajrzs2/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:216 ------------------ Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmp5fajrzs2/tests/playbooks/down_profile.yml:3 --------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.87s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmp5fajrzs2/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:3 -------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.82s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:5 -------------------- linux-system-roles.network : Check which packages are installed --------- 0.77s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.73s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.68s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.63s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp5fajrzs2/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp5fajrzs2/tests/_restore.yml:4 Wednesday 03 August 2022 16:50:05 +0000 (0:00:00.048) 0:00:36.876 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006696", "end": "2022-08-03 16:50:04.973912", "rc": 0, "start": "2022-08-03 16:50:04.967216" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=85 changed=7 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Wednesday 03 August 2022 16:50:05 +0000 (0:00:00.424) 0:00:37.300 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.26s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.21s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.07s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.04s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface ethtest0 ------------------------------------------ 1.13s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp5fajrzs2/tests/tests_routing_rules_nm.yml:5 --------------------------- linux-system-roles.network : Check which packages are installed --------- 1.01s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmp5fajrzs2/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:216 ------------------ Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmp5fajrzs2/tests/playbooks/down_profile.yml:3 --------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.87s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmp5fajrzs2/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:3 -------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.82s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmp5fajrzs2/tests/playbooks/tests_routing_rules.yml:5 -------------------- linux-system-roles.network : Check which packages are installed --------- 0.77s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.73s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.68s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.63s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpdm_c1v_l 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/tmpn6gexhje/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:15:55 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/fedora-35.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": 1659546954.852671, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659546954.852671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 43648, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:15:56 +0000 (0:00:00.591) 0:00:00.609 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-35.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 43648, 'dev': 32, 'nlink': 1, 'atime': 1659546954.852671, 'mtime': 1659338446.0, 'ctime': 1659546954.852671, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': True, 'rgrp': True, 'xgrp': True, 'woth': True, 'roth': True, 'xoth': True, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'lnk_source': '/run/systemd/resolve/stub-resolv.conf', 'lnk_target': '../run/systemd/resolve/stub-resolv.conf', 'pw_name': 'root', 'gr_name': 'root', 'mimetype': 'inode/symlink', 'charset': 'binary', 'version': None, '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": 1659546954.852671, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659546954.852671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 43648, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:15:56 +0000 (0:00:00.033) 0:00:00.643 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004142", "end": "2022-08-03 17:15:56.631790", "rc": 0, "start": "2022-08-03 17:15:56.627648" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:15:57 +0000 (0:00:00.514) 0:00:01.157 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.51s /tmp/tmpn6gexhje/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpn6gexhje/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_routing_rules_nm.yml ******************************************* 7 plays in /tmp/tmpn6gexhje/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/tmpn6gexhje/tests/network/tests_routing_rules_nm.yml:5 Wednesday 03 August 2022 17:15:57 +0000 (0:00:00.090) 0:00:01.248 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_routing_rules_nm.yml:8 Wednesday 03 August 2022 17:15:58 +0000 (0:00:01.059) 0:00:02.308 ****** included: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml for /cache/fedora-35.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:15:58 +0000 (0:00:00.029) 0:00:02.337 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:15:58 +0000 (0:00:00.021) 0:00:02.358 ****** included: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml for /cache/fedora-35.qcow2.snap TASK [Create EPEL 35] ********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:15:58 +0000 (0:00:00.030) 0:00:02.388 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:15:58 +0000 (0:00:00.020) 0:00:02.409 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:15:58 +0000 (0:00:00.026) 0:00:02.436 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:15:58 +0000 (0:00:00.022) 0:00:02.458 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_routing_rules_nm.yml:9 Wednesday 03 August 2022 17:15:58 +0000 (0:00:00.022) 0:00:02.480 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:3 Wednesday 03 August 2022 17:15:58 +0000 (0:00:00.048) 0:00:02.529 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:5 Wednesday 03 August 2022 17:15:59 +0000 (0:00:00.855) 0:00:03.384 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:12 Wednesday 03 August 2022 17:16:00 +0000 (0:00:00.816) 0:00:04.200 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:16 Wednesday 03 August 2022 17:16:00 +0000 (0:00:00.032) 0:00:04.233 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:16:00 +0000 (0:00:00.035) 0:00:04.268 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:16:00 +0000 (0:00:00.028) 0:00:04.297 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003517", "end": "2022-08-03 17:16:00.163773", "rc": 0, "start": "2022-08-03 17:16:00.160256" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:16:00 +0000 (0:00:00.382) 0:00:04.680 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:16:00 +0000 (0:00:00.065) 0:00:04.746 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:17 Wednesday 03 August 2022 17:16:00 +0000 (0:00:00.034) 0:00:04.780 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-35.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:16:00 +0000 (0:00:00.041) 0:00:04.822 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:16:00 +0000 (0:00:00.022) 0:00:04.844 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:16:00 +0000 (0:00:00.023) 0:00:04.867 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:16:00 +0000 (0:00:00.033) 0:00:04.900 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:16:00 +0000 (0:00:00.060) 0:00:04.961 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003546", "end": "2022-08-03 17:16:00.828202", "rc": 0, "start": "2022-08-03 17:16:00.824656" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:16:01 +0000 (0:00:00.385) 0:00:05.346 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:16:01 +0000 (0:00:00.030) 0:00:05.377 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:16:01 +0000 (0:00:00.031) 0:00:05.408 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:16:03 +0000 (0:00:02.170) 0:00:07.578 ****** changed: [/cache/fedora-35.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.005735", "end": "2022-08-03 17:16:03.458375", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2022-08-03 17:16:03.452640" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003751", "end": "2022-08-03 17:16:03.838376", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2022-08-03 17:16:03.834625" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.005732", "end": "2022-08-03 17:16:04.209434", "item": "ip link set ethtest0 up", "rc": 0, "start": "2022-08-03 17:16:04.203702" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:16:04 +0000 (0:00:01.151) 0:00:08.730 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.020470", "end": "2022-08-03 17:16:04.623758", "rc": 0, "start": "2022-08-03 17:16:04.603288" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:16:05 +0000 (0:00:00.414) 0:00:09.144 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:16:05 +0000 (0:00:00.025) 0:00:09.169 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:16:05 +0000 (0:00:00.024) 0:00:09.193 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:16:05 +0000 (0:00:00.023) 0:00:09.217 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:16:05 +0000 (0:00:00.023) 0:00:09.241 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:20 Wednesday 03 August 2022 17:16:05 +0000 (0:00:00.022) 0:00:09.264 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:16:05 +0000 (0:00:00.040) 0:00:09.304 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:16:05 +0000 (0:00:00.033) 0:00:09.338 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546963.4566448, "block_size": 4096, "blocks": 0, "ctime": 1659546963.4566448, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35436, "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": 1659546963.4566448, "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/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:16:05 +0000 (0:00:00.392) 0:00:09.731 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:16:05 +0000 (0:00:00.035) 0:00:09.767 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:16:05 +0000 (0:00:00.039) 0:00:09.806 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:16:06 +0000 (0:00:00.559) 0:00:10.365 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:16:08 +0000 (0:00:02.251) 0:00:12.616 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:16:09 +0000 (0:00:01.043) 0:00:13.660 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:16:09 +0000 (0:00:00.046) 0:00:13.707 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:16:09 +0000 (0:00:00.040) 0:00:13.747 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:16:09 +0000 (0:00:00.039) 0:00:13.787 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:16:09 +0000 (0:00:00.080) 0:00:13.867 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:16:09 +0000 (0:00:00.040) 0:00:13.908 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:16:09 +0000 (0:00:00.040) 0:00:13.948 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:16:09 +0000 (0:00:00.053) 0:00:14.002 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:16:10 +0000 (0:00:00.844) 0:00:14.847 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:16:10 +0000 (0:00:00.059) 0:00:14.906 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:16:10 +0000 (0:00:00.038) 0:00:14.944 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:16:10 +0000 (0:00:00.071) 0:00:15.015 ****** changed: [/cache/fedora-35.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, b9ac9c76-eeeb-4c0d-b87f-f2bf6ad2ef69 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b9ac9c76-eeeb-4c0d-b87f-f2bf6ad2ef69 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.803) 0:00:15.819 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.043) 0:00:15.862 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b9ac9c76-eeeb-4c0d-b87f-f2bf6ad2ef69", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b9ac9c76-eeeb-4c0d-b87f-f2bf6ad2ef69 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.047) 0:00:15.910 ****** ok: [/cache/fedora-35.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, b9ac9c76-eeeb-4c0d-b87f-f2bf6ad2ef69\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b9ac9c76-eeeb-4c0d-b87f-f2bf6ad2ef69 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b9ac9c76-eeeb-4c0d-b87f-f2bf6ad2ef69", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b9ac9c76-eeeb-4c0d-b87f-f2bf6ad2ef69 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.053) 0:00:15.963 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.040) 0:00:16.003 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Get the routing rule for looking up the table 30200] ********************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:96 Wednesday 03 August 2022 17:16:12 +0000 (0:00:00.545) 0:00:16.549 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30200" ], "delta": "0:00:00.005626", "end": "2022-08-03 17:16:12.426039", "rc": 0, "start": "2022-08-03 17:16:12.420413" } 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 0x08 lookup 30200 TASK [Get the routing rule for looking up the table 30400] ********************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:103 Wednesday 03 August 2022 17:16:12 +0000 (0:00:00.418) 0:00:16.967 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "rule", "list", "table", "30400" ], "delta": "0:00:00.003988", "end": "2022-08-03 17:16:12.887169", "rc": 0, "start": "2022-08-03 17:16:12.883181" } 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/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:110 Wednesday 03 August 2022 17:16:13 +0000 (0:00:00.454) 0:00:17.421 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "rule", "list", "table", "30600" ], "delta": "0:00:00.003436", "end": "2022-08-03 17:16:13.325183", "rc": 0, "start": "2022-08-03 17:16:13.321747" } 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/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:117 Wednesday 03 August 2022 17:16:13 +0000 (0:00:00.441) 0:00:17.863 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.017274", "end": "2022-08-03 17:16:13.750920", "rc": 0, "start": "2022-08-03 17:16:13.733646" } 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/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:123 Wednesday 03 August 2022 17:16:14 +0000 (0:00:00.423) 0:00:18.287 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.017095", "end": "2022-08-03 17:16:14.164950", "rc": 0, "start": "2022-08-03 17:16:14.147855" } 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/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:129 Wednesday 03 August 2022 17:16:14 +0000 (0:00:00.409) 0:00:18.696 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:140 Wednesday 03 August 2022 17:16:14 +0000 (0:00:00.057) 0:00:18.753 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:149 Wednesday 03 August 2022 17:16:14 +0000 (0:00:00.054) 0:00:18.808 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:157 Wednesday 03 August 2022 17:16:14 +0000 (0:00:00.052) 0:00:18.860 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:170 Wednesday 03 August 2022 17:16:14 +0000 (0:00:00.061) 0:00:18.922 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/down_profile.yml:3 Wednesday 03 August 2022 17:16:15 +0000 (0:00:00.175) 0:00:19.098 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:16:15 +0000 (0:00:00.881) 0:00:19.979 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:16:15 +0000 (0:00:00.064) 0:00:20.044 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:16:16 +0000 (0:00:00.570) 0:00:20.614 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:16:18 +0000 (0:00:02.066) 0:00:22.680 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.720) 0:00:23.401 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.048) 0:00:23.450 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.064) 0:00:23.514 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.039) 0:00:23.554 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.074) 0:00:23.628 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.038) 0:00:23.667 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.039) 0:00:23.706 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.053) 0:00:23.759 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:16:20 +0000 (0:00:00.574) 0:00:24.334 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:16:20 +0000 (0:00:00.055) 0:00:24.390 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:16:20 +0000 (0:00:00.035) 0:00:24.425 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:16:20 +0000 (0:00:00.040) 0:00:24.465 ****** changed: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:16:21 +0000 (0:00:00.609) 0:00:25.074 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:16:21 +0000 (0:00:00.070) 0:00:25.144 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:16:21 +0000 (0:00:00.049) 0:00:25.193 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:16:21 +0000 (0:00:00.049) 0:00:25.243 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:16:21 +0000 (0:00:00.038) 0:00:25.282 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 17:16:21 +0000 (0:00:00.478) 0:00:25.760 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.930) 0:00:26.691 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/delete_interface.yml for /cache/fedora-35.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.058) 0:00:26.749 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.018030", "end": "2022-08-03 17:16:22.632513", "rc": 0, "start": "2022-08-03 17:16:22.614483" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.474) 0:00:27.224 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:16:24 +0000 (0:00:00.880) 0:00:28.104 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:16:24 +0000 (0:00:00.072) 0:00:28.177 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:16:24 +0000 (0:00:00.645) 0:00:28.823 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:16:26 +0000 (0:00:02.069) 0:00:30.893 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.787) 0:00:31.680 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.089) 0:00:31.770 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.044) 0:00:31.814 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.044) 0:00:31.859 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.079) 0:00:31.938 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.042) 0:00:31.981 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.043) 0:00:32.025 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:16:28 +0000 (0:00:00.057) 0:00:32.083 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:16:28 +0000 (0:00:00.596) 0:00:32.679 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:16:28 +0000 (0:00:00.058) 0:00:32.738 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:16:28 +0000 (0:00:00.046) 0:00:32.785 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:16:28 +0000 (0:00:00.047) 0:00:32.833 ****** changed: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.666) 0:00:33.499 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.041) 0:00:33.541 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.052) 0:00:33.594 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.051) 0:00:33.645 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.042) 0:00:33.688 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:183 Wednesday 03 August 2022 17:16:30 +0000 (0:00:00.487) 0:00:34.175 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:186 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.941) 0:00:35.117 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.062) 0:00:35.179 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.064) 0:00:35.244 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.048) 0:00:35.292 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.419) 0:00:35.712 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.037) 0:00:35.749 ****** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.021739", "end": "2022-08-03 17:16:31.683440", "rc": 1, "start": "2022-08-03 17:16:31.661701" } 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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.466) 0:00:36.216 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.039) 0:00:36.256 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.038) 0:00:36.294 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'ethtest0' is absent] ******************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.084) 0:00:36.379 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:189 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.051) 0:00:36.431 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.060) 0:00:36.491 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.071) 0:00:36.562 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.421) 0:00:36.984 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=84 changed=6 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.077) 0:00:37.061 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.25s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 2.17s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 2.07s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.07s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface ethtest0 ------------------------------------------ 1.15s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmpn6gexhje/tests/network/tests_routing_rules_nm.yml:5 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:183 ---------- Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmpn6gexhje/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmpn6gexhje/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmpn6gexhje/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:3 ------------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.84s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:5 ------------ fedora.linux_system_roles.network : Configure networking connection profiles --- 0.80s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.79s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.72s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.67s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.65s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.61s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpn6gexhje/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.049) 0:00:37.111 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006808", "end": "2022-08-03 17:16:32.989121", "rc": 0, "start": "2022-08-03 17:16:32.982313" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=85 changed=7 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.438) 0:00:37.550 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.25s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 2.17s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 2.07s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.07s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface ethtest0 ------------------------------------------ 1.15s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmpn6gexhje/tests/network/tests_routing_rules_nm.yml:5 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:183 ---------- Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmpn6gexhje/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmpn6gexhje/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmpn6gexhje/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:3 ------------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.84s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpn6gexhje/tests/network/playbooks/tests_routing_rules.yml:5 ------------ fedora.linux_system_roles.network : Configure networking connection profiles --- 0.80s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.79s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.72s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.67s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.65s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.61s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106