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/tmp40vowjjo 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/tmp05ac0kav/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:6 Wednesday 03 August 2022 16:15:31 +0000 (0:00:00.019) 0:00:00.019 ****** ok: [/cache/centos-9.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": 1659543330.1969354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543330.1969354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1127737525", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp05ac0kav/tests/_backup.yml:13 Wednesday 03 August 2022 16:15:32 +0000 (0:00:00.599) 0:00:00.618 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-9.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 4210438, 'dev': 64513, 'nlink': 1, 'atime': 1659543330.1969354, 'mtime': 1659542505.0, 'ctime': 1659543330.1969354, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '1127737525', '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": 1659543330.1969354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543330.1969354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1127737525", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:19 Wednesday 03 August 2022 16:15:32 +0000 (0:00:00.036) 0:00:00.654 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003335", "end": "2022-08-03 12:15:31.930813", "rc": 0, "start": "2022-08-03 12:15:31.927478" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:15:32 +0000 (0:00:00.479) 0:00:01.134 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.48s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_ipv6_nm.yml **************************************************** 2 plays in /tmp/tmp05ac0kav/tests/tests_ipv6_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/tests_ipv6_nm.yml:5 Wednesday 03 August 2022 16:15:32 +0000 (0:00:00.059) 0:00:01.193 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tests_ipv6_nm.yml:8 Wednesday 03 August 2022 16:15:33 +0000 (0:00:01.020) 0:00:02.214 ****** included: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:15:33 +0000 (0:00:00.024) 0:00:02.239 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:15:33 +0000 (0:00:00.019) 0:00:02.259 ****** included: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:15:33 +0000 (0:00:00.026) 0:00:02.285 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:15:33 +0000 (0:00:00.018) 0:00:02.303 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:15:33 +0000 (0:00:00.018) 0:00:02.321 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:15:33 +0000 (0:00:00.018) 0:00:02.340 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp05ac0kav/tests/tests_ipv6_nm.yml:9 Wednesday 03 August 2022 16:15:33 +0000 (0:00:00.018) 0:00:02.358 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:3 Wednesday 03 August 2022 16:15:33 +0000 (0:00:00.043) 0:00:02.401 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:8 Wednesday 03 August 2022 16:15:34 +0000 (0:00:00.767) 0:00:03.168 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:15:34 +0000 (0:00:00.027) 0:00:03.196 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:15:34 +0000 (0:00:00.026) 0:00:03.223 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003087", "end": "2022-08-03 12:15:34.374988", "rc": 0, "start": "2022-08-03 12:15:34.371901" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:15:34 +0000 (0:00:00.352) 0:00:03.575 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:15:35 +0000 (0:00:00.033) 0:00:03.609 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:9 Wednesday 03 August 2022 16:15:35 +0000 (0:00:00.031) 0:00:03.640 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-9.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:15:35 +0000 (0:00:00.033) 0:00:03.673 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:15:35 +0000 (0:00:00.022) 0:00:03.696 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:15:35 +0000 (0:00:00.027) 0:00:03.723 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:15:35 +0000 (0:00:00.032) 0:00:03.755 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:15:35 +0000 (0:00:00.029) 0:00:03.784 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002840", "end": "2022-08-03 12:15:34.940860", "rc": 0, "start": "2022-08-03 12:15:34.938020" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:15:35 +0000 (0:00:00.356) 0:00:04.141 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:15:35 +0000 (0:00:00.032) 0:00:04.173 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:15:35 +0000 (0:00:00.033) 0:00:04.206 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:15:36 +0000 (0:00:00.984) 0:00:05.190 ****** changed: [/cache/centos-9.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.004283", "end": "2022-08-03 12:15:36.364273", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 12:15:36.359990" } changed: [/cache/centos-9.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003205", "end": "2022-08-03 12:15:36.710763", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 12:15:36.707558" } changed: [/cache/centos-9.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005909", "end": "2022-08-03 12:15:37.047899", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 12:15:37.041990" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:15:37 +0000 (0:00:01.057) 0:00:06.248 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.018538", "end": "2022-08-03 12:15:37.421176", "rc": 0, "start": "2022-08-03 12:15:37.402638" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:15:38 +0000 (0:00:00.374) 0:00:06.622 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:15:38 +0000 (0:00:00.023) 0:00:06.646 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:15:38 +0000 (0:00:00.020) 0:00:06.667 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:15:38 +0000 (0:00:00.020) 0:00:06.687 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:15:38 +0000 (0:00:00.019) 0:00:06.707 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up gateway ip on veth peer] ****************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:12 Wednesday 03 August 2022 16:15:38 +0000 (0:00:00.019) 0:00:06.726 ****** changed: [/cache/centos-9.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.031764", "end": "2022-08-03 12:15:37.923176", "rc": 0, "start": "2022-08-03 12:15:37.891412" } TASK [TEST: I can configure an interface with static ipv6 config] ************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:22 Wednesday 03 August 2022 16:15:38 +0000 (0:00:00.398) 0:00:07.124 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:15:38 +0000 (0:00:00.029) 0:00:07.154 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:15:38 +0000 (0:00:00.031) 0:00:07.185 ****** ok: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:15:39 +0000 (0:00:00.521) 0:00:07.707 ****** ok: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:15:40 +0000 (0:00:01.594) 0:00:09.301 ****** ok: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:15:41 +0000 (0:00:01.010) 0:00:10.311 ****** ok: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:15:41 +0000 (0:00:00.043) 0:00:10.355 ****** skipping: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:15:41 +0000 (0:00:00.037) 0:00:10.393 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:15:41 +0000 (0:00:00.035) 0:00:10.428 ****** skipping: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:15:41 +0000 (0:00:00.068) 0:00:10.497 ****** skipping: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:15:41 +0000 (0:00:00.039) 0:00:10.536 ****** skipping: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:15:42 +0000 (0:00:00.040) 0:00:10.577 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:15:42 +0000 (0:00:00.055) 0:00:10.632 ****** ok: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:15:42 +0000 (0:00:00.826) 0:00:11.459 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:15:42 +0000 (0:00:00.051) 0:00:11.510 ****** skipping: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:15:42 +0000 (0:00:00.030) 0:00:11.541 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:15:42 +0000 (0:00:00.031) 0:00:11.572 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.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, 90df2788-e4d6-407f-9d1f-4a920299634e [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 90df2788-e4d6-407f-9d1f-4a920299634e (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:15:45 +0000 (0:00:02.451) 0:00:14.024 ****** skipping: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:15:45 +0000 (0:00:00.040) 0:00:14.065 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 90df2788-e4d6-407f-9d1f-4a920299634e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 90df2788-e4d6-407f-9d1f-4a920299634e (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:15:45 +0000 (0:00:00.074) 0:00:14.139 ****** ok: [/cache/centos-9.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, 90df2788-e4d6-407f-9d1f-4a920299634e\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 90df2788-e4d6-407f-9d1f-4a920299634e (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 90df2788-e4d6-407f-9d1f-4a920299634e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 90df2788-e4d6-407f-9d1f-4a920299634e (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:15:45 +0000 (0:00:00.081) 0:00:14.221 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:15:45 +0000 (0:00:00.039) 0:00:14.260 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:42 Wednesday 03 August 2022 16:15:46 +0000 (0:00:00.479) 0:00:14.740 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:15:46 +0000 (0:00:00.063) 0:00:14.804 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:15:46 +0000 (0:00:00.053) 0:00:14.857 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659543336.363755, "block_size": 4096, "blocks": 0, "ctime": 1659543336.363755, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31244, "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": 1659543336.363755, "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/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:15:46 +0000 (0:00:00.370) 0:00:15.227 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:43 Wednesday 03 August 2022 16:15:46 +0000 (0:00:00.048) 0:00:15.275 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:15:46 +0000 (0:00:00.063) 0:00:15.339 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:15:46 +0000 (0:00:00.054) 0:00:15.393 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:15:46 +0000 (0:00:00.115) 0:00:15.509 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659543343.0859354, "block_size": 4096, "blocks": 8, "ctime": 1659543343.0559354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941520, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659543343.0559354, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 326, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:15:47 +0000 (0:00:00.380) 0:00:15.889 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:15:47 +0000 (0:00:00.046) 0:00:15.935 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017145", "end": "2022-08-03 12:15:47.117723", "rc": 0, "start": "2022-08-03 12:15:47.100578" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:15:47 +0000 (0:00:00.394) 0:00:16.330 ****** ok: [/cache/centos-9.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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:15:47 +0000 (0:00:00.045) 0:00:16.376 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:15:47 +0000 (0:00:00.034) 0:00:16.410 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:15:47 +0000 (0:00:00.033) 0:00:16.443 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:15:47 +0000 (0:00:00.043) 0:00:16.487 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ip address information] ********************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:46 Wednesday 03 August 2022 16:15:47 +0000 (0:00:00.048) 0:00:16.535 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ip", "addr", "show", "veth0" ], "delta": "0:00:00.003461", "end": "2022-08-03 12:15:47.698110", "rc": 0, "start": "2022-08-03 12:15:47.694649" } STDOUT: 63: veth0@if62: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether be:00:7b:86:f5:70 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::b801:cd5f:4694:42af/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Show ip_addr] ************************************************************ task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:49 Wednesday 03 August 2022 16:15:48 +0000 (0:00:00.379) 0:00:16.915 ****** ok: [/cache/centos-9.qcow2.snap] => { "ip_addr.stdout": "63: veth0@if62: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether be:00:7b:86:f5:70 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::b801:cd5f:4694:42af/64 scope link noprefixroute \n valid_lft forever preferred_lft forever" } TASK [Assert ipv6 addresses are correctly set] ********************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:52 Wednesday 03 August 2022 16:15:48 +0000 (0:00:00.046) 0:00:16.962 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:61 Wednesday 03 August 2022 16:15:48 +0000 (0:00:00.048) 0:00:17.010 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.002986", "end": "2022-08-03 12:15:48.179215", "rc": 0, "start": "2022-08-03 12:15:48.176229" } 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 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86087sec pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1487sec hoplimit 64 pref medium TASK [Show ipv6_route] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:64 Wednesday 03 August 2022 16:15:48 +0000 (0:00:00.379) 0:00:17.389 ****** ok: [/cache/centos-9.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 256 pref medium\nfe80::/64 dev veth0 proto kernel metric 1024 pref medium\nfec0::/64 dev eth0 proto kernel metric 256 expires 86087sec pref medium\ndefault via 2001:db8::1 dev veth0 proto static metric 101 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 1024 expires 1487sec hoplimit 64 pref medium" } TASK [Assert default ipv6 route is set] **************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:67 Wednesday 03 August 2022 16:15:48 +0000 (0:00:00.048) 0:00:17.437 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Test gateway can be pinged] ********************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:73 Wednesday 03 August 2022 16:15:48 +0000 (0:00:00.046) 0:00:17.484 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping6", "-c1", "2001:db8::1" ], "delta": "0:00:00.003824", "end": "2022-08-03 12:15:48.647271", "rc": 0, "start": "2022-08-03 12:15:48.643447" } STDOUT: PING 2001:db8::1(2001:db8::1) 56 data bytes 64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.057 ms --- 2001:db8::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.057/0.057/0.057/0.000 ms TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:78 Wednesday 03 August 2022 16:15:49 +0000 (0:00:00.374) 0:00:17.858 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:15:49 +0000 (0:00:00.047) 0:00:17.906 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:15:49 +0000 (0:00:00.068) 0:00:17.974 ****** ok: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:15:49 +0000 (0:00:00.521) 0:00:18.496 ****** ok: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:15:51 +0000 (0:00:01.447) 0:00:19.943 ****** ok: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:15:52 +0000 (0:00:00.714) 0:00:20.658 ****** ok: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:15:52 +0000 (0:00:00.043) 0:00:20.701 ****** skipping: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:15:52 +0000 (0:00:00.040) 0:00:20.742 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:15:52 +0000 (0:00:00.040) 0:00:20.782 ****** skipping: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:15:52 +0000 (0:00:00.073) 0:00:20.856 ****** skipping: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:15:52 +0000 (0:00:00.041) 0:00:20.897 ****** skipping: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:15:52 +0000 (0:00:00.036) 0:00:20.934 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:15:52 +0000 (0:00:00.051) 0:00:20.985 ****** ok: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:15:52 +0000 (0:00:00.547) 0:00:21.533 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:15:53 +0000 (0:00:00.055) 0:00:21.589 ****** skipping: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:15:53 +0000 (0:00:00.033) 0:00:21.623 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:15:53 +0000 (0:00:00.033) 0:00:21.657 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:15:53 +0000 (0:00:00.577) 0:00:22.235 ****** skipping: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:15:53 +0000 (0:00:00.036) 0:00:22.271 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:15:53 +0000 (0:00:00.043) 0:00:22.315 ****** ok: [/cache/centos-9.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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:15:53 +0000 (0:00:00.048) 0:00:22.363 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:15:53 +0000 (0:00:00.038) 0:00:22.402 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:90 Wednesday 03 August 2022 16:15:54 +0000 (0:00:00.392) 0:00:22.794 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-9.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:15:54 +0000 (0:00:00.063) 0:00:22.857 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:15:54 +0000 (0:00:00.071) 0:00:22.928 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:15:54 +0000 (0:00:00.034) 0:00:22.963 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:15:54 +0000 (0:00:00.059) 0:00:23.022 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:15:54 +0000 (0:00:00.061) 0:00:23.084 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005985", "end": "2022-08-03 12:15:54.303225", "rc": 0, "start": "2022-08-03 12:15:54.297240" } STDOUT: bonding_masters eth0 lo veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:15:54 +0000 (0:00:00.489) 0:00:23.573 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:15:55 +0000 (0:00:00.056) 0:00:23.630 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:15:55 +0000 (0:00:00.056) 0:00:23.687 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:15:55 +0000 (0:00:00.853) 0:00:24.540 ****** skipping: [/cache/centos-9.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/centos-9.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/centos-9.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/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:15:56 +0000 (0:00:00.050) 0:00:24.591 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:15:56 +0000 (0:00:00.041) 0:00:24.632 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012497", "end": "2022-08-03 12:15:55.847674", "rc": 0, "start": "2022-08-03 12:15:55.835177" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:15:56 +0000 (0:00:00.428) 0:00:25.060 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:15:56 +0000 (0:00:00.036) 0:00:25.097 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:15:56 +0000 (0:00:00.036) 0:00:25.134 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:15:56 +0000 (0:00:00.032) 0:00:25.167 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up namespace] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:93 Wednesday 03 August 2022 16:15:56 +0000 (0:00:00.032) 0:00:25.199 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ip", "netns", "delete", "ns1" ], "delta": "0:00:00.004453", "end": "2022-08-03 12:15:56.380997", "rc": 0, "start": "2022-08-03 12:15:56.376544" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=74 changed=11 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0 Wednesday 03 August 2022 16:15:57 +0000 (0:00:00.423) 0:00:25.623 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.45s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.59s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.45s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface veth0 --------------------------------------------- 1.06s /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp05ac0kav/tests/tests_ipv6_nm.yml:5 ------------------------------------ linux-system-roles.network : Check which packages are installed --------- 1.01s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install iproute --------------------------------------------------------- 0.98s /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 0.85s /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.83s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:3 ----------------------------- linux-system-roles.network : Check which packages are installed --------- 0.71s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Configure networking connection profiles --- 0.58s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.55s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.52s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.52s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Gather current interface info ------------------------------------------- 0.49s /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:3 ----------- linux-system-roles.network : Re-test connectivity ----------------------- 0.48s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Back up system files ---------------------------------------------------- 0.48s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Delete veth interface veth0 --------------------------------------------- 0.43s /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:36 ----------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp05ac0kav/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_restore.yml:4 Wednesday 03 August 2022 16:15:57 +0000 (0:00:00.042) 0:00:25.665 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005295", "end": "2022-08-03 12:15:56.821602", "rc": 0, "start": "2022-08-03 12:15:56.816307" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=75 changed=12 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0 Wednesday 03 August 2022 16:15:57 +0000 (0:00:00.388) 0:00:26.054 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.45s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.59s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.45s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface veth0 --------------------------------------------- 1.06s /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp05ac0kav/tests/tests_ipv6_nm.yml:5 ------------------------------------ linux-system-roles.network : Check which packages are installed --------- 1.01s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install iproute --------------------------------------------------------- 0.98s /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 0.85s /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.83s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmp05ac0kav/tests/playbooks/tests_ipv6.yml:3 ----------------------------- linux-system-roles.network : Check which packages are installed --------- 0.71s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Configure networking connection profiles --- 0.58s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.55s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.52s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.52s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Gather current interface info ------------------------------------------- 0.49s /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:3 ----------- linux-system-roles.network : Re-test connectivity ----------------------- 0.48s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Back up system files ---------------------------------------------------- 0.48s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Delete veth interface veth0 --------------------------------------------- 0.43s /tmp/tmp05ac0kav/tests/playbooks/tasks/manage_test_interface.yml:36 ----------- 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/tmp40vowjjo 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/tmpem3y1lsc/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-9.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": 1659544600.0009024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544600.0009024, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210118, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "561080186", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:36:42 +0000 (0:00:00.592) 0:00:00.610 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-9.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 4210118, 'dev': 64513, 'nlink': 1, 'atime': 1659544600.0009024, 'mtime': 1659543778.0, 'ctime': 1659544600.0009024, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '561080186', '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": 1659544600.0009024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544600.0009024, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210118, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "561080186", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:36:42 +0000 (0:00:00.036) 0:00:00.647 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004162", "end": "2022-08-03 12:36:41.734913", "rc": 0, "start": "2022-08-03 12:36:41.730751" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:36:42 +0000 (0:00:00.497) 0:00:01.145 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_ipv6_nm.yml **************************************************** 2 plays in /tmp/tmpem3y1lsc/tests/network/tests_ipv6_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/tests_ipv6_nm.yml:5 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.072) 0:00:01.217 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_ipv6_nm.yml:8 Wednesday 03 August 2022 16:36:44 +0000 (0:00:01.028) 0:00:02.246 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.027) 0:00:02.273 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.021) 0:00:02.295 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.029) 0:00:02.324 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.020) 0:00:02.344 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.020) 0:00:02.365 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.021) 0:00:02.386 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_ipv6_nm.yml:9 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.021) 0:00:02.407 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:3 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.048) 0:00:02.456 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:8 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.791) 0:00:03.248 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.029) 0:00:03.278 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.029) 0:00:03.307 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003875", "end": "2022-08-03 12:36:44.279858", "rc": 0, "start": "2022-08-03 12:36:44.275983" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.375) 0:00:03.683 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.039) 0:00:03.723 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:9 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.039) 0:00:03.762 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-9.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.036) 0:00:03.798 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.022) 0:00:03.821 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.024) 0:00:03.845 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.032) 0:00:03.878 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.033) 0:00:03.911 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003750", "end": "2022-08-03 12:36:44.887365", "rc": 0, "start": "2022-08-03 12:36:44.883615" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:36:46 +0000 (0:00:00.380) 0:00:04.291 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:36:46 +0000 (0:00:00.033) 0:00:04.325 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:36:46 +0000 (0:00:00.032) 0:00:04.358 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:36:47 +0000 (0:00:00.987) 0:00:05.345 ****** changed: [/cache/centos-9.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.006847", "end": "2022-08-03 12:36:46.311331", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 12:36:46.304484" } changed: [/cache/centos-9.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003159", "end": "2022-08-03 12:36:46.649534", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 12:36:46.646375" } changed: [/cache/centos-9.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.006548", "end": "2022-08-03 12:36:47.027065", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 12:36:47.020517" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:36:48 +0000 (0:00:01.087) 0:00:06.432 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.019472", "end": "2022-08-03 12:36:47.421283", "rc": 0, "start": "2022-08-03 12:36:47.401811" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:36:48 +0000 (0:00:00.390) 0:00:06.822 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:36:48 +0000 (0:00:00.022) 0:00:06.845 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:36:48 +0000 (0:00:00.024) 0:00:06.869 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:36:48 +0000 (0:00:00.023) 0:00:06.892 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:36:48 +0000 (0:00:00.022) 0:00:06.915 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up gateway ip on veth peer] ****************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:12 Wednesday 03 August 2022 16:36:48 +0000 (0:00:00.021) 0:00:06.936 ****** changed: [/cache/centos-9.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.024177", "end": "2022-08-03 12:36:47.924194", "rc": 0, "start": "2022-08-03 12:36:47.900017" } TASK [TEST: I can configure an interface with static ipv6 config] ************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:22 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.386) 0:00:07.323 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.073) 0:00:07.396 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.034) 0:00:07.430 ****** ok: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.504) 0:00:07.935 ****** ok: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:36:51 +0000 (0:00:01.606) 0:00:09.541 ****** ok: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:36:52 +0000 (0:00:01.027) 0:00:10.568 ****** ok: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:36:52 +0000 (0:00:00.045) 0:00:10.614 ****** skipping: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:36:52 +0000 (0:00:00.037) 0:00:10.651 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:36:52 +0000 (0:00:00.035) 0:00:10.687 ****** skipping: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:36:52 +0000 (0:00:00.071) 0:00:10.758 ****** skipping: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:36:52 +0000 (0:00:00.037) 0:00:10.796 ****** skipping: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:36:52 +0000 (0:00:00.040) 0:00:10.836 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:36:52 +0000 (0:00:00.054) 0:00:10.891 ****** ok: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:36:53 +0000 (0:00:00.868) 0:00:11.759 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:36:53 +0000 (0:00:00.056) 0:00:11.816 ****** skipping: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:36:53 +0000 (0:00:00.035) 0:00:11.851 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:36:53 +0000 (0:00:00.034) 0:00:11.885 ****** changed: [/cache/centos-9.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, a068a790-7310-4f77-959b-8f4769dda09e [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a068a790-7310-4f77-959b-8f4769dda09e (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:36:56 +0000 (0:00:02.700) 0:00:14.586 ****** skipping: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:36:56 +0000 (0:00:00.039) 0:00:14.625 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a068a790-7310-4f77-959b-8f4769dda09e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a068a790-7310-4f77-959b-8f4769dda09e (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:36:56 +0000 (0:00:00.078) 0:00:14.703 ****** ok: [/cache/centos-9.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, a068a790-7310-4f77-959b-8f4769dda09e\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a068a790-7310-4f77-959b-8f4769dda09e (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a068a790-7310-4f77-959b-8f4769dda09e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a068a790-7310-4f77-959b-8f4769dda09e (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:36:56 +0000 (0:00:00.049) 0:00:14.753 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:36:56 +0000 (0:00:00.039) 0:00:14.792 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:42 Wednesday 03 August 2022 16:36:57 +0000 (0:00:00.499) 0:00:15.291 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:36:57 +0000 (0:00:00.063) 0:00:15.355 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:36:57 +0000 (0:00:00.053) 0:00:15.408 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544606.309777, "block_size": 4096, "blocks": 0, "ctime": 1659544606.309777, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31244, "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": 1659544606.309777, "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/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:36:57 +0000 (0:00:00.378) 0:00:15.786 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:43 Wednesday 03 August 2022 16:36:57 +0000 (0:00:00.047) 0:00:15.834 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:36:57 +0000 (0:00:00.061) 0:00:15.895 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:36:57 +0000 (0:00:00.085) 0:00:15.981 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:36:57 +0000 (0:00:00.042) 0:00:16.023 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544613.1949024, "block_size": 4096, "blocks": 8, "ctime": 1659544613.1939025, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941520, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544613.1939025, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 326, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.380) 0:00:16.404 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.045) 0:00:16.450 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.016624", "end": "2022-08-03 12:36:57.434177", "rc": 0, "start": "2022-08-03 12:36:57.417553" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.398) 0:00:16.848 ****** ok: [/cache/centos-9.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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.051) 0:00:16.899 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.039) 0:00:16.938 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.036) 0:00:16.974 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.050) 0:00:17.025 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ip address information] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:46 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.044) 0:00:17.069 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ip", "addr", "show", "veth0" ], "delta": "0:00:00.003468", "end": "2022-08-03 12:36:58.039448", "rc": 0, "start": "2022-08-03 12:36:58.035980" } STDOUT: 63: veth0@if62: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether f2:c3:f0:97:58:05 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::146e:96e2:11be:e5ea/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Show ip_addr] ************************************************************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:49 Wednesday 03 August 2022 16:36:59 +0000 (0:00:00.385) 0:00:17.454 ****** ok: [/cache/centos-9.qcow2.snap] => { "ip_addr.stdout": "63: veth0@if62: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether f2:c3:f0:97:58:05 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::146e:96e2:11be:e5ea/64 scope link noprefixroute \n valid_lft forever preferred_lft forever" } TASK [Assert ipv6 addresses are correctly set] ********************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:52 Wednesday 03 August 2022 16:36:59 +0000 (0:00:00.044) 0:00:17.499 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:61 Wednesday 03 August 2022 16:36:59 +0000 (0:00:00.047) 0:00:17.546 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003549", "end": "2022-08-03 12:36:58.558799", "rc": 0, "start": "2022-08-03 12:36:58.555250" } 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 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86073sec pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1473sec hoplimit 64 pref medium TASK [Show ipv6_route] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:64 Wednesday 03 August 2022 16:36:59 +0000 (0:00:00.429) 0:00:17.976 ****** ok: [/cache/centos-9.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 256 pref medium\nfe80::/64 dev veth0 proto kernel metric 1024 pref medium\nfec0::/64 dev eth0 proto kernel metric 256 expires 86073sec pref medium\ndefault via 2001:db8::1 dev veth0 proto static metric 101 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 1024 expires 1473sec hoplimit 64 pref medium" } TASK [Assert default ipv6 route is set] **************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:67 Wednesday 03 August 2022 16:36:59 +0000 (0:00:00.042) 0:00:18.018 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Test gateway can be pinged] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:73 Wednesday 03 August 2022 16:36:59 +0000 (0:00:00.044) 0:00:18.063 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping6", "-c1", "2001:db8::1" ], "delta": "0:00:00.004381", "end": "2022-08-03 12:36:59.027238", "rc": 0, "start": "2022-08-03 12:36:59.022857" } STDOUT: PING 2001:db8::1(2001:db8::1) 56 data bytes 64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.058 ms --- 2001:db8::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.058/0.058/0.058/0.000 ms TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:78 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.379) 0:00:18.443 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.044) 0:00:18.487 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.061) 0:00:18.549 ****** ok: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.539) 0:00:19.088 ****** ok: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:37:02 +0000 (0:00:01.511) 0:00:20.600 ****** ok: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.740) 0:00:21.340 ****** ok: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.048) 0:00:21.389 ****** skipping: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.043) 0:00:21.433 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.039) 0:00:21.472 ****** skipping: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.074) 0:00:21.546 ****** skipping: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.041) 0:00:21.588 ****** skipping: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.039) 0:00:21.627 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.051) 0:00:21.679 ****** ok: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.590) 0:00:22.270 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.056) 0:00:22.327 ****** skipping: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.037) 0:00:22.364 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.035) 0:00:22.399 ****** changed: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.594) 0:00:22.994 ****** skipping: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.041) 0:00:23.036 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.048) 0:00:23.084 ****** ok: [/cache/centos-9.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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.047) 0:00:23.132 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.041) 0:00:23.173 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:90 Wednesday 03 August 2022 16:37:05 +0000 (0:00:00.408) 0:00:23.581 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-9.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:37:05 +0000 (0:00:00.117) 0:00:23.699 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:37:05 +0000 (0:00:00.033) 0:00:23.733 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:37:05 +0000 (0:00:00.032) 0:00:23.765 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:37:05 +0000 (0:00:00.054) 0:00:23.820 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:37:05 +0000 (0:00:00.054) 0:00:23.874 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003493", "end": "2022-08-03 12:37:04.844065", "rc": 0, "start": "2022-08-03 12:37:04.840572" } STDOUT: bonding_masters eth0 lo veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:37:06 +0000 (0:00:00.385) 0:00:24.260 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:37:06 +0000 (0:00:00.046) 0:00:24.306 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:37:06 +0000 (0:00:00.043) 0:00:24.350 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:37:06 +0000 (0:00:00.805) 0:00:25.155 ****** skipping: [/cache/centos-9.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/centos-9.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/centos-9.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/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:37:07 +0000 (0:00:00.051) 0:00:25.206 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:37:07 +0000 (0:00:00.073) 0:00:25.280 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012892", "end": "2022-08-03 12:37:06.255812", "rc": 0, "start": "2022-08-03 12:37:06.242920" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:37:07 +0000 (0:00:00.392) 0:00:25.672 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:37:07 +0000 (0:00:00.035) 0:00:25.708 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:37:07 +0000 (0:00:00.033) 0:00:25.741 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:37:07 +0000 (0:00:00.031) 0:00:25.773 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up namespace] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:93 Wednesday 03 August 2022 16:37:07 +0000 (0:00:00.031) 0:00:25.804 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ip", "netns", "delete", "ns1" ], "delta": "0:00:00.005464", "end": "2022-08-03 12:37:06.784462", "rc": 0, "start": "2022-08-03 12:37:06.778998" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=74 changed=11 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0 Wednesday 03 August 2022 16:37:08 +0000 (0:00:00.450) 0:00:26.255 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.70s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface veth0 --------------------------------------------- 1.09s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpem3y1lsc/tests/network/tests_ipv6_nm.yml:5 ---------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Install iproute --------------------------------------------------------- 0.99s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.87s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Install iproute --------------------------------------------------------- 0.81s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:3 --------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.59s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s /tmp/tmp40vowjjo/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.54s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.50s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.50s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Back up system files ---------------------------------------------------- 0.50s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Clean up namespace ------------------------------------------------------ 0.45s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:93 -------------------- Get ipv6 routes --------------------------------------------------------- 0.43s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:61 -------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpem3y1lsc/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:37:08 +0000 (0:00:00.045) 0:00:26.300 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005517", "end": "2022-08-03 12:37:07.275808", "rc": 0, "start": "2022-08-03 12:37:07.270291" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=75 changed=12 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0 Wednesday 03 August 2022 16:37:08 +0000 (0:00:00.408) 0:00:26.709 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.70s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface veth0 --------------------------------------------- 1.09s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpem3y1lsc/tests/network/tests_ipv6_nm.yml:5 ---------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Install iproute --------------------------------------------------------- 0.99s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.87s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Install iproute --------------------------------------------------------- 0.81s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:3 --------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.59s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s /tmp/tmp40vowjjo/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.54s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.50s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.50s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Back up system files ---------------------------------------------------- 0.50s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Clean up namespace ------------------------------------------------------ 0.45s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:93 -------------------- Get ipv6 routes --------------------------------------------------------- 0.43s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_ipv6.yml:61 --------------------