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:45:36 +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": 1659545135.1583848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659545135.1583848, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 42996, "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:45:36 +0000 (0:00:00.604) 0:00:00.621 ****** [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': 42996, 'dev': 32, 'nlink': 1, 'atime': 1659545135.1583848, 'mtime': 1659338446.0, 'ctime': 1659545135.1583848, '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": 1659545135.1583848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659545135.1583848, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 42996, "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:45:36 +0000 (0:00:00.036) 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.004066", "end": "2022-08-03 16:45:36.872757", "rc": 0, "start": "2022-08-03 16:45:36.868691" } 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:45:37 +0000 (0:00:00.501) 0:00:01.159 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.50s /tmp/tmp5fajrzs2/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp5fajrzs2/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_ipv6_nm.yml **************************************************** 2 plays in /tmp/tmp5fajrzs2/tests/tests_ipv6_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/tests_ipv6_nm.yml:5 Wednesday 03 August 2022 16:45:37 +0000 (0:00:00.059) 0:00:01.219 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tests_ipv6_nm.yml:8 Wednesday 03 August 2022 16:45:38 +0000 (0:00:01.045) 0:00:02.264 ****** 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:45:38 +0000 (0:00:00.027) 0:00:02.292 ****** 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:45:38 +0000 (0:00:00.021) 0:00:02.313 ****** 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:45:38 +0000 (0:00:00.027) 0:00:02.340 ****** 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:45:38 +0000 (0:00:00.018) 0:00:02.358 ****** 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:45:38 +0000 (0:00:00.018) 0:00:02.377 ****** 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:45:38 +0000 (0:00:00.018) 0:00:02.395 ****** 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_ipv6_nm.yml:9 Wednesday 03 August 2022 16:45:38 +0000 (0:00:00.021) 0:00:02.416 ****** 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_ipv6.yml:3 Wednesday 03 August 2022 16:45:38 +0000 (0:00:00.047) 0:00:02.463 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:8 Wednesday 03 August 2022 16:45:39 +0000 (0:00:00.824) 0:00:03.287 ****** 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:45:39 +0000 (0:00:00.031) 0:00:03.319 ****** 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:45:39 +0000 (0:00:00.030) 0:00:03.350 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003660", "end": "2022-08-03 16:45:39.462137", "rc": 0, "start": "2022-08-03 16:45:39.458477" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.399) 0:00:03.749 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.033) 0:00:03.782 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:9 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.032) 0:00:03.815 ****** 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:45:40 +0000 (0:00:00.035) 0:00:03.850 ****** 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:45:40 +0000 (0:00:00.021) 0:00:03.872 ****** 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:45:40 +0000 (0:00:00.025) 0:00:03.898 ****** 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:45:40 +0000 (0:00:00.037) 0:00:03.935 ****** 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:45:40 +0000 (0:00:00.030) 0:00:03.965 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003294", "end": "2022-08-03 16:45:40.085913", "rc": 0, "start": "2022-08-03 16:45:40.082619" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.407) 0:00:04.373 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.031) 0:00:04.405 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:45:40 +0000 (0:00:00.032) 0:00:04.437 ****** 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:45:43 +0000 (0:00:02.365) 0:00:06.802 ****** 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.009194", "end": "2022-08-03 16:45:42.945401", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:45:42.936207" } 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.003635", "end": "2022-08-03 16:45:43.313137", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:45:43.309502" } 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.009555", "end": "2022-08-03 16:45:43.689621", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:45:43.680066" } 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:45:44 +0000 (0:00:01.175) 0:00:07.978 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020437", "end": "2022-08-03 16:45:44.154861", "rc": 0, "start": "2022-08-03 16:45:44.134424" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:45:44 +0000 (0:00:00.463) 0:00:08.441 ****** 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:45:44 +0000 (0:00:00.021) 0:00:08.463 ****** 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:45:44 +0000 (0:00:00.021) 0:00:08.484 ****** 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:45:44 +0000 (0:00:00.021) 0:00:08.505 ****** 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:45:44 +0000 (0:00:00.024) 0:00:08.530 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up gateway ip on veth peer] ****************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:12 Wednesday 03 August 2022 16:45:44 +0000 (0:00:00.023) 0:00:08.553 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "ip netns add ns1\nip link set peerveth0 netns ns1\nip netns exec ns1 ip -6 addr add 2001:db8::1/32 dev peerveth0\nip netns exec ns1 ip link set peerveth0 up\n", "delta": "0:00:00.031513", "end": "2022-08-03 16:45:44.716003", "rc": 0, "start": "2022-08-03 16:45:44.684490" } TASK [TEST: I can configure an interface with static ipv6 config] ************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:22 Wednesday 03 August 2022 16:45:45 +0000 (0:00:00.447) 0:00:09.000 ****** 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:45:45 +0000 (0:00:00.032) 0:00:09.033 ****** 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:45:45 +0000 (0:00:00.036) 0:00:09.069 ****** 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:45:45 +0000 (0:00:00.542) 0:00:09.612 ****** 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:45:48 +0000 (0:00:02.166) 0:00:11.778 ****** 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:45:49 +0000 (0:00:01.016) 0:00:12.795 ****** 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:45:49 +0000 (0:00:00.048) 0:00:12.843 ****** 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:45:49 +0000 (0:00:00.042) 0:00:12.886 ****** 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:45:49 +0000 (0:00:00.042) 0:00:12.928 ****** 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:45:49 +0000 (0:00:00.078) 0:00:13.007 ****** 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:45:49 +0000 (0:00:00.045) 0:00:13.052 ****** 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:45:49 +0000 (0:00:00.042) 0:00:13.095 ****** 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:45:49 +0000 (0:00:00.058) 0:00:13.154 ****** 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:45:50 +0000 (0:00:00.837) 0:00:13.991 ****** 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:45:50 +0000 (0:00:00.058) 0:00:14.049 ****** 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:45:50 +0000 (0:00:00.041) 0:00:14.091 ****** 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:45:50 +0000 (0:00:00.044) 0:00:14.136 ****** 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/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "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, 08a07ad8-1ee4-44cb-842b-9fc53dd81575 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 08a07ad8-1ee4-44cb-842b-9fc53dd81575 (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:45:53 +0000 (0:00:02.634) 0:00:16.771 ****** 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:45:53 +0000 (0:00:00.039) 0:00:16.810 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 08a07ad8-1ee4-44cb-842b-9fc53dd81575", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 08a07ad8-1ee4-44cb-842b-9fc53dd81575 (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:45:53 +0000 (0:00:00.049) 0:00:16.860 ****** 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/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "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, 08a07ad8-1ee4-44cb-842b-9fc53dd81575\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 08a07ad8-1ee4-44cb-842b-9fc53dd81575 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 08a07ad8-1ee4-44cb-842b-9fc53dd81575", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 08a07ad8-1ee4-44cb-842b-9fc53dd81575 (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:45:53 +0000 (0:00:00.048) 0:00:16.909 ****** 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:45:53 +0000 (0:00:00.039) 0:00:16.948 ****** 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_ipv6.yml:42 Wednesday 03 August 2022 16:45:53 +0000 (0:00:00.618) 0:00:17.567 ****** 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:45:53 +0000 (0:00:00.098) 0:00:17.666 ****** 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:45:54 +0000 (0:00:00.061) 0:00:17.727 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659545142.9412177, "block_size": 4096, "blocks": 0, "ctime": 1659545142.9412177, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33595, "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": 1659545142.9412177, "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:45:54 +0000 (0:00:00.402) 0:00:18.129 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:43 Wednesday 03 August 2022 16:45:54 +0000 (0:00:00.052) 0:00:18.182 ****** 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:45:54 +0000 (0:00:00.069) 0:00:18.251 ****** 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:45:54 +0000 (0:00:00.061) 0:00:18.312 ****** 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:45:54 +0000 (0:00:00.045) 0:00:18.358 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659545150.6643848, "block_size": 4096, "blocks": 8, "ctime": 1659545150.6263847, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 43031, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545150.6263847, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 333, "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:45:55 +0000 (0:00:00.394) 0:00:18.753 ****** 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:45:55 +0000 (0:00:00.139) 0:00:18.892 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017958", "end": "2022-08-03 16:45:55.010661", "rc": 0, "start": "2022-08-03 16:45:54.992703" } 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:45:55 +0000 (0:00:00.419) 0:00:19.311 ****** 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:45:55 +0000 (0:00:00.065) 0:00:19.377 ****** 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:45:55 +0000 (0:00:00.041) 0:00:19.419 ****** 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:45:55 +0000 (0:00:00.041) 0:00:19.460 ****** 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:45:55 +0000 (0:00:00.056) 0:00:19.517 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ip address information] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:46 Wednesday 03 August 2022 16:45:55 +0000 (0:00:00.054) 0:00:19.572 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ip", "addr", "show", "veth0" ], "delta": "0:00:00.003989", "end": "2022-08-03 16:45:55.693126", "rc": 0, "start": "2022-08-03 16:45:55.689137" } STDOUT: 67: veth0@if66: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether ae:ce:82:cd:94:92 brd ff:ff:ff:ff:ff:ff link-netns ns1 inet6 2001:db8::4/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 2001:db8::3/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 2001:db8::2/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fe80::5621:9dc8:5d5:ddbc/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Show ip_addr] ************************************************************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:49 Wednesday 03 August 2022 16:45:56 +0000 (0:00:00.426) 0:00:19.998 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ip_addr.stdout": "67: veth0@if66: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether ae:ce:82:cd:94:92 brd ff:ff:ff:ff:ff:ff link-netns ns1\n inet6 2001:db8::4/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::3/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::2/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 fe80::5621:9dc8:5d5:ddbc/64 scope link noprefixroute \n valid_lft forever preferred_lft forever" } TASK [Assert ipv6 addresses are correctly set] ********************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:52 Wednesday 03 August 2022 16:45:56 +0000 (0:00:00.049) 0:00:20.048 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:61 Wednesday 03 August 2022 16:45:56 +0000 (0:00:00.052) 0:00:20.100 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003416", "end": "2022-08-03 16:45:56.206430", "rc": 0, "start": "2022-08-03 16:45:56.203014" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/32 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 85924sec 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 1324sec hoplimit 64 pref medium TASK [Show ipv6_route] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:64 Wednesday 03 August 2022 16:45:56 +0000 (0:00:00.405) 0:00:20.506 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ipv6_route.stdout": "::1 dev lo proto kernel metric 256 pref medium\n2001:db8::/32 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev veth0 proto kernel metric 101 pref medium\nfec0::/64 dev eth0 proto kernel metric 256 expires 85924sec pref medium\ndefault via 2001:db8::1 dev veth0 proto static metric 101 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 1024 expires 1324sec hoplimit 64 pref medium" } TASK [Assert default ipv6 route is set] **************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:67 Wednesday 03 August 2022 16:45:56 +0000 (0:00:00.147) 0:00:20.653 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Test gateway can be pinged] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:73 Wednesday 03 August 2022 16:45:56 +0000 (0:00:00.051) 0:00:20.705 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ping6", "-c1", "2001:db8::1" ], "delta": "0:00:00.004555", "end": "2022-08-03 16:45:56.813869", "rc": 0, "start": "2022-08-03 16:45:56.809314" } STDOUT: PING 2001:db8::1(2001:db8::1) 56 data bytes 64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.066 ms --- 2001:db8::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.066/0.066/0.066/0.000 ms TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:78 Wednesday 03 August 2022 16:45:57 +0000 (0:00:00.409) 0:00:21.115 ****** 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:45:57 +0000 (0:00:00.046) 0:00:21.162 ****** 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:45:57 +0000 (0:00:00.062) 0:00:21.225 ****** 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:45:58 +0000 (0:00:00.562) 0:00:21.787 ****** 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:46:00 +0000 (0:00:02.026) 0:00:23.814 ****** 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:46:00 +0000 (0:00:00.757) 0:00:24.572 ****** 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:46:00 +0000 (0:00:00.047) 0:00:24.620 ****** 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:46:00 +0000 (0:00:00.046) 0:00:24.666 ****** 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:46:00 +0000 (0:00:00.041) 0:00:24.708 ****** 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:46:01 +0000 (0:00:00.075) 0:00:24.784 ****** 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:46:01 +0000 (0:00:00.080) 0:00:24.864 ****** 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:46:01 +0000 (0:00:00.040) 0:00:24.905 ****** 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:46:01 +0000 (0:00:00.056) 0:00:24.961 ****** 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:46:01 +0000 (0:00:00.599) 0:00:25.561 ****** 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:46:01 +0000 (0:00:00.054) 0:00:25.615 ****** 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:46:01 +0000 (0:00:00.035) 0:00:25.651 ****** 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:46:01 +0000 (0:00:00.034) 0:00:25.685 ****** 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:46:02 +0000 (0:00:00.607) 0:00:26.293 ****** 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:46:02 +0000 (0:00:00.038) 0:00:26.331 ****** 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:46:02 +0000 (0:00:00.047) 0:00:26.379 ****** 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:46:02 +0000 (0:00:00.110) 0:00:26.489 ****** 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:46:02 +0000 (0:00:00.039) 0:00:26.528 ****** 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_ipv6.yml:90 Wednesday 03 August 2022 16:46:03 +0000 (0:00:00.435) 0:00:26.964 ****** 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:46:03 +0000 (0:00:00.075) 0:00:27.039 ****** 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:46:03 +0000 (0:00:00.037) 0:00:27.076 ****** 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:46:03 +0000 (0:00:00.036) 0:00:27.113 ****** 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:46:03 +0000 (0:00:00.060) 0:00:27.173 ****** 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:46:03 +0000 (0:00:00.059) 0:00:27.233 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003454", "end": "2022-08-03 16:46:03.330252", "rc": 0, "start": "2022-08-03 16:46:03.326798" } STDOUT: bonding_masters eth0 lo veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:46:03 +0000 (0:00:00.396) 0:00:27.629 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:46:04 +0000 (0:00:00.115) 0:00:27.744 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:46:04 +0000 (0:00:00.047) 0:00:27.792 ****** 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:46:06 +0000 (0:00:02.058) 0:00:29.850 ****** 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:46:06 +0000 (0:00:00.048) 0:00:29.899 ****** 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:46:06 +0000 (0:00:00.036) 0:00:29.935 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011730", "end": "2022-08-03 16:46:06.050988", "rc": 0, "start": "2022-08-03 16:46:06.039258" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:46:06 +0000 (0:00:00.445) 0:00:30.381 ****** 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:46:06 +0000 (0:00:00.037) 0:00:30.418 ****** 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:46:06 +0000 (0:00:00.036) 0:00:30.454 ****** 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:46:06 +0000 (0:00:00.037) 0:00:30.492 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up namespace] ****************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:93 Wednesday 03 August 2022 16:46:06 +0000 (0:00:00.039) 0:00:30.531 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ip", "netns", "delete", "ns1" ], "delta": "0:00:00.004640", "end": "2022-08-03 16:46:06.636149", "rc": 0, "start": "2022-08-03 16:46:06.631509" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=74 changed=11 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0 Wednesday 03 August 2022 16:46:07 +0000 (0:00:00.431) 0:00:30.962 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.63s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Install iproute --------------------------------------------------------- 2.37s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.17s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 2.06s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.03s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface veth0 --------------------------------------------- 1.18s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp5fajrzs2/tests/tests_ipv6_nm.yml:5 ------------------------------------ linux-system-roles.network : Check which packages are installed --------- 1.02s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.84s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:3 ----------------------------- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Re-test connectivity ----------------------- 0.62s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Configure networking connection profiles --- 0.61s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.56s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.54s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Back up system files ---------------------------------------------------- 0.50s /tmp/tmp5fajrzs2/tests/_backup.yml:19 ----------------------------------------- Set up veth as managed by NetworkManager -------------------------------- 0.46s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:29 ----------- Set up gateway ip on veth peer ------------------------------------------ 0.45s /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:12 ---------------------------- 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:46:07 +0000 (0:00:00.047) 0:00:31.010 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007213", "end": "2022-08-03 16:46:07.116884", "rc": 0, "start": "2022-08-03 16:46:07.109671" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=75 changed=12 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0 Wednesday 03 August 2022 16:46:07 +0000 (0:00:00.431) 0:00:31.441 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.63s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Install iproute --------------------------------------------------------- 2.37s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.17s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 2.06s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.03s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface veth0 --------------------------------------------- 1.18s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp5fajrzs2/tests/tests_ipv6_nm.yml:5 ------------------------------------ linux-system-roles.network : Check which packages are installed --------- 1.02s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.84s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:3 ----------------------------- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Re-test connectivity ----------------------- 0.62s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Configure networking connection profiles --- 0.61s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.56s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.54s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Back up system files ---------------------------------------------------- 0.50s /tmp/tmp5fajrzs2/tests/_backup.yml:19 ----------------------------------------- Set up veth as managed by NetworkManager -------------------------------- 0.46s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:29 ----------- Set up gateway ip on veth peer ------------------------------------------ 0.45s /tmp/tmp5fajrzs2/tests/playbooks/tests_ipv6.yml:12 ---------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpdm_c1v_l executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpn6gexhje/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:12:03 +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": 1659546722.6076708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659546722.6076708, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 42994, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:12:04 +0000 (0:00:00.585) 0:00:00.603 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/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': 42994, 'dev': 32, 'nlink': 1, 'atime': 1659546722.6076708, 'mtime': 1659338446.0, 'ctime': 1659546722.6076708, '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": 1659546722.6076708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659546722.6076708, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 42994, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:12:04 +0000 (0:00:00.036) 0:00:00.639 ****** 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.004144", "end": "2022-08-03 17:12:04.349890", "rc": 0, "start": "2022-08-03 17:12:04.345746" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:12:04 +0000 (0:00:00.516) 0:00:01.156 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.52s /tmp/tmpn6gexhje/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpn6gexhje/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_ipv6_nm.yml **************************************************** 2 plays in /tmp/tmpn6gexhje/tests/network/tests_ipv6_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/tests_ipv6_nm.yml:5 Wednesday 03 August 2022 17:12:04 +0000 (0:00:00.070) 0:00:01.226 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_ipv6_nm.yml:8 Wednesday 03 August 2022 17:12:05 +0000 (0:00:01.041) 0:00:02.268 ****** included: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml for /cache/fedora-35.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:12:05 +0000 (0:00:00.027) 0:00:02.296 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:12:05 +0000 (0:00:00.021) 0:00:02.318 ****** included: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml for /cache/fedora-35.qcow2.snap TASK [Create EPEL 35] ********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:12:05 +0000 (0:00:00.030) 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 17:12:06 +0000 (0:00:00.020) 0:00:02.369 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:12:06 +0000 (0:00:00.019) 0:00:02.388 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:12:06 +0000 (0:00:00.020) 0:00:02.408 ****** 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_ipv6_nm.yml:9 Wednesday 03 August 2022 17:12:06 +0000 (0:00:00.020) 0:00:02.428 ****** 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_ipv6.yml:3 Wednesday 03 August 2022 17:12:06 +0000 (0:00:00.049) 0:00:02.478 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:8 Wednesday 03 August 2022 17:12:06 +0000 (0:00:00.808) 0:00:03.286 ****** 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:12:06 +0000 (0:00:00.030) 0:00:03.317 ****** 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:12:06 +0000 (0:00:00.031) 0:00:03.349 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003562", "end": "2022-08-03 17:12:06.945551", "rc": 0, "start": "2022-08-03 17:12:06.941989" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:12:07 +0000 (0:00:00.398) 0:00:03.747 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:12:07 +0000 (0:00:00.032) 0:00:03.780 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:9 Wednesday 03 August 2022 17:12:07 +0000 (0:00:00.036) 0:00:03.816 ****** 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:12:07 +0000 (0:00:00.041) 0:00:03.858 ****** 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:12:07 +0000 (0:00:00.020) 0:00:03.878 ****** 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:12:07 +0000 (0:00:00.019) 0:00:03.898 ****** 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:12:07 +0000 (0:00:00.030) 0:00:03.928 ****** 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:12:07 +0000 (0:00:00.028) 0:00:03.957 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003333", "end": "2022-08-03 17:12:07.532541", "rc": 0, "start": "2022-08-03 17:12:07.529208" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:12:07 +0000 (0:00:00.375) 0:00:04.333 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:12:08 +0000 (0:00:00.068) 0:00:04.401 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:12:08 +0000 (0:00:00.031) 0:00:04.432 ****** 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:12:10 +0000 (0:00:02.138) 0:00:06.570 ****** 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.008217", "end": "2022-08-03 17:12:10.181955", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 17:12:10.173738" } 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.003598", "end": "2022-08-03 17:12:10.587773", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 17:12:10.584175" } 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.009091", "end": "2022-08-03 17:12:10.995570", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 17:12:10.986479" } 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:12:11 +0000 (0:00:01.234) 0:00:07.805 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022062", "end": "2022-08-03 17:12:11.432076", "rc": 0, "start": "2022-08-03 17:12:11.410014" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:12:11 +0000 (0:00:00.434) 0:00:08.240 ****** 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 17:12:11 +0000 (0:00:00.024) 0:00:08.264 ****** 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:12:11 +0000 (0:00:00.021) 0:00:08.285 ****** 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:12:11 +0000 (0:00:00.020) 0:00:08.306 ****** 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:12:11 +0000 (0:00:00.022) 0:00:08.329 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up gateway ip on veth peer] ****************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:12 Wednesday 03 August 2022 17:12:11 +0000 (0:00:00.023) 0:00:08.352 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "ip netns add ns1\nip link set peerveth0 netns ns1\nip netns exec ns1 ip -6 addr add 2001:db8::1/32 dev peerveth0\nip netns exec ns1 ip link set peerveth0 up\n", "delta": "0:00:00.027748", "end": "2022-08-03 17:12:11.970965", "rc": 0, "start": "2022-08-03 17:12:11.943217" } TASK [TEST: I can configure an interface with static ipv6 config] ************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:22 Wednesday 03 August 2022 17:12:12 +0000 (0:00:00.424) 0:00:08.777 ****** 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:12:12 +0000 (0:00:00.032) 0:00:08.810 ****** 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:12:12 +0000 (0:00:00.036) 0:00:08.847 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [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:12:13 +0000 (0:00:00.531) 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 [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:12:15 +0000 (0:00:02.090) 0:00:11.468 ****** 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:12:16 +0000 (0:00:00.954) 0:00:12.423 ****** 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:12:16 +0000 (0:00:00.099) 0:00:12.522 ****** 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:12:16 +0000 (0:00:00.039) 0:00:12.561 ****** 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:12:16 +0000 (0:00:00.037) 0:00:12.599 ****** 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:12:16 +0000 (0:00:00.077) 0:00:12.676 ****** 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:12:16 +0000 (0:00:00.040) 0:00:12.717 ****** 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:12:16 +0000 (0:00:00.039) 0:00:12.757 ****** 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:12:16 +0000 (0:00:00.054) 0:00:12.812 ****** 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:12:17 +0000 (0:00:00.834) 0:00:13.646 ****** 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:12:17 +0000 (0:00:00.057) 0:00:13.703 ****** 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:12:17 +0000 (0:00:00.038) 0:00:13.741 ****** 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:12:17 +0000 (0:00:00.037) 0:00:13.779 ****** changed: [/cache/fedora-35.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "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, 473a5353-f8c3-4d5d-bace-584c38f54ab4 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 473a5353-f8c3-4d5d-bace-584c38f54ab4 (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 17:12:20 +0000 (0:00:02.714) 0:00:16.494 ****** 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:12:20 +0000 (0:00:00.042) 0:00:16.536 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 473a5353-f8c3-4d5d-bace-584c38f54ab4", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 473a5353-f8c3-4d5d-bace-584c38f54ab4 (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 17:12:20 +0000 (0:00:00.049) 0:00:16.585 ****** 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/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "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, 473a5353-f8c3-4d5d-bace-584c38f54ab4\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 473a5353-f8c3-4d5d-bace-584c38f54ab4 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 473a5353-f8c3-4d5d-bace-584c38f54ab4", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 473a5353-f8c3-4d5d-bace-584c38f54ab4 (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 17:12:20 +0000 (0:00:00.053) 0:00:16.639 ****** 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:12:20 +0000 (0:00:00.042) 0:00:16.682 ****** 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_ipv6.yml:42 Wednesday 03 August 2022 17:12:20 +0000 (0:00:00.537) 0:00:17.220 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:12:20 +0000 (0:00:00.069) 0:00:17.289 ****** 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 17:12:20 +0000 (0:00:00.060) 0:00:17.350 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546730.1781242, "block_size": 4096, "blocks": 0, "ctime": 1659546730.1781242, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33595, "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": 1659546730.1781242, "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 17:12:21 +0000 (0:00:00.404) 0:00:17.754 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:43 Wednesday 03 August 2022 17:12:21 +0000 (0:00:00.047) 0:00:17.802 ****** 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 17:12:21 +0000 (0:00:00.068) 0:00:17.871 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:12:21 +0000 (0:00:00.062) 0:00:17.933 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:12:21 +0000 (0:00:00.122) 0:00:18.056 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546737.815671, "block_size": 4096, "blocks": 8, "ctime": 1659546737.7776709, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 43029, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546737.7776709, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 333, "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 17:12:22 +0000 (0:00:00.418) 0:00:18.475 ****** 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 17:12:22 +0000 (0:00:00.052) 0:00:18.527 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017798", "end": "2022-08-03 17:12:22.119263", "rc": 0, "start": "2022-08-03 17:12:22.101465" } 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 17:12:22 +0000 (0:00:00.410) 0:00:18.938 ****** 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 17:12:22 +0000 (0:00:00.050) 0:00:18.988 ****** 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 17:12:22 +0000 (0:00:00.040) 0:00:19.029 ****** 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 17:12:22 +0000 (0:00:00.040) 0:00:19.069 ****** 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 17:12:22 +0000 (0:00:00.056) 0:00:19.126 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ip address information] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:46 Wednesday 03 August 2022 17:12:22 +0000 (0:00:00.060) 0:00:19.186 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ip", "addr", "show", "veth0" ], "delta": "0:00:00.003744", "end": "2022-08-03 17:12:22.788580", "rc": 0, "start": "2022-08-03 17:12:22.784836" } STDOUT: 67: veth0@if66: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether ae:ce:82:cd:94:92 brd ff:ff:ff:ff:ff:ff link-netns ns1 inet6 2001:db8::4/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 2001:db8::3/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 2001:db8::2/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fe80::51d5:9d11:bc73:9146/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Show ip_addr] ************************************************************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:49 Wednesday 03 August 2022 17:12:23 +0000 (0:00:00.421) 0:00:19.607 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ip_addr.stdout": "67: veth0@if66: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether ae:ce:82:cd:94:92 brd ff:ff:ff:ff:ff:ff link-netns ns1\n inet6 2001:db8::4/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::3/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::2/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 fe80::51d5:9d11:bc73:9146/64 scope link noprefixroute \n valid_lft forever preferred_lft forever" } TASK [Assert ipv6 addresses are correctly set] ********************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:52 Wednesday 03 August 2022 17:12:23 +0000 (0:00:00.148) 0:00:19.756 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:61 Wednesday 03 August 2022 17:12:23 +0000 (0:00:00.052) 0:00:19.808 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003450", "end": "2022-08-03 17:12:23.392368", "rc": 0, "start": "2022-08-03 17:12:23.388918" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/32 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86190sec 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 1590sec hoplimit 64 pref medium TASK [Show ipv6_route] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:64 Wednesday 03 August 2022 17:12:23 +0000 (0:00:00.399) 0:00:20.208 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ipv6_route.stdout": "::1 dev lo proto kernel metric 256 pref medium\n2001:db8::/32 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev veth0 proto kernel metric 101 pref medium\nfec0::/64 dev eth0 proto kernel metric 256 expires 86190sec pref medium\ndefault via 2001:db8::1 dev veth0 proto static metric 101 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 1024 expires 1590sec hoplimit 64 pref medium" } TASK [Assert default ipv6 route is set] **************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:67 Wednesday 03 August 2022 17:12:23 +0000 (0:00:00.050) 0:00:20.259 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Test gateway can be pinged] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:73 Wednesday 03 August 2022 17:12:23 +0000 (0:00:00.051) 0:00:20.310 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ping6", "-c1", "2001:db8::1" ], "delta": "0:00:00.004583", "end": "2022-08-03 17:12:23.895279", "rc": 0, "start": "2022-08-03 17:12:23.890696" } STDOUT: PING 2001:db8::1(2001:db8::1) 56 data bytes 64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.071 ms --- 2001:db8::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.071/0.071/0.071/0.000 ms TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:78 Wednesday 03 August 2022 17:12:24 +0000 (0:00:00.403) 0:00:20.714 ****** 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:12:24 +0000 (0:00:00.047) 0:00:20.761 ****** 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:12:24 +0000 (0:00:00.064) 0:00:20.825 ****** 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:12:25 +0000 (0:00:00.571) 0:00:21.397 ****** 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:12:27 +0000 (0:00:02.020) 0:00:23.417 ****** 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:12:27 +0000 (0:00:00.723) 0:00:24.141 ****** 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:12:27 +0000 (0:00:00.050) 0:00:24.192 ****** 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:12:27 +0000 (0:00:00.042) 0:00:24.234 ****** 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:12:27 +0000 (0:00:00.083) 0:00:24.318 ****** 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:12:28 +0000 (0:00:00.076) 0:00:24.395 ****** 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:12:28 +0000 (0:00:00.042) 0:00:24.437 ****** 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:12:28 +0000 (0:00:00.042) 0:00:24.480 ****** 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:12:28 +0000 (0:00:00.061) 0:00:24.541 ****** 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:12:28 +0000 (0:00:00.599) 0:00:25.141 ****** 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:12:28 +0000 (0:00:00.054) 0:00:25.196 ****** 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:12:28 +0000 (0:00:00.036) 0:00:25.233 ****** 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:12:28 +0000 (0:00:00.035) 0:00:25.268 ****** 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:12:29 +0000 (0:00:00.613) 0:00:25.881 ****** 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:12:29 +0000 (0:00:00.072) 0:00:25.953 ****** 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:12:29 +0000 (0:00:00.049) 0:00:26.003 ****** 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:12:29 +0000 (0:00:00.051) 0:00:26.054 ****** 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:12:29 +0000 (0:00:00.041) 0:00:26.096 ****** 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_ipv6.yml:90 Wednesday 03 August 2022 17:12:30 +0000 (0:00:00.425) 0:00:26.522 ****** 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:12:30 +0000 (0:00:00.073) 0:00:26.595 ****** 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:12:30 +0000 (0:00:00.038) 0:00:26.633 ****** 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:12:30 +0000 (0:00:00.038) 0:00:26.672 ****** 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:12:30 +0000 (0:00:00.061) 0:00:26.734 ****** 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:12:30 +0000 (0:00:00.060) 0:00:26.794 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003477", "end": "2022-08-03 17:12:30.374847", "rc": 0, "start": "2022-08-03 17:12:30.371370" } STDOUT: bonding_masters eth0 lo veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:12:30 +0000 (0:00:00.396) 0:00:27.191 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:12:30 +0000 (0:00:00.050) 0:00:27.242 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:12:30 +0000 (0:00:00.050) 0:00:27.292 ****** 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:12:32 +0000 (0:00:01.971) 0:00:29.263 ****** 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:12:32 +0000 (0:00:00.050) 0:00:29.314 ****** 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:12:32 +0000 (0:00:00.039) 0:00:29.353 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.018185", "end": "2022-08-03 17:12:33.017214", "rc": 0, "start": "2022-08-03 17:12:32.999029" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:12:33 +0000 (0:00:00.481) 0:00:29.834 ****** 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:12:33 +0000 (0:00:00.040) 0:00:29.875 ****** 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:12:33 +0000 (0:00:00.039) 0:00:29.915 ****** 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:12:33 +0000 (0:00:00.040) 0:00:29.956 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up namespace] ****************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:93 Wednesday 03 August 2022 17:12:33 +0000 (0:00:00.039) 0:00:29.995 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "ip", "netns", "delete", "ns1" ], "delta": "0:00:00.004551", "end": "2022-08-03 17:12:33.588013", "rc": 0, "start": "2022-08-03 17:12:33.583462" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=74 changed=11 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0 Wednesday 03 August 2022 17:12:34 +0000 (0:00:00.436) 0:00:30.432 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.71s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install iproute --------------------------------------------------------- 2.14s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 2.09s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.97s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Create veth interface veth0 --------------------------------------------- 1.23s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpn6gexhje/tests/network/tests_ipv6_nm.yml:5 ---------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.83s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:3 --------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.72s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.61s /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.60s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.57s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.54s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.53s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Back up system files ---------------------------------------------------- 0.52s /tmp/tmpn6gexhje/tests/network/_backup.yml:19 --------------------------------- Delete veth interface veth0 --------------------------------------------- 0.48s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:35 --- Clean up namespace ------------------------------------------------------ 0.44s /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:93 -------------------- 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:12:34 +0000 (0:00:00.047) 0:00:30.479 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006637", "end": "2022-08-03 17:12:34.097824", "rc": 0, "start": "2022-08-03 17:12:34.091187" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=75 changed=12 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0 Wednesday 03 August 2022 17:12:34 +0000 (0:00:00.461) 0:00:30.941 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.71s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install iproute --------------------------------------------------------- 2.14s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 2.09s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.97s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Create veth interface veth0 --------------------------------------------- 1.23s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpn6gexhje/tests/network/tests_ipv6_nm.yml:5 ---------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.83s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpn6gexhje/tests/network/playbooks/tests_ipv6.yml:3 --------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.72s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.61s /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.60s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.57s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.54s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.53s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Back up system files ---------------------------------------------------- 0.52s /tmp/tmpn6gexhje/tests/network/_backup.yml:19 --------------------------------- Delete veth interface veth0 --------------------------------------------- 0.48s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:35 --- Restore system files ---------------------------------------------------- 0.46s /tmp/tmpn6gexhje/tests/network/_restore.yml:4 ---------------------------------