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/tmpxngj32xw 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/tmpcu0yxwd0/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:6 Wednesday 03 August 2022 15:36:20 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/fedora-36.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": 1659540978.866274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659540978.866274, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 37600, "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": 1659248396.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/tmpcu0yxwd0/tests/_backup.yml:13 Wednesday 03 August 2022 15:36:20 +0000 (0:00:00.631) 0:00:00.650 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-36.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': 37600, 'dev': 31, 'nlink': 1, 'atime': 1659540978.866274, 'mtime': 1659248396.0, 'ctime': 1659540978.866274, '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": 1659540978.866274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659540978.866274, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 37600, "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": 1659248396.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/tmpcu0yxwd0/tests/_backup.yml:19 Wednesday 03 August 2022 15:36:20 +0000 (0:00:00.035) 0:00:00.685 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003892", "end": "2022-08-03 15:36:20.663687", "rc": 0, "start": "2022-08-03 15:36:20.659795" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:36:21 +0000 (0:00:00.544) 0:00:01.229 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.63s /tmp/tmpcu0yxwd0/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.54s /tmp/tmpcu0yxwd0/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpcu0yxwd0/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmpcu0yxwd0/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/tests_auto_gateway_nm.yml:5 Wednesday 03 August 2022 15:36:21 +0000 (0:00:00.069) 0:00:01.299 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tests_auto_gateway_nm.yml:8 Wednesday 03 August 2022 15:36:22 +0000 (0:00:01.056) 0:00:02.355 ****** included: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml for /cache/fedora-36.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:36:22 +0000 (0:00:00.025) 0:00:02.381 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:36:22 +0000 (0:00:00.021) 0:00:02.402 ****** included: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml for /cache/fedora-36.qcow2.snap TASK [Create EPEL 36] ********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:36:22 +0000 (0:00:00.028) 0:00:02.430 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:36:22 +0000 (0:00:00.019) 0:00:02.450 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:36:22 +0000 (0:00:00.020) 0:00:02.471 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:36:22 +0000 (0:00:00.019) 0:00:02.490 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/tests_auto_gateway_nm.yml:9 Wednesday 03 August 2022 15:36:22 +0000 (0:00:00.018) 0:00:02.509 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 15:36:22 +0000 (0:00:00.047) 0:00:02.557 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 15:36:23 +0000 (0:00:00.808) 0:00:03.365 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:36:23 +0000 (0:00:00.047) 0:00:03.412 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:36:23 +0000 (0:00:00.031) 0:00:03.443 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003706", "end": "2022-08-03 15:36:23.295776", "rc": 0, "start": "2022-08-03 15:36:23.292070" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:36:24 +0000 (0:00:00.411) 0:00:03.855 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:36:24 +0000 (0:00:00.030) 0:00:03.886 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 15:36:24 +0000 (0:00:00.028) 0:00:03.915 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:36:24 +0000 (0:00:00.052) 0:00:03.967 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:36:24 +0000 (0:00:00.024) 0:00:03.992 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:36:24 +0000 (0:00:00.021) 0:00:04.013 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:36:24 +0000 (0:00:00.031) 0:00:04.045 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:36:24 +0000 (0:00:00.059) 0:00:04.105 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004044", "end": "2022-08-03 15:36:23.959017", "rc": 0, "start": "2022-08-03 15:36:23.954973" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:36:24 +0000 (0:00:00.417) 0:00:04.523 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:36:24 +0000 (0:00:00.031) 0:00:04.554 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:36:24 +0000 (0:00:00.029) 0:00:04.584 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:36:27 +0000 (0:00:02.192) 0:00:06.776 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.004554", "end": "2022-08-03 15:36:26.632191", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 15:36:26.627637" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003924", "end": "2022-08-03 15:36:27.028788", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 15:36:27.024864" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.012844", "end": "2022-08-03 15:36:27.428203", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 15:36:27.415359" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:36:28 +0000 (0:00:01.216) 0:00:07.993 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.028685", "end": "2022-08-03 15:36:27.865033", "rc": 0, "start": "2022-08-03 15:36:27.836348" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:36:28 +0000 (0:00:00.439) 0:00:08.433 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:36:28 +0000 (0:00:00.023) 0:00:08.457 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:36:28 +0000 (0:00:00.022) 0:00:08.480 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:36:28 +0000 (0:00:00.022) 0:00:08.502 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:36:28 +0000 (0:00:00.022) 0:00:08.525 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 15:36:28 +0000 (0:00:00.022) 0:00:08.547 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:36:28 +0000 (0:00:00.047) 0:00:08.595 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:36:28 +0000 (0:00:00.030) 0:00:08.626 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540986.6315117, "block_size": 4096, "blocks": 0, "ctime": 1659540986.6315117, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25027, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1659540986.6315117, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:36:29 +0000 (0:00:00.407) 0:00:09.033 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 15:36:29 +0000 (0:00:00.033) 0:00:09.067 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:36:29 +0000 (0:00:00.029) 0:00:09.096 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:36:29 +0000 (0:00:00.034) 0:00:09.131 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:36:29 +0000 (0:00:00.554) 0:00:09.685 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:36:32 +0000 (0:00:02.152) 0:00:11.837 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:36:33 +0000 (0:00:01.032) 0:00:12.870 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:36:33 +0000 (0:00:00.048) 0:00:12.918 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:36:33 +0000 (0:00:00.038) 0:00:12.957 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:36:33 +0000 (0:00:00.039) 0:00:12.996 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:36:33 +0000 (0:00:00.073) 0:00:13.070 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:36:33 +0000 (0:00:00.037) 0:00:13.107 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:36:33 +0000 (0:00:00.038) 0:00:13.146 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:36:33 +0000 (0:00:00.053) 0:00:13.199 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:36:34 +0000 (0:00:00.851) 0:00:14.051 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:36:34 +0000 (0:00:00.053) 0:00:14.105 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:36:34 +0000 (0:00:00.038) 0:00:14.143 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:36:34 +0000 (0:00:00.035) 0:00:14.179 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e6e0f7b2-31ea-4387-bba0-0d9362af51e0 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e6e0f7b2-31ea-4387-bba0-0d9362af51e0 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:36:35 +0000 (0:00:00.884) 0:00:15.064 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:36:35 +0000 (0:00:00.042) 0:00:15.106 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e6e0f7b2-31ea-4387-bba0-0d9362af51e0", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e6e0f7b2-31ea-4387-bba0-0d9362af51e0 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:36:35 +0000 (0:00:00.046) 0:00:15.153 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e6e0f7b2-31ea-4387-bba0-0d9362af51e0\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e6e0f7b2-31ea-4387-bba0-0d9362af51e0 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e6e0f7b2-31ea-4387-bba0-0d9362af51e0", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e6e0f7b2-31ea-4387-bba0-0d9362af51e0 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:36:35 +0000 (0:00:00.049) 0:00:15.202 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:36:35 +0000 (0:00:00.039) 0:00:15.242 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 15:36:36 +0000 (0:00:00.581) 0:00:15.823 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:36:36 +0000 (0:00:00.075) 0:00:15.899 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:36:36 +0000 (0:00:00.056) 0:00:15.955 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540986.6315117, "block_size": 4096, "blocks": 0, "ctime": 1659540986.6315117, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25027, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1659540986.6315117, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:36:36 +0000 (0:00:00.469) 0:00:16.425 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 15:36:36 +0000 (0:00:00.049) 0:00:16.474 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:36:36 +0000 (0:00:00.074) 0:00:16.549 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:36:36 +0000 (0:00:00.057) 0:00:16.607 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:36:36 +0000 (0:00:00.049) 0:00:16.657 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:36:37 +0000 (0:00:00.440) 0:00:17.098 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:36:37 +0000 (0:00:00.035) 0:00:17.133 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020697", "end": "2022-08-03 15:36:36.999557", "rc": 0, "start": "2022-08-03 15:36:36.978860" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:36:37 +0000 (0:00:00.444) 0:00:17.578 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:36:37 +0000 (0:00:00.047) 0:00:17.625 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:36:37 +0000 (0:00:00.075) 0:00:17.700 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:36:38 +0000 (0:00:00.037) 0:00:17.737 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:36:38 +0000 (0:00:00.050) 0:00:17.788 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 15:36:38 +0000 (0:00:00.051) 0:00:17.840 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.005698", "end": "2022-08-03 15:36:37.703119", "rc": 0, "start": "2022-08-03 15:36:37.697421" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 default via 203.0.113.1 dev veth0 proto static metric 101 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 15:36:38 +0000 (0:00:00.447) 0:00:18.287 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 15:36:38 +0000 (0:00:00.050) 0:00:18.337 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003784", "end": "2022-08-03 15:36:38.191005", "rc": 0, "start": "2022-08-03 15:36:38.187221" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium fec0::/64 dev eth0 proto ra metric 100 pref medium default via fe80::2 dev eth0 proto ra metric 100 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 15:36:39 +0000 (0:00:00.427) 0:00:18.765 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 15:36:39 +0000 (0:00:00.045) 0:00:18.811 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:36:39 +0000 (0:00:00.048) 0:00:18.860 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:36:39 +0000 (0:00:00.058) 0:00:18.918 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:36:39 +0000 (0:00:00.622) 0:00:19.541 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:36:41 +0000 (0:00:02.014) 0:00:21.555 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:36:42 +0000 (0:00:00.730) 0:00:22.286 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:36:42 +0000 (0:00:00.043) 0:00:22.329 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:36:42 +0000 (0:00:00.035) 0:00:22.365 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:36:42 +0000 (0:00:00.063) 0:00:22.428 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:36:42 +0000 (0:00:00.071) 0:00:22.499 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:36:42 +0000 (0:00:00.039) 0:00:22.539 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:36:42 +0000 (0:00:00.038) 0:00:22.577 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:36:42 +0000 (0:00:00.052) 0:00:22.629 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:36:43 +0000 (0:00:00.619) 0:00:23.249 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:36:43 +0000 (0:00:00.057) 0:00:23.306 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:36:43 +0000 (0:00:00.034) 0:00:23.341 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:36:43 +0000 (0:00:00.035) 0:00:23.376 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:36:44 +0000 (0:00:00.653) 0:00:24.030 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:36:44 +0000 (0:00:00.041) 0:00:24.071 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:36:44 +0000 (0:00:00.132) 0:00:24.203 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:36:44 +0000 (0:00:00.046) 0:00:24.250 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:36:44 +0000 (0:00:00.038) 0:00:24.289 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 15:36:45 +0000 (0:00:00.438) 0:00:24.728 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:36:45 +0000 (0:00:00.088) 0:00:24.817 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:36:45 +0000 (0:00:00.035) 0:00:24.853 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:36:45 +0000 (0:00:00.036) 0:00:24.889 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:36:45 +0000 (0:00:00.055) 0:00:24.945 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:36:45 +0000 (0:00:00.053) 0:00:24.999 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003668", "end": "2022-08-03 15:36:44.842516", "rc": 0, "start": "2022-08-03 15:36:44.838848" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:36:45 +0000 (0:00:00.423) 0:00:25.422 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:36:45 +0000 (0:00:00.139) 0:00:25.561 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:36:45 +0000 (0:00:00.045) 0:00:25.606 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:36:48 +0000 (0:00:02.110) 0:00:27.716 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:36:48 +0000 (0:00:00.051) 0:00:27.768 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:36:48 +0000 (0:00:00.035) 0:00:27.803 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011270", "end": "2022-08-03 15:36:47.673903", "rc": 0, "start": "2022-08-03 15:36:47.662633" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:36:48 +0000 (0:00:00.446) 0:00:28.250 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:36:48 +0000 (0:00:00.065) 0:00:28.316 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:36:48 +0000 (0:00:00.034) 0:00:28.351 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:36:48 +0000 (0:00:00.037) 0:00:28.388 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 15:36:48 +0000 (0:00:00.033) 0:00:28.422 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 15:36:48 +0000 (0:00:00.047) 0:00:28.470 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:36:48 +0000 (0:00:00.079) 0:00:28.550 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:36:48 +0000 (0:00:00.035) 0:00:28.585 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:36:48 +0000 (0:00:00.033) 0:00:28.619 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:36:48 +0000 (0:00:00.056) 0:00:28.676 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:36:49 +0000 (0:00:00.055) 0:00:28.732 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003277", "end": "2022-08-03 15:36:48.574355", "rc": 0, "start": "2022-08-03 15:36:48.571078" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:36:49 +0000 (0:00:00.417) 0:00:29.149 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:36:49 +0000 (0:00:00.043) 0:00:29.192 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:36:49 +0000 (0:00:00.049) 0:00:29.241 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:36:51 +0000 (0:00:01.880) 0:00:31.122 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.005949", "end": "2022-08-03 15:36:50.986376", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 15:36:50.980427" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003814", "end": "2022-08-03 15:36:51.383213", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 15:36:51.379399" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.008763", "end": "2022-08-03 15:36:51.771928", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 15:36:51.763165" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:36:52 +0000 (0:00:01.234) 0:00:32.356 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021246", "end": "2022-08-03 15:36:52.229216", "rc": 0, "start": "2022-08-03 15:36:52.207970" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:36:53 +0000 (0:00:00.451) 0:00:32.807 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:36:53 +0000 (0:00:00.037) 0:00:32.845 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:36:53 +0000 (0:00:00.035) 0:00:32.880 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:36:53 +0000 (0:00:00.037) 0:00:32.918 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:36:53 +0000 (0:00:00.036) 0:00:32.954 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:36:53 +0000 (0:00:00.069) 0:00:33.024 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:36:53 +0000 (0:00:00.064) 0:00:33.089 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:36:53 +0000 (0:00:00.591) 0:00:33.680 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:36:56 +0000 (0:00:02.040) 0:00:35.720 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:36:56 +0000 (0:00:00.820) 0:00:36.540 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:36:56 +0000 (0:00:00.046) 0:00:36.587 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:36:56 +0000 (0:00:00.040) 0:00:36.628 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:36:56 +0000 (0:00:00.040) 0:00:36.668 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:36:57 +0000 (0:00:00.076) 0:00:36.744 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:36:57 +0000 (0:00:00.041) 0:00:36.786 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:36:57 +0000 (0:00:00.040) 0:00:36.827 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:36:57 +0000 (0:00:00.055) 0:00:36.882 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:36:57 +0000 (0:00:00.634) 0:00:37.517 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:36:57 +0000 (0:00:00.059) 0:00:37.577 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:36:57 +0000 (0:00:00.038) 0:00:37.615 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:36:57 +0000 (0:00:00.034) 0:00:37.649 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 51caffcc-9456-456f-90ce-6ffccf456601 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 51caffcc-9456-456f-90ce-6ffccf456601 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:36:58 +0000 (0:00:00.718) 0:00:38.368 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:36:58 +0000 (0:00:00.041) 0:00:38.409 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 51caffcc-9456-456f-90ce-6ffccf456601", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 51caffcc-9456-456f-90ce-6ffccf456601 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:36:58 +0000 (0:00:00.044) 0:00:38.454 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 51caffcc-9456-456f-90ce-6ffccf456601\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 51caffcc-9456-456f-90ce-6ffccf456601 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 51caffcc-9456-456f-90ce-6ffccf456601", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 51caffcc-9456-456f-90ce-6ffccf456601 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:36:58 +0000 (0:00:00.049) 0:00:38.503 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:36:58 +0000 (0:00:00.041) 0:00:38.545 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 15:36:59 +0000 (0:00:00.456) 0:00:39.001 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:36:59 +0000 (0:00:00.077) 0:00:39.078 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:36:59 +0000 (0:00:00.055) 0:00:39.134 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541010.9851458, "block_size": 4096, "blocks": 0, "ctime": 1659541010.9851458, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25283, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1659541010.9851458, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:36:59 +0000 (0:00:00.418) 0:00:39.553 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 15:36:59 +0000 (0:00:00.046) 0:00:39.600 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:37:00 +0000 (0:00:00.119) 0:00:39.720 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:37:00 +0000 (0:00:00.057) 0:00:39.778 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:37:00 +0000 (0:00:00.047) 0:00:39.825 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:37:00 +0000 (0:00:00.424) 0:00:40.249 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:37:00 +0000 (0:00:00.033) 0:00:40.283 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022933", "end": "2022-08-03 15:37:00.152160", "rc": 0, "start": "2022-08-03 15:37:00.129227" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:37:01 +0000 (0:00:00.448) 0:00:40.732 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:37:01 +0000 (0:00:00.048) 0:00:40.780 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:37:01 +0000 (0:00:00.034) 0:00:40.814 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:37:01 +0000 (0:00:00.036) 0:00:40.851 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:37:01 +0000 (0:00:00.046) 0:00:40.897 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 15:37:01 +0000 (0:00:00.046) 0:00:40.943 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003979", "end": "2022-08-03 15:37:00.862194", "rc": 0, "start": "2022-08-03 15:37:00.858215" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 15:37:01 +0000 (0:00:00.491) 0:00:41.435 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 15:37:01 +0000 (0:00:00.049) 0:00:41.485 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004199", "end": "2022-08-03 15:37:01.348833", "rc": 0, "start": "2022-08-03 15:37:01.344634" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium fec0::/64 dev eth0 proto ra metric 100 pref medium default via fe80::2 dev eth0 proto ra metric 100 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 15:37:02 +0000 (0:00:00.443) 0:00:41.929 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 15:37:02 +0000 (0:00:00.049) 0:00:41.978 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:37:02 +0000 (0:00:00.049) 0:00:42.028 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:37:02 +0000 (0:00:00.060) 0:00:42.088 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:37:02 +0000 (0:00:00.588) 0:00:42.677 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:37:04 +0000 (0:00:02.006) 0:00:44.683 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:37:05 +0000 (0:00:00.738) 0:00:45.422 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:37:05 +0000 (0:00:00.046) 0:00:45.468 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:37:05 +0000 (0:00:00.040) 0:00:45.509 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:37:05 +0000 (0:00:00.042) 0:00:45.551 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:37:05 +0000 (0:00:00.113) 0:00:45.664 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:37:05 +0000 (0:00:00.046) 0:00:45.711 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:37:06 +0000 (0:00:00.043) 0:00:45.754 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:37:06 +0000 (0:00:00.056) 0:00:45.810 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:37:06 +0000 (0:00:00.596) 0:00:46.407 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:37:06 +0000 (0:00:00.053) 0:00:46.461 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:37:06 +0000 (0:00:00.034) 0:00:46.495 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:37:06 +0000 (0:00:00.033) 0:00:46.528 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:37:07 +0000 (0:00:00.645) 0:00:47.174 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:37:07 +0000 (0:00:00.041) 0:00:47.215 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:37:07 +0000 (0:00:00.043) 0:00:47.259 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:37:07 +0000 (0:00:00.141) 0:00:47.401 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:37:07 +0000 (0:00:00.038) 0:00:47.439 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 15:37:08 +0000 (0:00:00.435) 0:00:47.874 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:37:08 +0000 (0:00:00.084) 0:00:47.958 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:37:08 +0000 (0:00:00.033) 0:00:47.992 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:37:08 +0000 (0:00:00.032) 0:00:48.025 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:37:08 +0000 (0:00:00.054) 0:00:48.080 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:37:08 +0000 (0:00:00.053) 0:00:48.134 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003787", "end": "2022-08-03 15:37:07.968057", "rc": 0, "start": "2022-08-03 15:37:07.964270" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:37:08 +0000 (0:00:00.412) 0:00:48.546 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:37:08 +0000 (0:00:00.129) 0:00:48.676 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:37:09 +0000 (0:00:00.047) 0:00:48.723 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:37:11 +0000 (0:00:02.059) 0:00:50.783 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:37:11 +0000 (0:00:00.049) 0:00:50.832 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:37:11 +0000 (0:00:00.037) 0:00:50.869 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011437", "end": "2022-08-03 15:37:10.722340", "rc": 0, "start": "2022-08-03 15:37:10.710903" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:37:11 +0000 (0:00:00.432) 0:00:51.302 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:37:11 +0000 (0:00:00.036) 0:00:51.339 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:37:11 +0000 (0:00:00.036) 0:00:51.375 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:37:11 +0000 (0:00:00.033) 0:00:51.409 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=127 changed=11 unreachable=0 failed=0 skipped=85 rescued=0 ignored=0 Wednesday 03 August 2022 15:37:11 +0000 (0:00:00.089) 0:00:51.499 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.19s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.15s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 2.11s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.06s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.04s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.01s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.01s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.88s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 1.30s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Create veth interface veth0 --------------------------------------------- 1.23s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Create veth interface veth0 --------------------------------------------- 1.22s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable and start NetworkManager ------------ 1.22s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmpcu0yxwd0/tests/tests_auto_gateway_nm.yml:5 ---------------------------- linux-system-roles.network : Check which packages are installed --------- 1.03s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.88s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.87s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.85s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Check which packages are installed --------- 0.82s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:3 --------------------- linux-system-roles.network : Check which packages are installed --------- 0.74s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpcu0yxwd0/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/_restore.yml:4 Wednesday 03 August 2022 15:37:11 +0000 (0:00:00.043) 0:00:51.542 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006739", "end": "2022-08-03 15:37:11.392645", "rc": 0, "start": "2022-08-03 15:37:11.385906" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=128 changed=12 unreachable=0 failed=0 skipped=85 rescued=0 ignored=0 Wednesday 03 August 2022 15:37:12 +0000 (0:00:00.450) 0:00:51.992 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.19s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.15s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 2.11s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.06s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.04s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.01s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.01s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.88s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 1.30s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Create veth interface veth0 --------------------------------------------- 1.23s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Create veth interface veth0 --------------------------------------------- 1.22s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable and start NetworkManager ------------ 1.22s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmpcu0yxwd0/tests/tests_auto_gateway_nm.yml:5 ---------------------------- linux-system-roles.network : Check which packages are installed --------- 1.03s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.88s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.87s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.85s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Check which packages are installed --------- 0.82s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpcu0yxwd0/tests/playbooks/tests_auto_gateway.yml:3 --------------------- linux-system-roles.network : Check which packages are installed --------- 0.74s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 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/tmpxngj32xw 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/tmpsh02am6p/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:03:34 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/fedora-36.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": 1659542612.6555512, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659542612.6555512, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 37600, "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": 1659248396.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/tmpsh02am6p/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:03:34 +0000 (0:00:00.661) 0:00:00.680 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-36.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': 37600, 'dev': 31, 'nlink': 1, 'atime': 1659542612.6555512, 'mtime': 1659248396.0, 'ctime': 1659542612.6555512, '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": 1659542612.6555512, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659542612.6555512, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 37600, "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": 1659248396.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/tmpsh02am6p/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:03:34 +0000 (0:00:00.037) 0:00:00.717 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004308", "end": "2022-08-03 16:03:34.502696", "rc": 0, "start": "2022-08-03 16:03:34.498388" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:03:35 +0000 (0:00:00.548) 0:00:01.265 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.66s /tmp/tmpsh02am6p/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.55s /tmp/tmpsh02am6p/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpsh02am6p/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmpsh02am6p/tests/network/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/tests_auto_gateway_nm.yml:5 Wednesday 03 August 2022 16:03:35 +0000 (0:00:00.088) 0:00:01.354 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tests_auto_gateway_nm.yml:8 Wednesday 03 August 2022 16:03:36 +0000 (0:00:01.072) 0:00:02.427 ****** included: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml for /cache/fedora-36.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.027) 0:00:02.454 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.020) 0:00:02.475 ****** included: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml for /cache/fedora-36.qcow2.snap TASK [Create EPEL 36] ********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.027) 0:00:02.503 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.017) 0:00:02.520 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.017) 0:00:02.537 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.017) 0:00:02.555 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/tests_auto_gateway_nm.yml:9 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.017) 0:00:02.572 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.044) 0:00:02.617 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 16:03:37 +0000 (0:00:00.808) 0:00:03.425 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:03:37 +0000 (0:00:00.047) 0:00:03.473 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:03:37 +0000 (0:00:00.029) 0:00:03.503 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004112", "end": "2022-08-03 16:03:37.165778", "rc": 0, "start": "2022-08-03 16:03:37.161666" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:03:37 +0000 (0:00:00.425) 0:00:03.929 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.063) 0:00:03.992 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.032) 0:00:04.024 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.051) 0:00:04.076 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.021) 0:00:04.098 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.022) 0:00:04.120 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.063) 0:00:04.183 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.030) 0:00:04.214 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004309", "end": "2022-08-03 16:03:37.902558", "rc": 0, "start": "2022-08-03 16:03:37.898249" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.449) 0:00:04.663 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.037) 0:00:04.701 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.032) 0:00:04.734 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:03:40 +0000 (0:00:02.212) 0:00:06.946 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.005288", "end": "2022-08-03 16:03:40.607262", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:03:40.601974" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003786", "end": "2022-08-03 16:03:41.000528", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:03:40.996742" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007704", "end": "2022-08-03 16:03:41.416292", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:03:41.408588" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:03:42 +0000 (0:00:01.228) 0:00:08.175 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024214", "end": "2022-08-03 16:03:41.840195", "rc": 0, "start": "2022-08-03 16:03:41.815981" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.433) 0:00:08.608 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.023) 0:00:08.631 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.029) 0:00:08.661 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.022) 0:00:08.683 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.023) 0:00:08.707 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.021) 0:00:08.728 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.048) 0:00:08.776 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.031) 0:00:08.808 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542620.6061573, "block_size": 4096, "blocks": 0, "ctime": 1659542620.6061573, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24978, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1659542620.6061573, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:03:43 +0000 (0:00:00.406) 0:00:09.214 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 16:03:43 +0000 (0:00:00.034) 0:00:09.249 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:03:43 +0000 (0:00:00.032) 0:00:09.281 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:03:43 +0000 (0:00:00.038) 0:00:09.319 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:03:43 +0000 (0:00:00.551) 0:00:09.871 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:03:46 +0000 (0:00:02.110) 0:00:11.982 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:03:47 +0000 (0:00:00.997) 0:00:12.980 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:03:47 +0000 (0:00:00.049) 0:00:13.029 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:03:47 +0000 (0:00:00.038) 0:00:13.068 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:03:47 +0000 (0:00:00.037) 0:00:13.105 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:03:47 +0000 (0:00:00.073) 0:00:13.178 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:03:47 +0000 (0:00:00.038) 0:00:13.216 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:03:47 +0000 (0:00:00.040) 0:00:13.257 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:03:47 +0000 (0:00:00.054) 0:00:13.311 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:03:48 +0000 (0:00:00.842) 0:00:14.154 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:03:48 +0000 (0:00:00.054) 0:00:14.208 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:03:48 +0000 (0:00:00.035) 0:00:14.244 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:03:48 +0000 (0:00:00.037) 0:00:14.282 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e6b8353b-1602-4a8f-9e54-933324182043 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e6b8353b-1602-4a8f-9e54-933324182043 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.870) 0:00:15.153 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.040) 0:00:15.193 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e6b8353b-1602-4a8f-9e54-933324182043", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e6b8353b-1602-4a8f-9e54-933324182043 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.045) 0:00:15.239 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e6b8353b-1602-4a8f-9e54-933324182043\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e6b8353b-1602-4a8f-9e54-933324182043 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e6b8353b-1602-4a8f-9e54-933324182043", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e6b8353b-1602-4a8f-9e54-933324182043 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.048) 0:00:15.288 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.038) 0:00:15.326 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.562) 0:00:15.888 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:03:50 +0000 (0:00:00.074) 0:00:15.963 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:03:50 +0000 (0:00:00.055) 0:00:16.019 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542620.6061573, "block_size": 4096, "blocks": 0, "ctime": 1659542620.6061573, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24978, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1659542620.6061573, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:03:50 +0000 (0:00:00.468) 0:00:16.487 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 16:03:50 +0000 (0:00:00.047) 0:00:16.535 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:03:50 +0000 (0:00:00.075) 0:00:16.611 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:03:50 +0000 (0:00:00.058) 0:00:16.669 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:03:50 +0000 (0:00:00.047) 0:00:16.717 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:03:51 +0000 (0:00:00.418) 0:00:17.135 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:03:51 +0000 (0:00:00.036) 0:00:17.171 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022586", "end": "2022-08-03 16:03:50.874721", "rc": 0, "start": "2022-08-03 16:03:50.852135" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:03:51 +0000 (0:00:00.475) 0:00:17.647 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:03:51 +0000 (0:00:00.049) 0:00:17.697 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:03:51 +0000 (0:00:00.036) 0:00:17.734 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:03:51 +0000 (0:00:00.082) 0:00:17.816 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:03:51 +0000 (0:00:00.053) 0:00:17.870 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 16:03:51 +0000 (0:00:00.050) 0:00:17.920 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004550", "end": "2022-08-03 16:03:51.647136", "rc": 0, "start": "2022-08-03 16:03:51.642586" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 default via 203.0.113.1 dev veth0 proto static metric 101 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 16:03:52 +0000 (0:00:00.501) 0:00:18.421 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 16:03:52 +0000 (0:00:00.049) 0:00:18.470 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003864", "end": "2022-08-03 16:03:52.143766", "rc": 0, "start": "2022-08-03 16:03:52.139902" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium fec0::/64 dev eth0 proto ra metric 100 pref medium default via fe80::2 dev eth0 proto ra metric 100 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 16:03:52 +0000 (0:00:00.445) 0:00:18.916 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 16:03:53 +0000 (0:00:00.050) 0:00:18.967 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:03:53 +0000 (0:00:00.048) 0:00:19.015 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:03:53 +0000 (0:00:00.063) 0:00:19.079 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:03:53 +0000 (0:00:00.667) 0:00:19.746 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:03:55 +0000 (0:00:02.099) 0:00:21.845 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:03:56 +0000 (0:00:00.754) 0:00:22.600 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:03:56 +0000 (0:00:00.048) 0:00:22.648 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:03:56 +0000 (0:00:00.088) 0:00:22.737 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:03:56 +0000 (0:00:00.051) 0:00:22.789 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:03:56 +0000 (0:00:00.075) 0:00:22.865 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:03:56 +0000 (0:00:00.061) 0:00:22.926 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:03:57 +0000 (0:00:00.040) 0:00:22.966 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:03:57 +0000 (0:00:00.076) 0:00:23.043 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:03:57 +0000 (0:00:00.624) 0:00:23.667 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:03:57 +0000 (0:00:00.056) 0:00:23.724 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:03:57 +0000 (0:00:00.037) 0:00:23.761 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:03:57 +0000 (0:00:00.037) 0:00:23.799 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:03:58 +0000 (0:00:00.658) 0:00:24.457 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:03:58 +0000 (0:00:00.097) 0:00:24.555 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:03:58 +0000 (0:00:00.049) 0:00:24.605 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:03:58 +0000 (0:00:00.050) 0:00:24.655 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:03:58 +0000 (0:00:00.041) 0:00:24.696 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.426) 0:00:25.123 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.078) 0:00:25.202 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.035) 0:00:25.237 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.036) 0:00:25.274 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.055) 0:00:25.330 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.054) 0:00:25.384 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003768", "end": "2022-08-03 16:03:59.051843", "rc": 0, "start": "2022-08-03 16:03:59.048075" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.475) 0:00:25.860 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.050) 0:00:25.911 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:04:00 +0000 (0:00:00.044) 0:00:25.956 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:04:02 +0000 (0:00:02.045) 0:00:28.001 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.047) 0:00:28.049 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.034) 0:00:28.083 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011864", "end": "2022-08-03 16:04:01.740878", "rc": 0, "start": "2022-08-03 16:04:01.729014" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.431) 0:00:28.514 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.069) 0:00:28.584 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.036) 0:00:28.621 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.035) 0:00:28.656 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.035) 0:00:28.692 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.045) 0:00:28.737 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.079) 0:00:28.817 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.035) 0:00:28.853 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.033) 0:00:28.887 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:04:03 +0000 (0:00:00.062) 0:00:28.949 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:04:03 +0000 (0:00:00.058) 0:00:29.008 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003476", "end": "2022-08-03 16:04:02.658644", "rc": 0, "start": "2022-08-03 16:04:02.655168" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:04:03 +0000 (0:00:00.420) 0:00:29.428 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:04:03 +0000 (0:00:00.053) 0:00:29.481 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:04:03 +0000 (0:00:00.156) 0:00:29.638 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:04:05 +0000 (0:00:01.835) 0:00:31.473 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.004246", "end": "2022-08-03 16:04:05.151476", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:04:05.147230" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003962", "end": "2022-08-03 16:04:05.540246", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:04:05.536284" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007862", "end": "2022-08-03 16:04:05.922137", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:04:05.914275" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:04:06 +0000 (0:00:01.221) 0:00:32.694 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.017641", "end": "2022-08-03 16:04:06.380894", "rc": 0, "start": "2022-08-03 16:04:06.363253" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.458) 0:00:33.153 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.036) 0:00:33.190 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.038) 0:00:33.228 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.036) 0:00:33.265 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.037) 0:00:33.302 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.036) 0:00:33.338 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.097) 0:00:33.435 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:04:08 +0000 (0:00:00.563) 0:00:33.999 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:04:10 +0000 (0:00:02.087) 0:00:36.086 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:04:10 +0000 (0:00:00.824) 0:00:36.911 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:04:11 +0000 (0:00:00.049) 0:00:36.960 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:04:11 +0000 (0:00:00.044) 0:00:37.004 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:04:11 +0000 (0:00:00.041) 0:00:37.046 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:04:11 +0000 (0:00:00.073) 0:00:37.119 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:04:11 +0000 (0:00:00.039) 0:00:37.159 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:04:11 +0000 (0:00:00.039) 0:00:37.199 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:04:11 +0000 (0:00:00.053) 0:00:37.252 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:04:11 +0000 (0:00:00.623) 0:00:37.876 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:04:11 +0000 (0:00:00.055) 0:00:37.931 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:04:12 +0000 (0:00:00.037) 0:00:37.968 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:04:12 +0000 (0:00:00.035) 0:00:38.003 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 66f62f50-53e7-4b0b-a711-2d9faf30e265 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 66f62f50-53e7-4b0b-a711-2d9faf30e265 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:04:12 +0000 (0:00:00.688) 0:00:38.692 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:04:12 +0000 (0:00:00.042) 0:00:38.735 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 66f62f50-53e7-4b0b-a711-2d9faf30e265", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 66f62f50-53e7-4b0b-a711-2d9faf30e265 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:04:12 +0000 (0:00:00.050) 0:00:38.786 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 66f62f50-53e7-4b0b-a711-2d9faf30e265\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 66f62f50-53e7-4b0b-a711-2d9faf30e265 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 66f62f50-53e7-4b0b-a711-2d9faf30e265", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 66f62f50-53e7-4b0b-a711-2d9faf30e265 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:04:12 +0000 (0:00:00.050) 0:00:38.837 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:04:12 +0000 (0:00:00.039) 0:00:38.876 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 16:04:13 +0000 (0:00:00.454) 0:00:39.331 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:04:13 +0000 (0:00:00.081) 0:00:39.412 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:04:13 +0000 (0:00:00.057) 0:00:39.470 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542645.1506972, "block_size": 4096, "blocks": 0, "ctime": 1659542645.1506972, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25234, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1659542645.1506972, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:04:13 +0000 (0:00:00.417) 0:00:39.888 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 16:04:13 +0000 (0:00:00.047) 0:00:39.936 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:04:14 +0000 (0:00:00.125) 0:00:40.061 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:04:14 +0000 (0:00:00.060) 0:00:40.122 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:04:14 +0000 (0:00:00.049) 0:00:40.172 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:04:14 +0000 (0:00:00.431) 0:00:40.603 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:04:14 +0000 (0:00:00.033) 0:00:40.637 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020825", "end": "2022-08-03 16:04:14.324345", "rc": 0, "start": "2022-08-03 16:04:14.303520" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:04:15 +0000 (0:00:00.461) 0:00:41.099 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:04:15 +0000 (0:00:00.051) 0:00:41.151 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:04:15 +0000 (0:00:00.037) 0:00:41.188 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:04:15 +0000 (0:00:00.036) 0:00:41.225 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:04:15 +0000 (0:00:00.048) 0:00:41.273 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 16:04:15 +0000 (0:00:00.047) 0:00:41.321 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004642", "end": "2022-08-03 16:04:15.039895", "rc": 0, "start": "2022-08-03 16:04:15.035253" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric 100 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 16:04:15 +0000 (0:00:00.492) 0:00:41.813 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 16:04:15 +0000 (0:00:00.050) 0:00:41.864 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004804", "end": "2022-08-03 16:04:15.530390", "rc": 0, "start": "2022-08-03 16:04:15.525586" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium fec0::/64 dev eth0 proto ra metric 100 pref medium default via fe80::2 dev eth0 proto ra metric 100 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 16:04:16 +0000 (0:00:00.446) 0:00:42.310 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 16:04:16 +0000 (0:00:00.048) 0:00:42.358 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:04:16 +0000 (0:00:00.047) 0:00:42.405 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:04:16 +0000 (0:00:00.061) 0:00:42.467 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:04:17 +0000 (0:00:00.593) 0:00:43.061 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:04:19 +0000 (0:00:01.992) 0:00:45.053 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:04:19 +0000 (0:00:00.720) 0:00:45.774 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:04:19 +0000 (0:00:00.051) 0:00:45.825 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:04:19 +0000 (0:00:00.062) 0:00:45.887 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:04:20 +0000 (0:00:00.078) 0:00:45.965 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:04:20 +0000 (0:00:00.075) 0:00:46.040 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:04:20 +0000 (0:00:00.041) 0:00:46.082 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:04:20 +0000 (0:00:00.038) 0:00:46.120 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:04:20 +0000 (0:00:00.067) 0:00:46.188 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:04:20 +0000 (0:00:00.604) 0:00:46.792 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:04:20 +0000 (0:00:00.054) 0:00:46.847 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:04:20 +0000 (0:00:00.037) 0:00:46.884 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:04:20 +0000 (0:00:00.034) 0:00:46.918 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:04:21 +0000 (0:00:00.643) 0:00:47.562 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:04:21 +0000 (0:00:00.040) 0:00:47.602 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:04:21 +0000 (0:00:00.045) 0:00:47.648 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:04:21 +0000 (0:00:00.138) 0:00:47.786 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:04:21 +0000 (0:00:00.043) 0:00:47.830 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 16:04:22 +0000 (0:00:00.465) 0:00:48.295 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:04:22 +0000 (0:00:00.087) 0:00:48.383 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:04:22 +0000 (0:00:00.037) 0:00:48.420 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:04:22 +0000 (0:00:00.037) 0:00:48.457 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:04:22 +0000 (0:00:00.061) 0:00:48.519 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:04:22 +0000 (0:00:00.057) 0:00:48.576 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005938", "end": "2022-08-03 16:04:22.237487", "rc": 0, "start": "2022-08-03 16:04:22.231549" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:04:23 +0000 (0:00:00.435) 0:00:49.012 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:04:23 +0000 (0:00:00.160) 0:00:49.172 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:04:23 +0000 (0:00:00.049) 0:00:49.222 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:04:25 +0000 (0:00:02.073) 0:00:51.296 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:04:25 +0000 (0:00:00.049) 0:00:51.345 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:04:25 +0000 (0:00:00.035) 0:00:51.380 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013162", "end": "2022-08-03 16:04:25.050719", "rc": 0, "start": "2022-08-03 16:04:25.037557" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:04:25 +0000 (0:00:00.448) 0:00:51.829 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:04:25 +0000 (0:00:00.039) 0:00:51.868 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:04:25 +0000 (0:00:00.037) 0:00:51.906 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:04:26 +0000 (0:00:00.081) 0:00:51.987 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=127 changed=11 unreachable=0 failed=0 skipped=85 rescued=0 ignored=0 Wednesday 03 August 2022 16:04:26 +0000 (0:00:00.059) 0:00:52.046 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.21s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.10s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.09s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 2.07s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 2.05s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.84s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 1.30s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.23s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Create veth interface veth0 --------------------------------------------- 1.23s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Create veth interface veth0 --------------------------------------------- 1.22s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpsh02am6p/tests/network/tests_auto_gateway_nm.yml:5 -------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.89s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.87s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.84s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:3 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.75s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpsh02am6p/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:04:26 +0000 (0:00:00.043) 0:00:52.090 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007037", "end": "2022-08-03 16:04:25.756280", "rc": 0, "start": "2022-08-03 16:04:25.749243" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=128 changed=12 unreachable=0 failed=0 skipped=85 rescued=0 ignored=0 Wednesday 03 August 2022 16:04:26 +0000 (0:00:00.458) 0:00:52.549 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.21s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.10s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.09s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 2.07s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 2.05s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.84s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 1.30s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.23s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Create veth interface veth0 --------------------------------------------- 1.23s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Create veth interface veth0 --------------------------------------------- 1.22s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpsh02am6p/tests/network/tests_auto_gateway_nm.yml:5 -------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.89s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.87s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.84s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpsh02am6p/tests/network/playbooks/tests_auto_gateway.yml:3 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.75s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14