ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpxngj32xw executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpcu0yxwd0/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:6 Wednesday 03 August 2022 15:49:34 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659541772.976274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659541772.976274, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 44658, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:13 Wednesday 03 August 2022 15:49:35 +0000 (0:00:00.645) 0:00:00.662 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-36.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 44658, 'dev': 31, 'nlink': 1, 'atime': 1659541772.976274, 'mtime': 1659248396.0, 'ctime': 1659541772.976274, '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": 1659541772.976274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659541772.976274, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 44658, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:19 Wednesday 03 August 2022 15:49:35 +0000 (0:00:00.035) 0:00:00.698 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004026", "end": "2022-08-03 15:49:34.805959", "rc": 0, "start": "2022-08-03 15:49:34.801933" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:49:35 +0000 (0:00:00.541) 0:00:01.239 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.65s /tmp/tmpcu0yxwd0/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.54s /tmp/tmpcu0yxwd0/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpcu0yxwd0/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_ipv6_nm.yml **************************************************** 2 plays in /tmp/tmpcu0yxwd0/tests/tests_ipv6_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/tests_ipv6_nm.yml:5 Wednesday 03 August 2022 15:49:35 +0000 (0:00:00.060) 0:00:01.300 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tests_ipv6_nm.yml:8 Wednesday 03 August 2022 15:49:36 +0000 (0:00:01.090) 0:00:02.391 ****** included: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml for /cache/fedora-36.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:49:36 +0000 (0:00:00.027) 0:00:02.419 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:49:36 +0000 (0:00:00.020) 0:00:02.440 ****** included: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml for /cache/fedora-36.qcow2.snap TASK [Create EPEL 36] ********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:49:36 +0000 (0:00:00.029) 0:00:02.469 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:49:36 +0000 (0:00:00.019) 0:00:02.488 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:49:36 +0000 (0:00:00.021) 0:00:02.509 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:49:36 +0000 (0:00:00.018) 0:00:02.527 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/tests_ipv6_nm.yml:9 Wednesday 03 August 2022 15:49:36 +0000 (0:00:00.020) 0:00:02.548 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:3 Wednesday 03 August 2022 15:49:37 +0000 (0:00:00.050) 0:00:02.598 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:8 Wednesday 03 August 2022 15:49:37 +0000 (0:00:00.824) 0:00:03.422 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:49:37 +0000 (0:00:00.029) 0:00:03.452 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:49:37 +0000 (0:00:00.032) 0:00:03.485 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003681", "end": "2022-08-03 15:49:37.462472", "rc": 0, "start": "2022-08-03 15:49:37.458791" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:49:38 +0000 (0:00:00.408) 0:00:03.893 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:49:38 +0000 (0:00:00.031) 0:00:03.924 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:9 Wednesday 03 August 2022 15:49:38 +0000 (0:00:00.030) 0:00:03.955 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:49:38 +0000 (0:00:00.042) 0:00:03.998 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:49:38 +0000 (0:00:00.025) 0:00:04.023 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:49:38 +0000 (0:00:00.022) 0:00:04.046 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:49:38 +0000 (0:00:00.031) 0:00:04.077 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:49:38 +0000 (0:00:00.030) 0:00:04.107 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004126", "end": "2022-08-03 15:49:38.100323", "rc": 0, "start": "2022-08-03 15:49:38.096197" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:49:38 +0000 (0:00:00.424) 0:00:04.532 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:49:39 +0000 (0:00:00.033) 0:00:04.565 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:49:39 +0000 (0:00:00.065) 0:00:04.631 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:49:41 +0000 (0:00:02.195) 0:00:06.827 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.010538", "end": "2022-08-03 15:49:40.814551", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 15:49:40.804013" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004771", "end": "2022-08-03 15:49:41.259079", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 15:49:41.254308" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007492", "end": "2022-08-03 15:49:41.665241", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 15:49:41.657749" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:49:42 +0000 (0:00:01.270) 0:00:08.097 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.025017", "end": "2022-08-03 15:49:42.101706", "rc": 0, "start": "2022-08-03 15:49:42.076689" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:49:42 +0000 (0:00:00.440) 0:00:08.538 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.023) 0:00:08.561 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.023) 0:00:08.584 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.022) 0:00:08.607 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.023) 0:00:08.630 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up gateway ip on veth peer] ****************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:12 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.021) 0:00:08.651 ****** changed: [/cache/fedora-36.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.039561", "end": "2022-08-03 15:49:42.667771", "rc": 0, "start": "2022-08-03 15:49:42.628210" } TASK [TEST: I can configure an interface with static ipv6 config] ************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:22 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.452) 0:00:09.104 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.032) 0:00:09.137 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:49:43 +0000 (0:00:00.034) 0:00:09.172 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:49:44 +0000 (0:00:00.574) 0:00:09.746 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:49:46 +0000 (0:00:02.184) 0:00:11.931 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:49:47 +0000 (0:00:01.036) 0:00:12.967 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.101) 0:00:13.069 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.042) 0:00:13.111 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.040) 0:00:13.152 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.075) 0:00:13.227 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.040) 0:00:13.267 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.039) 0:00:13.307 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:49:47 +0000 (0:00:00.055) 0:00:13.363 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:49:48 +0000 (0:00:00.850) 0:00:14.214 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:49:48 +0000 (0:00:00.056) 0:00:14.270 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:49:48 +0000 (0:00:00.037) 0:00:14.308 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:49:48 +0000 (0:00:00.037) 0:00:14.345 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/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, 543ed9b5-a9a2-4289-9ef8-b6031987190e [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 543ed9b5-a9a2-4289-9ef8-b6031987190e (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:49:51 +0000 (0:00:02.777) 0:00:17.123 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:49:51 +0000 (0:00:00.042) 0:00:17.166 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 543ed9b5-a9a2-4289-9ef8-b6031987190e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 543ed9b5-a9a2-4289-9ef8-b6031987190e (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:49:51 +0000 (0:00:00.049) 0:00:17.215 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/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, 543ed9b5-a9a2-4289-9ef8-b6031987190e\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 543ed9b5-a9a2-4289-9ef8-b6031987190e (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 543ed9b5-a9a2-4289-9ef8-b6031987190e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 543ed9b5-a9a2-4289-9ef8-b6031987190e (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:49:51 +0000 (0:00:00.047) 0:00:17.263 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:49:51 +0000 (0:00:00.042) 0:00:17.305 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:42 Wednesday 03 August 2022 15:49:52 +0000 (0:00:00.572) 0:00:17.877 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:49:52 +0000 (0:00:00.069) 0:00:17.947 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:49:52 +0000 (0:00:00.060) 0:00:18.007 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541780.810264, "block_size": 4096, "blocks": 0, "ctime": 1659541780.810264, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33358, "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": 1659541780.810264, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:49:52 +0000 (0:00:00.404) 0:00:18.412 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:43 Wednesday 03 August 2022 15:49:52 +0000 (0:00:00.050) 0:00:18.463 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:49:52 +0000 (0:00:00.068) 0:00:18.532 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:49:53 +0000 (0:00:00.060) 0:00:18.592 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:49:53 +0000 (0:00:00.117) 0:00:18.710 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:49:53 +0000 (0:00:00.428) 0:00:19.138 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:49:53 +0000 (0:00:00.038) 0:00:19.177 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021463", "end": "2022-08-03 15:49:53.173947", "rc": 0, "start": "2022-08-03 15:49:53.152484" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.444) 0:00:19.621 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.048) 0:00:19.670 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.035) 0:00:19.706 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.034) 0:00:19.740 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.048) 0:00:19.788 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ip address information] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:46 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.045) 0:00:19.834 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ip", "addr", "show", "veth0" ], "delta": "0:00:00.004229", "end": "2022-08-03 15:49:53.805283", "rc": 0, "start": "2022-08-03 15:49:53.801054" } STDOUT: 67: veth0@if66: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether be:5f:36:4e:d9:c7 brd ff:ff:ff:ff:ff:ff link-netns ns1 inet6 2001:db8::2/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::4/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fe80::3d1c:df0b:5148:5abb/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Show ip_addr] ************************************************************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:49 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.426) 0:00:20.260 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ip_addr.stdout": "67: veth0@if66: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether be:5f:36:4e:d9:c7 brd ff:ff:ff:ff:ff:ff link-netns ns1\n inet6 2001:db8::2/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::4/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 fe80::3d1c:df0b:5148:5abb/64 scope link noprefixroute \n valid_lft forever preferred_lft forever" } TASK [Assert ipv6 addresses are correctly set] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:52 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.049) 0:00:20.310 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:61 Wednesday 03 August 2022 15:49:54 +0000 (0:00:00.147) 0:00:20.457 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003850", "end": "2022-08-03 15:49:54.450732", "rc": 0, "start": "2022-08-03 15:49:54.446882" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/32 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium fec0::/64 dev eth0 proto ra metric 100 pref medium default via fe80::2 dev eth0 proto ra metric 100 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Show ipv6_route] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:64 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.440) 0:00:20.898 ****** ok: [/cache/fedora-36.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 eth0 proto kernel metric 1024 pref medium\nfe80::/64 dev veth0 proto kernel metric 1024 pref medium\nfec0::/64 dev eth0 proto ra metric 100 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 100 pref medium\ndefault via 2001:db8::1 dev veth0 proto static metric 101 pref medium" } TASK [Assert default ipv6 route is set] **************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:67 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.051) 0:00:20.950 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Test gateway can be pinged] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:73 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.060) 0:00:21.011 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ping6", "-c1", "2001:db8::1" ], "delta": "0:00:00.005449", "end": "2022-08-03 15:49:54.997142", "rc": 0, "start": "2022-08-03 15:49:54.991693" } STDOUT: PING 2001:db8::1(2001:db8::1) 56 data bytes 64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.099 ms --- 2001:db8::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.099/0.099/0.099/0.000 ms TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:78 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.435) 0:00:21.446 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:49:55 +0000 (0:00:00.047) 0:00:21.494 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:49:56 +0000 (0:00:00.064) 0:00:21.558 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:49:56 +0000 (0:00:00.585) 0:00:22.143 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:49:58 +0000 (0:00:02.137) 0:00:24.280 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.755) 0:00:25.035 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.118) 0:00:25.154 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.042) 0:00:25.197 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.042) 0:00:25.239 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.076) 0:00:25.316 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.043) 0:00:25.359 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.046) 0:00:25.406 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:49:59 +0000 (0:00:00.056) 0:00:25.463 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.630) 0:00:26.093 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.056) 0:00:26.149 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.037) 0:00:26.187 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:50:00 +0000 (0:00:00.037) 0:00:26.224 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.655) 0:00:26.880 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.042) 0:00:26.923 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.049) 0:00:26.973 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.047) 0:00:27.020 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.040) 0:00:27.061 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:90 Wednesday 03 August 2022 15:50:01 +0000 (0:00:00.449) 0:00:27.510 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.072) 0:00:27.583 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.038) 0:00:27.621 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.037) 0:00:27.659 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.062) 0:00:27.721 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.094) 0:00:27.816 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003629", "end": "2022-08-03 15:50:01.810635", "rc": 0, "start": "2022-08-03 15:50:01.807006" } STDOUT: bonding_masters eth0 lo veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.441) 0:00:28.258 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.051) 0:00:28.310 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:50:02 +0000 (0:00:00.048) 0:00:28.358 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:50:04 +0000 (0:00:02.067) 0:00:30.426 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:50:04 +0000 (0:00:00.050) 0:00:30.476 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:50:04 +0000 (0:00:00.070) 0:00:30.546 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015166", "end": "2022-08-03 15:50:04.550135", "rc": 0, "start": "2022-08-03 15:50:04.534969" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:50:05 +0000 (0:00:00.451) 0:00:30.998 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:50:05 +0000 (0:00:00.037) 0:00:31.035 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:50:05 +0000 (0:00:00.035) 0:00:31.070 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:50:05 +0000 (0:00:00.035) 0:00:31.106 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up namespace] ****************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:93 Wednesday 03 August 2022 15:50:05 +0000 (0:00:00.035) 0:00:31.142 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ip", "netns", "delete", "ns1" ], "delta": "0:00:00.003780", "end": "2022-08-03 15:50:05.120494", "rc": 0, "start": "2022-08-03 15:50:05.116714" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=73 changed=11 unreachable=0 failed=0 skipped=45 rescued=0 ignored=0 Wednesday 03 August 2022 15:50:06 +0000 (0:00:00.451) 0:00:31.593 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.78s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Install iproute --------------------------------------------------------- 2.20s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.18s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.14s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 2.07s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Create veth interface veth0 --------------------------------------------- 1.27s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpcu0yxwd0/tests/tests_ipv6_nm.yml:5 ------------------------------------ linux-system-roles.network : Check which packages are installed --------- 1.04s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.85s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:3 ----------------------------- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.66s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.65s /tmp/tmpcu0yxwd0/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.63s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.59s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.57s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Re-test connectivity ----------------------- 0.57s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Back up system files ---------------------------------------------------- 0.54s /tmp/tmpcu0yxwd0/tests/_backup.yml:19 ----------------------------------------- Set up gateway ip on veth peer ------------------------------------------ 0.45s /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:12 ---------------------------- Delete veth interface veth0 --------------------------------------------- 0.45s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:36 ----------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpcu0yxwd0/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/_restore.yml:4 Wednesday 03 August 2022 15:50:06 +0000 (0:00:00.049) 0:00:31.643 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006773", "end": "2022-08-03 15:50:05.623924", "rc": 0, "start": "2022-08-03 15:50:05.617151" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=74 changed=12 unreachable=0 failed=0 skipped=45 rescued=0 ignored=0 Wednesday 03 August 2022 15:50:06 +0000 (0:00:00.487) 0:00:32.130 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.78s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Install iproute --------------------------------------------------------- 2.20s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which services are running ----------- 2.18s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.14s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 2.07s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Create veth interface veth0 --------------------------------------------- 1.27s /tmp/tmpcu0yxwd0/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpcu0yxwd0/tests/tests_ipv6_nm.yml:5 ------------------------------------ linux-system-roles.network : Check which packages are installed --------- 1.04s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.85s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpcu0yxwd0/tests/playbooks/tests_ipv6.yml:3 ----------------------------- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.66s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.65s /tmp/tmpcu0yxwd0/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.63s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.59s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.57s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Re-test connectivity ----------------------- 0.57s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Back up system files ---------------------------------------------------- 0.54s /tmp/tmpcu0yxwd0/tests/_backup.yml:19 ----------------------------------------- Restore system files ---------------------------------------------------- 0.49s /tmp/tmpcu0yxwd0/tests/_restore.yml:4 ----------------------------------------- Set up gateway ip on veth peer ------------------------------------------ 0.45s /tmp/tmpcu0yxwd0/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/tmpxngj32xw executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpsh02am6p/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:16:42 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659543400.7305512, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659543400.7305512, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 44660, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:16:42 +0000 (0:00:00.624) 0:00:00.642 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-36.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 44660, 'dev': 31, 'nlink': 1, 'atime': 1659543400.7305512, 'mtime': 1659248396.0, 'ctime': 1659543400.7305512, '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": 1659543400.7305512, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659543400.7305512, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 44660, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:16:42 +0000 (0:00:00.039) 0:00:00.682 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003976", "end": "2022-08-03 16:16:42.524481", "rc": 0, "start": "2022-08-03 16:16:42.520505" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:16:43 +0000 (0:00:00.534) 0:00:01.216 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.62s /tmp/tmpsh02am6p/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.53s /tmp/tmpsh02am6p/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpsh02am6p/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_ipv6_nm.yml **************************************************** 2 plays in /tmp/tmpsh02am6p/tests/network/tests_ipv6_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/tests_ipv6_nm.yml:5 Wednesday 03 August 2022 16:16:43 +0000 (0:00:00.071) 0:00:01.288 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tests_ipv6_nm.yml:8 Wednesday 03 August 2022 16:16:44 +0000 (0:00:01.060) 0:00:02.349 ****** included: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml for /cache/fedora-36.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:16:44 +0000 (0:00:00.027) 0:00:02.377 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:16:44 +0000 (0:00:00.021) 0:00:02.398 ****** included: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml for /cache/fedora-36.qcow2.snap TASK [Create EPEL 36] ********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:16:44 +0000 (0:00:00.029) 0:00:02.428 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:16:44 +0000 (0:00:00.020) 0:00:02.448 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:16:44 +0000 (0:00:00.021) 0:00:02.470 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:16:44 +0000 (0:00:00.019) 0:00:02.490 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/tests_ipv6_nm.yml:9 Wednesday 03 August 2022 16:16:44 +0000 (0:00:00.020) 0:00:02.510 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:3 Wednesday 03 August 2022 16:16:44 +0000 (0:00:00.045) 0:00:02.555 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:8 Wednesday 03 August 2022 16:16:45 +0000 (0:00:00.827) 0:00:03.382 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:16:45 +0000 (0:00:00.030) 0:00:03.413 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:16:45 +0000 (0:00:00.030) 0:00:03.443 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003616", "end": "2022-08-03 16:16:45.160303", "rc": 0, "start": "2022-08-03 16:16:45.156687" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:16:45 +0000 (0:00:00.403) 0:00:03.847 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:16:46 +0000 (0:00:00.032) 0:00:03.880 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:9 Wednesday 03 August 2022 16:16:46 +0000 (0:00:00.032) 0:00:03.912 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:16:46 +0000 (0:00:00.041) 0:00:03.954 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:16:46 +0000 (0:00:00.025) 0:00:03.979 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:16:46 +0000 (0:00:00.023) 0:00:04.003 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:16:46 +0000 (0:00:00.032) 0:00:04.036 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:16:46 +0000 (0:00:00.031) 0:00:04.067 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003734", "end": "2022-08-03 16:16:45.810432", "rc": 0, "start": "2022-08-03 16:16:45.806698" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:16:46 +0000 (0:00:00.429) 0:00:04.496 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:16:46 +0000 (0:00:00.033) 0:00:04.530 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:16:46 +0000 (0:00:00.034) 0:00:04.564 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:16:48 +0000 (0:00:02.181) 0:00:06.746 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.005800", "end": "2022-08-03 16:16:48.492032", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:16:48.486232" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004088", "end": "2022-08-03 16:16:48.869534", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:16:48.865446" } changed: [/cache/fedora-36.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.014373", "end": "2022-08-03 16:16:49.261379", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:16:49.247006" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:16:50 +0000 (0:00:01.211) 0:00:07.957 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.027195", "end": "2022-08-03 16:16:49.747659", "rc": 0, "start": "2022-08-03 16:16:49.720464" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:16:50 +0000 (0:00:00.479) 0:00:08.437 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:16:50 +0000 (0:00:00.024) 0:00:08.462 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:16:50 +0000 (0:00:00.023) 0:00:08.485 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:16:50 +0000 (0:00:00.022) 0:00:08.508 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:16:50 +0000 (0:00:00.020) 0:00:08.528 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up gateway ip on veth peer] ****************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:12 Wednesday 03 August 2022 16:16:50 +0000 (0:00:00.020) 0:00:08.548 ****** changed: [/cache/fedora-36.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.037781", "end": "2022-08-03 16:16:50.323332", "rc": 0, "start": "2022-08-03 16:16:50.285551" } TASK [TEST: I can configure an interface with static ipv6 config] ************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:22 Wednesday 03 August 2022 16:16:51 +0000 (0:00:00.465) 0:00:09.014 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:16:51 +0000 (0:00:00.064) 0:00:09.079 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:16:51 +0000 (0:00:00.037) 0:00:09.117 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:16:51 +0000 (0:00:00.606) 0:00:09.723 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:16:54 +0000 (0:00:02.187) 0:00:11.911 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:16:55 +0000 (0:00:01.054) 0:00:12.966 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:16:55 +0000 (0:00:00.081) 0:00:13.048 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:16:55 +0000 (0:00:00.070) 0:00:13.118 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:16:55 +0000 (0:00:00.043) 0:00:13.161 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:16:55 +0000 (0:00:00.079) 0:00:13.241 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:16:55 +0000 (0:00:00.040) 0:00:13.281 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:16:55 +0000 (0:00:00.039) 0:00:13.321 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:16:55 +0000 (0:00:00.052) 0:00:13.374 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:16:56 +0000 (0:00:00.841) 0:00:14.215 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:16:56 +0000 (0:00:00.056) 0:00:14.272 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:16:56 +0000 (0:00:00.038) 0:00:14.311 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:16:56 +0000 (0:00:00.036) 0:00:14.348 ****** changed: [/cache/fedora-36.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, 007f36ef-b053-4a03-9e85-622e6f5ca869 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 007f36ef-b053-4a03-9e85-622e6f5ca869 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:16:58 +0000 (0:00:02.198) 0:00:16.546 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:16:58 +0000 (0:00:00.043) 0:00:16.589 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 007f36ef-b053-4a03-9e85-622e6f5ca869", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 007f36ef-b053-4a03-9e85-622e6f5ca869 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:16:58 +0000 (0:00:00.052) 0:00:16.642 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/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, 007f36ef-b053-4a03-9e85-622e6f5ca869\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 007f36ef-b053-4a03-9e85-622e6f5ca869 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 007f36ef-b053-4a03-9e85-622e6f5ca869", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 007f36ef-b053-4a03-9e85-622e6f5ca869 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:16:58 +0000 (0:00:00.050) 0:00:16.692 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:16:58 +0000 (0:00:00.044) 0:00:16.737 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:42 Wednesday 03 August 2022 16:16:59 +0000 (0:00:00.596) 0:00:17.333 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:16:59 +0000 (0:00:00.072) 0:00:17.406 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:16:59 +0000 (0:00:00.060) 0:00:17.466 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659543408.4905996, "block_size": 4096, "blocks": 0, "ctime": 1659543408.4905996, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33358, "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": 1659543408.4905996, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:17:00 +0000 (0:00:00.417) 0:00:17.884 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:43 Wednesday 03 August 2022 16:17:00 +0000 (0:00:00.046) 0:00:17.930 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:17:00 +0000 (0:00:00.067) 0:00:17.998 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:17:00 +0000 (0:00:00.061) 0:00:18.059 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:17:00 +0000 (0:00:00.048) 0:00:18.108 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:17:00 +0000 (0:00:00.460) 0:00:18.568 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:17:00 +0000 (0:00:00.038) 0:00:18.607 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020082", "end": "2022-08-03 16:17:00.362476", "rc": 0, "start": "2022-08-03 16:17:00.342394" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:17:01 +0000 (0:00:00.458) 0:00:19.066 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:17:01 +0000 (0:00:00.048) 0:00:19.114 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:17:01 +0000 (0:00:00.040) 0:00:19.155 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:17:01 +0000 (0:00:00.039) 0:00:19.195 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:17:01 +0000 (0:00:00.055) 0:00:19.250 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ip address information] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:46 Wednesday 03 August 2022 16:17:01 +0000 (0:00:00.055) 0:00:19.306 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ip", "addr", "show", "veth0" ], "delta": "0:00:00.004141", "end": "2022-08-03 16:17:01.038545", "rc": 0, "start": "2022-08-03 16:17:01.034404" } STDOUT: 67: veth0@if66: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether be:5f:36:4e:d9:c7 brd ff:ff:ff:ff:ff:ff link-netns ns1 inet6 2001:db8::2/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::4/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fe80::e510:7ad5:1e91:a96f/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Show ip_addr] ************************************************************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:49 Wednesday 03 August 2022 16:17:01 +0000 (0:00:00.436) 0:00:19.742 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ip_addr.stdout": "67: veth0@if66: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether be:5f:36:4e:d9:c7 brd ff:ff:ff:ff:ff:ff link-netns ns1\n inet6 2001:db8::2/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::4/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 fe80::e510:7ad5:1e91:a96f/64 scope link noprefixroute \n valid_lft forever preferred_lft forever" } TASK [Assert ipv6 addresses are correctly set] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:52 Wednesday 03 August 2022 16:17:01 +0000 (0:00:00.047) 0:00:19.790 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:61 Wednesday 03 August 2022 16:17:01 +0000 (0:00:00.050) 0:00:19.841 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003770", "end": "2022-08-03 16:17:01.555701", "rc": 0, "start": "2022-08-03 16:17:01.551931" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/32 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium fec0::/64 dev eth0 proto ra metric 100 pref medium default via fe80::2 dev eth0 proto ra metric 100 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Show ipv6_route] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:64 Wednesday 03 August 2022 16:17:02 +0000 (0:00:00.434) 0:00:20.275 ****** ok: [/cache/fedora-36.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 eth0 proto kernel metric 1024 pref medium\nfe80::/64 dev veth0 proto kernel metric 1024 pref medium\nfec0::/64 dev eth0 proto ra metric 100 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 100 pref medium\ndefault via 2001:db8::1 dev veth0 proto static metric 101 pref medium" } TASK [Assert default ipv6 route is set] **************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:67 Wednesday 03 August 2022 16:17:02 +0000 (0:00:00.047) 0:00:20.323 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Test gateway can be pinged] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:73 Wednesday 03 August 2022 16:17:02 +0000 (0:00:00.048) 0:00:20.372 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ping6", "-c1", "2001:db8::1" ], "delta": "0:00:00.004773", "end": "2022-08-03 16:17:02.089431", "rc": 0, "start": "2022-08-03 16:17:02.084658" } STDOUT: PING 2001:db8::1(2001:db8::1) 56 data bytes 64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.091 ms --- 2001:db8::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.091/0.091/0.091/0.000 ms TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:78 Wednesday 03 August 2022 16:17:02 +0000 (0:00:00.418) 0:00:20.791 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:17:02 +0000 (0:00:00.048) 0:00:20.839 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:17:03 +0000 (0:00:00.065) 0:00:20.904 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:17:03 +0000 (0:00:00.575) 0:00:21.480 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:17:05 +0000 (0:00:02.111) 0:00:23.591 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:17:06 +0000 (0:00:00.771) 0:00:24.362 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:17:06 +0000 (0:00:00.057) 0:00:24.420 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:17:06 +0000 (0:00:00.042) 0:00:24.463 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:17:06 +0000 (0:00:00.074) 0:00:24.537 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:17:06 +0000 (0:00:00.078) 0:00:24.616 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:17:06 +0000 (0:00:00.042) 0:00:24.659 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:17:06 +0000 (0:00:00.042) 0:00:24.701 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:17:06 +0000 (0:00:00.060) 0:00:24.762 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:17:07 +0000 (0:00:00.614) 0:00:25.376 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:17:07 +0000 (0:00:00.057) 0:00:25.434 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:17:07 +0000 (0:00:00.038) 0:00:25.472 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:17:07 +0000 (0:00:00.038) 0:00:25.511 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:17:08 +0000 (0:00:00.627) 0:00:26.138 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:17:08 +0000 (0:00:00.076) 0:00:26.214 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:17:08 +0000 (0:00:00.052) 0:00:26.267 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:17:08 +0000 (0:00:00.052) 0:00:26.319 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:17:08 +0000 (0:00:00.041) 0:00:26.360 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:90 Wednesday 03 August 2022 16:17:08 +0000 (0:00:00.445) 0:00:26.806 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-36.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:17:09 +0000 (0:00:00.070) 0:00:26.877 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:17:09 +0000 (0:00:00.036) 0:00:26.913 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:17:09 +0000 (0:00:00.036) 0:00:26.950 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:17:09 +0000 (0:00:00.059) 0:00:27.009 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:17:09 +0000 (0:00:00.058) 0:00:27.068 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003584", "end": "2022-08-03 16:17:08.847161", "rc": 0, "start": "2022-08-03 16:17:08.843577" } STDOUT: bonding_masters eth0 lo veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:17:09 +0000 (0:00:00.484) 0:00:27.552 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:17:09 +0000 (0:00:00.048) 0:00:27.600 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:17:09 +0000 (0:00:00.046) 0:00:27.646 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:17:11 +0000 (0:00:02.040) 0:00:29.686 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:17:11 +0000 (0:00:00.049) 0:00:29.736 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:17:11 +0000 (0:00:00.068) 0:00:29.805 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.017910", "end": "2022-08-03 16:17:11.539243", "rc": 0, "start": "2022-08-03 16:17:11.521333" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:17:12 +0000 (0:00:00.443) 0:00:30.248 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:17:12 +0000 (0:00:00.052) 0:00:30.300 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:17:12 +0000 (0:00:00.037) 0:00:30.338 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:17:12 +0000 (0:00:00.036) 0:00:30.375 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up namespace] ****************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:93 Wednesday 03 August 2022 16:17:12 +0000 (0:00:00.035) 0:00:30.410 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "ip", "netns", "delete", "ns1" ], "delta": "0:00:00.006458", "end": "2022-08-03 16:17:12.131142", "rc": 0, "start": "2022-08-03 16:17:12.124684" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=73 changed=11 unreachable=0 failed=0 skipped=45 rescued=0 ignored=0 Wednesday 03 August 2022 16:17:13 +0000 (0:00:00.447) 0:00:30.858 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.20s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 2.19s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 2.18s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 2.04s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Create veth interface veth0 --------------------------------------------- 1.21s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmpsh02am6p/tests/network/tests_ipv6_nm.yml:5 ---------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.84s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:3 --------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.63s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.62s /tmp/tmpsh02am6p/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.61s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.61s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.60s /tmp/tmpxngj32xw/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.58s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Back up system files ---------------------------------------------------- 0.53s /tmp/tmpsh02am6p/tests/network/_backup.yml:19 --------------------------------- Gather current interface info ------------------------------------------- 0.48s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 --- Set up veth as managed by NetworkManager -------------------------------- 0.48s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:28 --- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpsh02am6p/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:17:13 +0000 (0:00:00.048) 0:00:30.906 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007148", "end": "2022-08-03 16:17:12.634455", "rc": 0, "start": "2022-08-03 16:17:12.627307" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=74 changed=12 unreachable=0 failed=0 skipped=45 rescued=0 ignored=0 Wednesday 03 August 2022 16:17:13 +0000 (0:00:00.492) 0:00:31.399 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.20s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 2.19s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 2.18s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 2.04s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Create veth interface veth0 --------------------------------------------- 1.21s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmpsh02am6p/tests/network/tests_ipv6_nm.yml:5 ---------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.84s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpsh02am6p/tests/network/playbooks/tests_ipv6.yml:3 --------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.63s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.62s /tmp/tmpsh02am6p/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.61s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.61s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.60s /tmp/tmpxngj32xw/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.58s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Back up system files ---------------------------------------------------- 0.53s /tmp/tmpsh02am6p/tests/network/_backup.yml:19 --------------------------------- Restore system files ---------------------------------------------------- 0.49s /tmp/tmpsh02am6p/tests/network/_restore.yml:4 --------------------------------- Gather current interface info ------------------------------------------- 0.48s /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 ---