ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpdm_c1v_l executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp5fajrzs2/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp5fajrzs2/tests/_backup.yml:6 Wednesday 03 August 2022 16:32:41 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-35.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659544360.4593847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659544360.4593847, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp5fajrzs2/tests/_backup.yml:13 Wednesday 03 August 2022 16:32:42 +0000 (0:00:00.613) 0:00:00.631 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-35.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 35954, 'dev': 32, 'nlink': 1, 'atime': 1659544360.4593847, 'mtime': 1659338446.0, 'ctime': 1659544360.4593847, '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": 1659544360.4593847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659544360.4593847, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp5fajrzs2/tests/_backup.yml:19 Wednesday 03 August 2022 16:32:42 +0000 (0:00:00.035) 0:00:00.666 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004875", "end": "2022-08-03 16:32:42.200548", "rc": 0, "start": "2022-08-03 16:32:42.195673" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:32:42 +0000 (0:00:00.515) 0:00:01.182 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.61s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.52s /tmp/tmp5fajrzs2/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp5fajrzs2/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmp5fajrzs2/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/tests_auto_gateway_nm.yml:5 Wednesday 03 August 2022 16:32:42 +0000 (0:00:00.073) 0:00:01.255 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tests_auto_gateway_nm.yml:8 Wednesday 03 August 2022 16:32:43 +0000 (0:00:01.034) 0:00:02.290 ****** included: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml for /cache/fedora-35.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:32:43 +0000 (0:00:00.025) 0:00:02.316 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:32:43 +0000 (0:00:00.019) 0:00:02.335 ****** included: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml for /cache/fedora-35.qcow2.snap TASK [Create EPEL 35] ********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:32:43 +0000 (0:00:00.026) 0:00:02.362 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:32:43 +0000 (0:00:00.018) 0:00:02.380 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:32:43 +0000 (0:00:00.021) 0:00:02.401 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:32:43 +0000 (0:00:00.018) 0:00:02.420 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp5fajrzs2/tests/tests_auto_gateway_nm.yml:9 Wednesday 03 August 2022 16:32:44 +0000 (0:00:00.020) 0:00:02.441 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 16:32:44 +0000 (0:00:00.048) 0:00:02.489 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 16:32:44 +0000 (0:00:00.790) 0:00:03.280 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:32:44 +0000 (0:00:00.045) 0:00:03.325 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:32:44 +0000 (0:00:00.027) 0:00:03.352 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003464", "end": "2022-08-03 16:32:44.758707", "rc": 0, "start": "2022-08-03 16:32:44.755243" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:32:45 +0000 (0:00:00.379) 0:00:03.731 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:32:45 +0000 (0:00:00.031) 0:00:03.763 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 16:32:45 +0000 (0:00:00.063) 0:00:03.827 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-35.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:32:45 +0000 (0:00:00.064) 0:00:03.891 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:32:45 +0000 (0:00:00.025) 0:00:03.916 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:32:45 +0000 (0:00:00.023) 0:00:03.940 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:32:45 +0000 (0:00:00.032) 0:00:03.973 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:32:45 +0000 (0:00:00.030) 0:00:04.003 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003568", "end": "2022-08-03 16:32:45.532899", "rc": 0, "start": "2022-08-03 16:32:45.529331" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:32:46 +0000 (0:00:00.601) 0:00:04.605 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:32:46 +0000 (0:00:00.061) 0:00:04.666 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:32:46 +0000 (0:00:00.066) 0:00:04.733 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:32:48 +0000 (0:00:02.349) 0:00:07.083 ****** changed: [/cache/fedora-35.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.008700", "end": "2022-08-03 16:32:48.503411", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:32:48.494711" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003676", "end": "2022-08-03 16:32:48.871735", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:32:48.868059" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.008619", "end": "2022-08-03 16:32:49.254029", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:32:49.245410" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:32:49 +0000 (0:00:01.154) 0:00:08.237 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.027243", "end": "2022-08-03 16:32:49.692125", "rc": 0, "start": "2022-08-03 16:32:49.664882" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:32:50 +0000 (0:00:00.438) 0:00:08.676 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:32:50 +0000 (0:00:00.022) 0:00:08.698 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:32:50 +0000 (0:00:00.021) 0:00:08.719 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:32:50 +0000 (0:00:00.024) 0:00:08.744 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:32:50 +0000 (0:00:00.021) 0:00:08.765 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 16:32:50 +0000 (0:00:00.021) 0:00:08.786 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:32:50 +0000 (0:00:00.047) 0:00:08.834 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:32:50 +0000 (0:00:00.029) 0:00:08.864 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544368.4994628, "block_size": 4096, "blocks": 0, "ctime": 1659544368.4994628, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25216, "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": 1659544368.4994628, "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/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:32:50 +0000 (0:00:00.404) 0:00:09.268 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 16:32:50 +0000 (0:00:00.042) 0:00:09.311 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:32:50 +0000 (0:00:00.031) 0:00:09.343 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:32:50 +0000 (0:00:00.035) 0:00:09.378 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:32:51 +0000 (0:00:00.534) 0:00:09.912 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:32:53 +0000 (0:00:02.091) 0:00:12.004 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:32:54 +0000 (0:00:00.970) 0:00:12.975 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:32:54 +0000 (0:00:00.085) 0:00:13.060 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:32:54 +0000 (0:00:00.041) 0:00:13.101 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:32:54 +0000 (0:00:00.039) 0:00:13.141 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:32:54 +0000 (0:00:00.076) 0:00:13.217 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:32:54 +0000 (0:00:00.040) 0:00:13.257 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:32:54 +0000 (0:00:00.039) 0:00:13.297 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:32:54 +0000 (0:00:00.053) 0:00:13.351 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:32:55 +0000 (0:00:00.826) 0:00:14.177 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:32:55 +0000 (0:00:00.069) 0:00:14.247 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:32:55 +0000 (0:00:00.034) 0:00:14.282 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:32:55 +0000 (0:00:00.033) 0:00:14.315 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "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, 4317fcb7-19af-483e-84e0-db53e42b64ad [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4317fcb7-19af-483e-84e0-db53e42b64ad (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:32:56 +0000 (0:00:00.827) 0:00:15.142 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:32:56 +0000 (0:00:00.037) 0:00:15.180 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4317fcb7-19af-483e-84e0-db53e42b64ad", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4317fcb7-19af-483e-84e0-db53e42b64ad (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:32:56 +0000 (0:00:00.041) 0:00:15.221 ****** ok: [/cache/fedora-35.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, 4317fcb7-19af-483e-84e0-db53e42b64ad\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4317fcb7-19af-483e-84e0-db53e42b64ad (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4317fcb7-19af-483e-84e0-db53e42b64ad", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4317fcb7-19af-483e-84e0-db53e42b64ad (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:32:56 +0000 (0:00:00.044) 0:00:15.266 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:32:56 +0000 (0:00:00.035) 0:00:15.302 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 16:32:57 +0000 (0:00:00.500) 0:00:15.803 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:32:57 +0000 (0:00:00.071) 0:00:15.874 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:32:57 +0000 (0:00:00.053) 0:00:15.928 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544368.4994628, "block_size": 4096, "blocks": 0, "ctime": 1659544368.4994628, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25216, "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": 1659544368.4994628, "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/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:32:57 +0000 (0:00:00.404) 0:00:16.333 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 16:32:58 +0000 (0:00:00.121) 0:00:16.454 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:32:58 +0000 (0:00:00.075) 0:00:16.529 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:32:58 +0000 (0:00:00.057) 0:00:16.587 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:32:58 +0000 (0:00:00.042) 0:00:16.629 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544376.1393847, "block_size": 4096, "blocks": 8, "ctime": 1659544376.1073847, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35990, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544376.1073847, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 379, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:32:58 +0000 (0:00:00.405) 0:00:17.035 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:32:58 +0000 (0:00:00.044) 0:00:17.080 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.019838", "end": "2022-08-03 16:32:58.519769", "rc": 0, "start": "2022-08-03 16:32:58.499931" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:32:59 +0000 (0:00:00.430) 0:00:17.510 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:32:59 +0000 (0:00:00.049) 0:00:17.560 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:32:59 +0000 (0:00:00.035) 0:00:17.596 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:32:59 +0000 (0:00:00.035) 0:00:17.631 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:32:59 +0000 (0:00:00.046) 0:00:17.678 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 16:32:59 +0000 (0:00:00.044) 0:00:17.722 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004174", "end": "2022-08-03 16:32:59.212291", "rc": 0, "start": "2022-08-03 16:32:59.208117" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp 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/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 16:32:59 +0000 (0:00:00.479) 0:00:18.202 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 16:32:59 +0000 (0:00:00.046) 0:00:18.248 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003623", "end": "2022-08-03 16:32:59.658063", "rc": 0, "start": "2022-08-03 16:32:59.654440" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86204sec pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1604sec hoplimit 64 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 16:33:00 +0000 (0:00:00.403) 0:00:18.651 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 16:33:00 +0000 (0:00:00.046) 0:00:18.698 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:33:00 +0000 (0:00:00.044) 0:00:18.743 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:33:00 +0000 (0:00:00.059) 0:00:18.802 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:33:00 +0000 (0:00:00.566) 0:00:19.368 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:33:02 +0000 (0:00:02.016) 0:00:21.384 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:33:03 +0000 (0:00:00.752) 0:00:22.137 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:33:03 +0000 (0:00:00.046) 0:00:22.183 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:33:03 +0000 (0:00:00.042) 0:00:22.226 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:33:03 +0000 (0:00:00.040) 0:00:22.266 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:33:03 +0000 (0:00:00.104) 0:00:22.370 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:33:03 +0000 (0:00:00.041) 0:00:22.411 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:33:04 +0000 (0:00:00.040) 0:00:22.451 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:33:04 +0000 (0:00:00.051) 0:00:22.503 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:33:04 +0000 (0:00:00.585) 0:00:23.088 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:33:04 +0000 (0:00:00.052) 0:00:23.141 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:33:04 +0000 (0:00:00.032) 0:00:23.173 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:33:04 +0000 (0:00:00.032) 0:00:23.206 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:33:05 +0000 (0:00:00.605) 0:00:23.811 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:33:05 +0000 (0:00:00.037) 0:00:23.849 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:33:05 +0000 (0:00:00.043) 0:00:23.892 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:33:05 +0000 (0:00:00.045) 0:00:23.938 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:33:05 +0000 (0:00:00.036) 0:00:23.975 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 16:33:05 +0000 (0:00:00.463) 0:00:24.438 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-35.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:33:06 +0000 (0:00:00.078) 0:00:24.517 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:33:06 +0000 (0:00:00.036) 0:00:24.554 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:33:06 +0000 (0:00:00.036) 0:00:24.590 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:33:06 +0000 (0:00:00.056) 0:00:24.647 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:33:06 +0000 (0:00:00.054) 0:00:24.701 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003608", "end": "2022-08-03 16:33:06.117371", "rc": 0, "start": "2022-08-03 16:33:06.113763" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:33:06 +0000 (0:00:00.408) 0:00:25.109 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:33:06 +0000 (0:00:00.045) 0:00:25.155 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:33:06 +0000 (0:00:00.048) 0:00:25.204 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:33:08 +0000 (0:00:02.207) 0:00:27.411 ****** skipping: [/cache/fedora-35.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-35.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-35.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/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.045) 0:00:27.457 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.036) 0:00:27.494 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015149", "end": "2022-08-03 16:33:08.921454", "rc": 0, "start": "2022-08-03 16:33:08.906305" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.417) 0:00:27.912 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.034) 0:00:27.946 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.034) 0:00:27.981 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.032) 0:00:28.013 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.062) 0:00:28.075 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.042) 0:00:28.118 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-35.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.081) 0:00:28.200 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.033) 0:00:28.233 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.034) 0:00:28.268 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.055) 0:00:28.323 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:33:09 +0000 (0:00:00.054) 0:00:28.378 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003606", "end": "2022-08-03 16:33:09.798699", "rc": 0, "start": "2022-08-03 16:33:09.795093" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:33:10 +0000 (0:00:00.413) 0:00:28.791 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:33:10 +0000 (0:00:00.045) 0:00:28.836 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:33:10 +0000 (0:00:00.042) 0:00:28.880 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:33:12 +0000 (0:00:01.883) 0:00:30.763 ****** changed: [/cache/fedora-35.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.008365", "end": "2022-08-03 16:33:12.202360", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:33:12.193995" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003882", "end": "2022-08-03 16:33:12.588021", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:33:12.584139" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.009574", "end": "2022-08-03 16:33:12.973248", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:33:12.963674" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:33:13 +0000 (0:00:01.212) 0:00:31.975 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.019946", "end": "2022-08-03 16:33:13.427664", "rc": 0, "start": "2022-08-03 16:33:13.407718" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:33:13 +0000 (0:00:00.448) 0:00:32.424 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:33:14 +0000 (0:00:00.039) 0:00:32.464 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:33:14 +0000 (0:00:00.037) 0:00:32.501 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:33:14 +0000 (0:00:00.037) 0:00:32.539 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:33:14 +0000 (0:00:00.036) 0:00:32.576 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:33:14 +0000 (0:00:00.084) 0:00:32.660 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:33:14 +0000 (0:00:00.061) 0:00:32.721 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:33:14 +0000 (0:00:00.562) 0:00:33.283 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:33:16 +0000 (0:00:01.964) 0:00:35.248 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:33:17 +0000 (0:00:00.854) 0:00:36.102 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:33:17 +0000 (0:00:00.047) 0:00:36.150 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:33:17 +0000 (0:00:00.042) 0:00:36.192 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:33:17 +0000 (0:00:00.057) 0:00:36.249 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:33:17 +0000 (0:00:00.079) 0:00:36.329 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:33:17 +0000 (0:00:00.044) 0:00:36.373 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:33:17 +0000 (0:00:00.043) 0:00:36.416 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:33:18 +0000 (0:00:00.060) 0:00:36.477 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:33:18 +0000 (0:00:00.608) 0:00:37.086 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:33:18 +0000 (0:00:00.056) 0:00:37.142 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:33:18 +0000 (0:00:00.037) 0:00:37.179 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:33:18 +0000 (0:00:00.035) 0:00:37.215 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "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, d7707c25-ac77-46ec-a3dd-e0df43d016bd [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d7707c25-ac77-46ec-a3dd-e0df43d016bd (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:33:19 +0000 (0:00:00.700) 0:00:37.915 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:33:19 +0000 (0:00:00.039) 0:00:37.955 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d7707c25-ac77-46ec-a3dd-e0df43d016bd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d7707c25-ac77-46ec-a3dd-e0df43d016bd (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:33:19 +0000 (0:00:00.047) 0:00:38.002 ****** ok: [/cache/fedora-35.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, d7707c25-ac77-46ec-a3dd-e0df43d016bd\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d7707c25-ac77-46ec-a3dd-e0df43d016bd (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d7707c25-ac77-46ec-a3dd-e0df43d016bd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d7707c25-ac77-46ec-a3dd-e0df43d016bd (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:33:19 +0000 (0:00:00.044) 0:00:38.047 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:33:19 +0000 (0:00:00.036) 0:00:38.083 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 16:33:20 +0000 (0:00:00.431) 0:00:38.514 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:33:20 +0000 (0:00:00.077) 0:00:38.592 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:33:20 +0000 (0:00:00.054) 0:00:38.647 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544392.1993406, "block_size": 4096, "blocks": 0, "ctime": 1659544392.1993406, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25472, "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": 1659544392.1993406, "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/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:33:20 +0000 (0:00:00.421) 0:00:39.068 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 16:33:20 +0000 (0:00:00.046) 0:00:39.114 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:33:20 +0000 (0:00:00.132) 0:00:39.246 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:33:20 +0000 (0:00:00.060) 0:00:39.307 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:33:20 +0000 (0:00:00.048) 0:00:39.355 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544398.8793848, "block_size": 4096, "blocks": 8, "ctime": 1659544398.8463848, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36047, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544398.8463848, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:33:21 +0000 (0:00:00.405) 0:00:39.761 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:33:21 +0000 (0:00:00.047) 0:00:39.808 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.018729", "end": "2022-08-03 16:33:21.245740", "rc": 0, "start": "2022-08-03 16:33:21.227011" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:33:21 +0000 (0:00:00.431) 0:00:40.239 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:33:21 +0000 (0:00:00.055) 0:00:40.294 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:33:21 +0000 (0:00:00.046) 0:00:40.341 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:33:21 +0000 (0:00:00.038) 0:00:40.379 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:33:21 +0000 (0:00:00.053) 0:00:40.432 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 16:33:22 +0000 (0:00:00.047) 0:00:40.480 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004659", "end": "2022-08-03 16:33:21.915333", "rc": 0, "start": "2022-08-03 16:33:21.910674" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp 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/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 16:33:22 +0000 (0:00:00.491) 0:00:40.971 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 16:33:22 +0000 (0:00:00.049) 0:00:41.021 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004150", "end": "2022-08-03 16:33:22.469373", "rc": 0, "start": "2022-08-03 16:33:22.465223" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86182sec pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1582sec hoplimit 64 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 16:33:23 +0000 (0:00:00.445) 0:00:41.467 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 16:33:23 +0000 (0:00:00.050) 0:00:41.518 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:33:23 +0000 (0:00:00.050) 0:00:41.568 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:33:23 +0000 (0:00:00.061) 0:00:41.630 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:33:23 +0000 (0:00:00.594) 0:00:42.224 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:33:26 +0000 (0:00:02.224) 0:00:44.449 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:33:26 +0000 (0:00:00.751) 0:00:45.201 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:33:26 +0000 (0:00:00.050) 0:00:45.251 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:33:26 +0000 (0:00:00.039) 0:00:45.291 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:33:26 +0000 (0:00:00.045) 0:00:45.337 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:33:27 +0000 (0:00:00.116) 0:00:45.453 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:33:27 +0000 (0:00:00.040) 0:00:45.494 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:33:27 +0000 (0:00:00.055) 0:00:45.549 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:33:27 +0000 (0:00:00.058) 0:00:45.608 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:33:27 +0000 (0:00:00.597) 0:00:46.206 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:33:27 +0000 (0:00:00.056) 0:00:46.262 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:33:27 +0000 (0:00:00.035) 0:00:46.297 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:33:27 +0000 (0:00:00.035) 0:00:46.333 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:33:28 +0000 (0:00:00.627) 0:00:46.961 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:33:28 +0000 (0:00:00.039) 0:00:47.000 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:33:28 +0000 (0:00:00.045) 0:00:47.045 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:33:28 +0000 (0:00:00.047) 0:00:47.092 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:33:28 +0000 (0:00:00.089) 0:00:47.182 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 16:33:29 +0000 (0:00:00.419) 0:00:47.602 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-35.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:33:29 +0000 (0:00:00.086) 0:00:47.688 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:33:29 +0000 (0:00:00.036) 0:00:47.724 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:33:29 +0000 (0:00:00.038) 0:00:47.762 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:33:29 +0000 (0:00:00.058) 0:00:47.820 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:33:29 +0000 (0:00:00.055) 0:00:47.876 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003749", "end": "2022-08-03 16:33:29.297594", "rc": 0, "start": "2022-08-03 16:33:29.293845" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:33:29 +0000 (0:00:00.416) 0:00:48.293 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:33:29 +0000 (0:00:00.048) 0:00:48.342 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:33:29 +0000 (0:00:00.049) 0:00:48.391 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:33:32 +0000 (0:00:02.240) 0:00:50.632 ****** skipping: [/cache/fedora-35.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-35.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-35.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/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:33:32 +0000 (0:00:00.045) 0:00:50.678 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:33:32 +0000 (0:00:00.035) 0:00:50.713 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013926", "end": "2022-08-03 16:33:32.142396", "rc": 0, "start": "2022-08-03 16:33:32.128470" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:33:32 +0000 (0:00:00.425) 0:00:51.139 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:33:32 +0000 (0:00:00.035) 0:00:51.174 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:33:32 +0000 (0:00:00.036) 0:00:51.211 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:33:32 +0000 (0:00:00.035) 0:00:51.246 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=129 changed=11 unreachable=0 failed=0 skipped=83 rescued=0 ignored=0 Wednesday 03 August 2022 16:33:32 +0000 (0:00:00.100) 0:00:51.347 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.35s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.24s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.22s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 2.21s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.09s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.02s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.96s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.88s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 1.23s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Create veth interface veth0 --------------------------------------------- 1.21s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable and start NetworkManager ------------ 1.18s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Create veth interface veth0 --------------------------------------------- 1.15s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmp5fajrzs2/tests/tests_auto_gateway_nm.yml:5 ---------------------------- linux-system-roles.network : Check which packages are installed --------- 0.97s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Re-test connectivity ----------------------- 0.88s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Check which packages are installed --------- 0.85s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.83s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.83s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:3 --------------------- linux-system-roles.network : Check which packages are installed --------- 0.75s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp5fajrzs2/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp5fajrzs2/tests/_restore.yml:4 Wednesday 03 August 2022 16:33:32 +0000 (0:00:00.043) 0:00:51.390 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006785", "end": "2022-08-03 16:33:32.806993", "rc": 0, "start": "2022-08-03 16:33:32.800208" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=130 changed=12 unreachable=0 failed=0 skipped=83 rescued=0 ignored=0 Wednesday 03 August 2022 16:33:33 +0000 (0:00:00.454) 0:00:51.844 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.35s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 2.24s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.22s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 2.21s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.09s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.02s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.96s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.88s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 1.23s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Create veth interface veth0 --------------------------------------------- 1.21s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable and start NetworkManager ------------ 1.18s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Create veth interface veth0 --------------------------------------------- 1.15s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmp5fajrzs2/tests/tests_auto_gateway_nm.yml:5 ---------------------------- linux-system-roles.network : Check which packages are installed --------- 0.97s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Re-test connectivity ----------------------- 0.88s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Check which packages are installed --------- 0.85s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.83s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.83s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmp5fajrzs2/tests/playbooks/tests_auto_gateway.yml:3 --------------------- linux-system-roles.network : Check which packages are installed --------- 0.75s /tmp/tmp5fajrzs2/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/tmpdm_c1v_l executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpn6gexhje/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:59:20 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/fedora-35.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659545959.2516708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659545959.2516708, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:59:20 +0000 (0:00:00.605) 0:00:00.623 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-35.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 35954, 'dev': 32, 'nlink': 1, 'atime': 1659545959.2516708, 'mtime': 1659338446.0, 'ctime': 1659545959.2516708, '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": 1659545959.2516708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659545959.2516708, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:59:20 +0000 (0:00:00.033) 0:00:00.657 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004692", "end": "2022-08-03 16:59:20.976019", "rc": 0, "start": "2022-08-03 16:59:20.971327" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:59:21 +0000 (0:00:00.502) 0:00:01.160 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.61s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmpn6gexhje/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpn6gexhje/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmpn6gexhje/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/tmpn6gexhje/tests/network/tests_auto_gateway_nm.yml:5 Wednesday 03 August 2022 16:59:21 +0000 (0:00:00.091) 0:00:01.251 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_auto_gateway_nm.yml:8 Wednesday 03 August 2022 16:59:22 +0000 (0:00:01.023) 0:00:02.275 ****** included: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml for /cache/fedora-35.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.025) 0:00:02.301 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.019) 0:00:02.321 ****** included: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml for /cache/fedora-35.qcow2.snap TASK [Create EPEL 35] ********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.027) 0:00:02.348 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.017) 0:00:02.366 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.017) 0:00:02.383 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.017) 0:00:02.401 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_auto_gateway_nm.yml:9 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.020) 0:00:02.421 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.046) 0:00:02.468 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.796) 0:00:03.264 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.045) 0:00:03.310 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.028) 0:00:03.338 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003575", "end": "2022-08-03 16:59:23.542555", "rc": 0, "start": "2022-08-03 16:59:23.538980" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.379) 0:00:03.718 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.031) 0:00:03.749 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 16:59:24 +0000 (0:00:00.034) 0:00:03.784 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-35.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:59:24 +0000 (0:00:00.052) 0:00:03.837 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:59:24 +0000 (0:00:00.021) 0:00:03.859 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:59:24 +0000 (0:00:00.020) 0:00:03.879 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:59:24 +0000 (0:00:00.030) 0:00:03.910 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:59:24 +0000 (0:00:00.029) 0:00:03.940 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003539", "end": "2022-08-03 16:59:24.184743", "rc": 0, "start": "2022-08-03 16:59:24.181204" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:59:24 +0000 (0:00:00.421) 0:00:04.362 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:59:24 +0000 (0:00:00.058) 0:00:04.420 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:59:24 +0000 (0:00:00.031) 0:00:04.451 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:59:26 +0000 (0:00:02.041) 0:00:06.493 ****** changed: [/cache/fedora-35.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.004153", "end": "2022-08-03 16:59:26.703670", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:59:26.699517" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004347", "end": "2022-08-03 16:59:27.085973", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:59:27.081626" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.010309", "end": "2022-08-03 16:59:27.485196", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:59:27.474887" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:59:27 +0000 (0:00:01.178) 0:00:07.671 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022635", "end": "2022-08-03 16:59:27.903514", "rc": 0, "start": "2022-08-03 16:59:27.880879" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:59:28 +0000 (0:00:00.412) 0:00:08.084 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:59:28 +0000 (0:00:00.021) 0:00:08.106 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:59:28 +0000 (0:00:00.021) 0:00:08.128 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:59:28 +0000 (0:00:00.021) 0:00:08.149 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:59:28 +0000 (0:00:00.020) 0:00:08.170 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 16:59:28 +0000 (0:00:00.020) 0:00:08.190 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:59:28 +0000 (0:00:00.046) 0:00:08.236 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:59:28 +0000 (0:00:00.028) 0:00:08.264 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659545966.703015, "block_size": 4096, "blocks": 0, "ctime": 1659545966.703015, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25216, "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": 1659545966.703015, "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/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:59:28 +0000 (0:00:00.381) 0:00:08.646 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 16:59:28 +0000 (0:00:00.031) 0:00:08.678 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:59:28 +0000 (0:00:00.032) 0:00:08.711 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:59:28 +0000 (0:00:00.036) 0:00:08.747 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:59:29 +0000 (0:00:00.524) 0:00:09.271 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:59:31 +0000 (0:00:02.137) 0:00:11.409 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:59:32 +0000 (0:00:00.934) 0:00:12.344 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:59:32 +0000 (0:00:00.071) 0:00:12.416 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:59:32 +0000 (0:00:00.037) 0:00:12.453 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:59:32 +0000 (0:00:00.035) 0:00:12.488 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:59:32 +0000 (0:00:00.069) 0:00:12.558 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:59:32 +0000 (0:00:00.035) 0:00:12.594 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:59:32 +0000 (0:00:00.035) 0:00:12.629 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:59:32 +0000 (0:00:00.048) 0:00:12.678 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:59:33 +0000 (0:00:00.812) 0:00:13.491 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:59:33 +0000 (0:00:00.053) 0:00:13.544 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:59:33 +0000 (0:00:00.032) 0:00:13.576 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:59:33 +0000 (0:00:00.034) 0:00:13.611 ****** changed: [/cache/fedora-35.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, 28f99575-dcc3-4a07-a990-b61d0d5e43a1 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 28f99575-dcc3-4a07-a990-b61d0d5e43a1 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.825) 0:00:14.437 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.037) 0:00:14.474 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 28f99575-dcc3-4a07-a990-b61d0d5e43a1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 28f99575-dcc3-4a07-a990-b61d0d5e43a1 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.045) 0:00:14.520 ****** ok: [/cache/fedora-35.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, 28f99575-dcc3-4a07-a990-b61d0d5e43a1\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 28f99575-dcc3-4a07-a990-b61d0d5e43a1 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 28f99575-dcc3-4a07-a990-b61d0d5e43a1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 28f99575-dcc3-4a07-a990-b61d0d5e43a1 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.044) 0:00:14.564 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.035) 0:00:14.600 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 16:59:35 +0000 (0:00:00.495) 0:00:15.095 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:59:35 +0000 (0:00:00.071) 0:00:15.166 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:59:35 +0000 (0:00:00.054) 0:00:15.220 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659545966.703015, "block_size": 4096, "blocks": 0, "ctime": 1659545966.703015, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25216, "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": 1659545966.703015, "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/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:59:35 +0000 (0:00:00.378) 0:00:15.599 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 16:59:35 +0000 (0:00:00.111) 0:00:15.711 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:59:36 +0000 (0:00:00.072) 0:00:15.784 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:59:36 +0000 (0:00:00.057) 0:00:15.841 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:59:36 +0000 (0:00:00.042) 0:00:15.884 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659545974.237671, "block_size": 4096, "blocks": 8, "ctime": 1659545974.203671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35990, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545974.203671, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 379, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:59:36 +0000 (0:00:00.383) 0:00:16.268 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:59:36 +0000 (0:00:00.043) 0:00:16.311 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020084", "end": "2022-08-03 16:59:36.534483", "rc": 0, "start": "2022-08-03 16:59:36.514399" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:59:36 +0000 (0:00:00.417) 0:00:16.729 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:59:37 +0000 (0:00:00.046) 0:00:16.775 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:59:37 +0000 (0:00:00.035) 0:00:16.811 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:59:37 +0000 (0:00:00.036) 0:00:16.847 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:59:37 +0000 (0:00:00.047) 0:00:16.895 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 16:59:37 +0000 (0:00:00.044) 0:00:16.939 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004172", "end": "2022-08-03 16:59:37.187900", "rc": 0, "start": "2022-08-03 16:59:37.183728" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp 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/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 16:59:37 +0000 (0:00:00.439) 0:00:17.378 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 16:59:37 +0000 (0:00:00.049) 0:00:17.428 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003583", "end": "2022-08-03 16:59:37.626061", "rc": 0, "start": "2022-08-03 16:59:37.622478" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86208sec pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1608sec hoplimit 64 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 16:59:38 +0000 (0:00:00.388) 0:00:17.816 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 16:59:38 +0000 (0:00:00.046) 0:00:17.863 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:59:38 +0000 (0:00:00.042) 0:00:17.905 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:59:38 +0000 (0:00:00.059) 0:00:17.964 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:59:38 +0000 (0:00:00.548) 0:00:18.513 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:59:40 +0000 (0:00:01.923) 0:00:20.436 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:59:41 +0000 (0:00:00.705) 0:00:21.142 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:59:41 +0000 (0:00:00.048) 0:00:21.190 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:59:41 +0000 (0:00:00.041) 0:00:21.231 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:59:41 +0000 (0:00:00.040) 0:00:21.271 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:59:41 +0000 (0:00:00.076) 0:00:21.347 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:59:41 +0000 (0:00:00.074) 0:00:21.422 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:59:41 +0000 (0:00:00.040) 0:00:21.462 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:59:41 +0000 (0:00:00.054) 0:00:21.517 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:59:42 +0000 (0:00:00.601) 0:00:22.119 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:59:42 +0000 (0:00:00.053) 0:00:22.173 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:59:42 +0000 (0:00:00.033) 0:00:22.207 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:59:42 +0000 (0:00:00.032) 0:00:22.239 ****** changed: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.617) 0:00:22.857 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.037) 0:00:22.895 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.046) 0:00:22.941 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.044) 0:00:22.986 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.039) 0:00:23.025 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.455) 0:00:23.481 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-35.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.078) 0:00:23.559 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.035) 0:00:23.595 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.036) 0:00:23.631 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.056) 0:00:23.687 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.053) 0:00:23.741 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003850", "end": "2022-08-03 16:59:43.972386", "rc": 0, "start": "2022-08-03 16:59:43.968536" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.422) 0:00:24.164 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.044) 0:00:24.208 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.041) 0:00:24.250 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:59:46 +0000 (0:00:01.980) 0:00:26.230 ****** skipping: [/cache/fedora-35.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-35.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-35.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/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:59:46 +0000 (0:00:00.049) 0:00:26.280 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:59:46 +0000 (0:00:00.037) 0:00:26.317 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.016166", "end": "2022-08-03 16:59:46.566952", "rc": 0, "start": "2022-08-03 16:59:46.550786" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:59:46 +0000 (0:00:00.444) 0:00:26.761 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.037) 0:00:26.798 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.034) 0:00:26.832 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.035) 0:00:26.868 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.034) 0:00:26.902 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.081) 0:00:26.984 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-35.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.080) 0:00:27.064 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.034) 0:00:27.099 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.034) 0:00:27.133 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.054) 0:00:27.188 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.053) 0:00:27.241 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003363", "end": "2022-08-03 16:59:47.460832", "rc": 0, "start": "2022-08-03 16:59:47.457469" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.410) 0:00:27.652 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.045) 0:00:27.697 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:59:47 +0000 (0:00:00.045) 0:00:27.743 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:59:49 +0000 (0:00:01.919) 0:00:29.662 ****** changed: [/cache/fedora-35.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.006191", "end": "2022-08-03 16:59:49.877706", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:59:49.871515" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003518", "end": "2022-08-03 16:59:50.262606", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:59:50.259088" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007136", "end": "2022-08-03 16:59:50.637360", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:59:50.630224" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:59:51 +0000 (0:00:01.167) 0:00:30.830 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020614", "end": "2022-08-03 16:59:51.064637", "rc": 0, "start": "2022-08-03 16:59:51.044023" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:59:51 +0000 (0:00:00.431) 0:00:31.261 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:59:51 +0000 (0:00:00.036) 0:00:31.298 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:59:51 +0000 (0:00:00.036) 0:00:31.335 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:59:51 +0000 (0:00:00.035) 0:00:31.370 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:59:51 +0000 (0:00:00.035) 0:00:31.406 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:59:51 +0000 (0:00:00.074) 0:00:31.480 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:59:51 +0000 (0:00:00.061) 0:00:31.542 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:59:52 +0000 (0:00:00.614) 0:00:32.157 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:59:54 +0000 (0:00:01.910) 0:00:34.067 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:59:55 +0000 (0:00:00.736) 0:00:34.803 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:59:55 +0000 (0:00:00.122) 0:00:34.926 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:59:55 +0000 (0:00:00.038) 0:00:34.965 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:59:55 +0000 (0:00:00.041) 0:00:35.006 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:59:55 +0000 (0:00:00.076) 0:00:35.083 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:59:55 +0000 (0:00:00.039) 0:00:35.122 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:59:55 +0000 (0:00:00.041) 0:00:35.164 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:59:55 +0000 (0:00:00.055) 0:00:35.219 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:59:56 +0000 (0:00:00.599) 0:00:35.818 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:59:56 +0000 (0:00:00.055) 0:00:35.873 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:59:56 +0000 (0:00:00.035) 0:00:35.908 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:59:56 +0000 (0:00:00.035) 0:00:35.944 ****** changed: [/cache/fedora-35.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, e4ab0ea8-04eb-4fb2-bea4-3367bc19221f [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e4ab0ea8-04eb-4fb2-bea4-3367bc19221f (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:59:56 +0000 (0:00:00.595) 0:00:36.540 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:59:56 +0000 (0:00:00.073) 0:00:36.613 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e4ab0ea8-04eb-4fb2-bea4-3367bc19221f", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e4ab0ea8-04eb-4fb2-bea4-3367bc19221f (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:59:56 +0000 (0:00:00.049) 0:00:36.663 ****** ok: [/cache/fedora-35.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, e4ab0ea8-04eb-4fb2-bea4-3367bc19221f\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e4ab0ea8-04eb-4fb2-bea4-3367bc19221f (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e4ab0ea8-04eb-4fb2-bea4-3367bc19221f", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e4ab0ea8-04eb-4fb2-bea4-3367bc19221f (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:59:56 +0000 (0:00:00.049) 0:00:36.712 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:59:56 +0000 (0:00:00.041) 0:00:36.754 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 16:59:57 +0000 (0:00:00.435) 0:00:37.189 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:59:57 +0000 (0:00:00.084) 0:00:37.274 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:59:57 +0000 (0:00:00.059) 0:00:37.333 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659545989.8752499, "block_size": 4096, "blocks": 0, "ctime": 1659545989.8752499, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25472, "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": 1659545989.8752499, "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/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:59:57 +0000 (0:00:00.405) 0:00:37.738 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 16:59:58 +0000 (0:00:00.049) 0:00:37.788 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:59:58 +0000 (0:00:00.079) 0:00:37.868 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:59:58 +0000 (0:00:00.101) 0:00:37.970 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:59:58 +0000 (0:00:00.043) 0:00:38.014 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659545996.338671, "block_size": 4096, "blocks": 8, "ctime": 1659545996.303671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36047, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545996.303671, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:59:58 +0000 (0:00:00.433) 0:00:38.448 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:59:58 +0000 (0:00:00.049) 0:00:38.497 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021306", "end": "2022-08-03 16:59:58.733690", "rc": 0, "start": "2022-08-03 16:59:58.712384" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:59:59 +0000 (0:00:00.428) 0:00:38.926 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:59:59 +0000 (0:00:00.049) 0:00:38.976 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:59:59 +0000 (0:00:00.039) 0:00:39.015 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:59:59 +0000 (0:00:00.037) 0:00:39.053 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:59:59 +0000 (0:00:00.050) 0:00:39.104 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 16:59:59 +0000 (0:00:00.048) 0:00:39.152 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003966", "end": "2022-08-03 16:59:59.365332", "rc": 0, "start": "2022-08-03 16:59:59.361366" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp 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/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 16:59:59 +0000 (0:00:00.405) 0:00:39.558 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 16:59:59 +0000 (0:00:00.119) 0:00:39.678 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003489", "end": "2022-08-03 16:59:59.901808", "rc": 0, "start": "2022-08-03 16:59:59.898319" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86378sec pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1778sec hoplimit 64 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 17:00:00 +0000 (0:00:00.430) 0:00:40.108 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 17:00:00 +0000 (0:00:00.051) 0:00:40.160 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:00:00 +0000 (0:00:00.044) 0:00:40.204 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:00:00 +0000 (0:00:00.061) 0:00:40.266 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:00:01 +0000 (0:00:00.561) 0:00:40.827 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:00:03 +0000 (0:00:01.952) 0:00:42.780 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:00:03 +0000 (0:00:00.693) 0:00:43.473 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:00:03 +0000 (0:00:00.050) 0:00:43.524 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:00:03 +0000 (0:00:00.041) 0:00:43.565 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:00:03 +0000 (0:00:00.039) 0:00:43.605 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:00:03 +0000 (0:00:00.078) 0:00:43.683 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:00:03 +0000 (0:00:00.040) 0:00:43.724 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:00:03 +0000 (0:00:00.039) 0:00:43.763 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:00:04 +0000 (0:00:00.094) 0:00:43.858 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:00:04 +0000 (0:00:00.600) 0:00:44.458 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:00:04 +0000 (0:00:00.056) 0:00:44.515 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:00:04 +0000 (0:00:00.034) 0:00:44.549 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:00:04 +0000 (0:00:00.034) 0:00:44.584 ****** changed: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:00:05 +0000 (0:00:00.599) 0:00:45.184 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:00:05 +0000 (0:00:00.039) 0:00:45.224 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:00:05 +0000 (0:00:00.047) 0:00:45.271 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:00:05 +0000 (0:00:00.046) 0:00:45.318 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:00:05 +0000 (0:00:00.038) 0:00:45.356 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 17:00:06 +0000 (0:00:00.458) 0:00:45.815 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-35.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:00:06 +0000 (0:00:00.083) 0:00:45.898 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:00:06 +0000 (0:00:00.033) 0:00:45.931 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:00:06 +0000 (0:00:00.034) 0:00:45.966 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:00:06 +0000 (0:00:00.054) 0:00:46.020 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:00:06 +0000 (0:00:00.054) 0:00:46.075 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003478", "end": "2022-08-03 17:00:06.272738", "rc": 0, "start": "2022-08-03 17:00:06.269260" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:00:06 +0000 (0:00:00.389) 0:00:46.464 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:00:06 +0000 (0:00:00.046) 0:00:46.511 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:00:06 +0000 (0:00:00.046) 0:00:46.557 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:00:08 +0000 (0:00:01.918) 0:00:48.476 ****** skipping: [/cache/fedora-35.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-35.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-35.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/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:00:08 +0000 (0:00:00.046) 0:00:48.523 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:00:08 +0000 (0:00:00.035) 0:00:48.559 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012515", "end": "2022-08-03 17:00:08.776281", "rc": 0, "start": "2022-08-03 17:00:08.763766" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:00:09 +0000 (0:00:00.412) 0:00:48.971 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:00:09 +0000 (0:00:00.035) 0:00:49.007 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:00:09 +0000 (0:00:00.037) 0:00:49.045 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:00:09 +0000 (0:00:00.037) 0:00:49.082 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=129 changed=11 unreachable=0 failed=0 skipped=83 rescued=0 ignored=0 Wednesday 03 August 2022 17:00:09 +0000 (0:00:00.059) 0:00:49.141 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.14s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 2.04s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.98s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.92s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.92s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.22s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.20s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Create veth interface veth0 --------------------------------------------- 1.18s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Create veth interface veth0 --------------------------------------------- 1.17s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpn6gexhje/tests/network/tests_auto_gateway_nm.yml:5 -------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.91s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.83s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.81s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:3 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.71s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpn6gexhje/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:00:09 +0000 (0:00:00.086) 0:00:49.228 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006823", "end": "2022-08-03 17:00:09.450871", "rc": 0, "start": "2022-08-03 17:00:09.444048" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=130 changed=12 unreachable=0 failed=0 skipped=83 rescued=0 ignored=0 Wednesday 03 August 2022 17:00:09 +0000 (0:00:00.436) 0:00:49.665 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.14s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 2.04s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.98s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.92s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 1.92s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.22s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.20s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Create veth interface veth0 --------------------------------------------- 1.18s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Create veth interface veth0 --------------------------------------------- 1.17s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpn6gexhje/tests/network/tests_auto_gateway_nm.yml:5 -------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.91s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.83s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.81s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpn6gexhje/tests/network/playbooks/tests_auto_gateway.yml:3 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.71s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14