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/tmpy4hq2u0g 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/tmp088uft4w/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp088uft4w/tests/_backup.yml:6 Wednesday 03 August 2022 17:36:59 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-8-y.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659548219.4240701, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659548218.4230702, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25269095, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546726.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "4040660144", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp088uft4w/tests/_backup.yml:13 Wednesday 03 August 2022 17:36:59 +0000 (0:00:00.598) 0:00:00.616 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8-y.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': 25269095, 'dev': 64515, 'nlink': 1, 'atime': 1659548219.4240701, 'mtime': 1659546726.0, 'ctime': 1659548218.4230702, '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': '4040660144', '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/libexec/platform-python'}, '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/libexec/platform-python" }, "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": 1659548219.4240701, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659548218.4230702, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25269095, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546726.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "4040660144", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp088uft4w/tests/_backup.yml:19 Wednesday 03 August 2022 17:37:00 +0000 (0:00:00.038) 0:00:00.654 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004398", "end": "2022-08-03 13:37:00.201747", "rc": 0, "start": "2022-08-03 13:37:00.197349" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:37:00 +0000 (0:00:00.500) 0:00:01.154 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp088uft4w/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.50s /tmp/tmp088uft4w/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp088uft4w/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_network_state_nm.yml ******************************************* 3 plays in /tmp/tmp088uft4w/tests/tests_network_state_nm.yml PLAY [Run playbook 'playbooks/tests_network_state.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/tests_network_state_nm.yml:5 Wednesday 03 August 2022 17:37:00 +0000 (0:00:00.075) 0:00:01.230 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/tests_network_state_nm.yml:8 Wednesday 03 August 2022 17:37:01 +0000 (0:00:01.079) 0:00:02.309 ****** included: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml for /cache/rhel-8-y.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:37:01 +0000 (0:00:00.030) 0:00:02.340 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:37:01 +0000 (0:00:00.021) 0:00:02.361 ****** included: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml for /cache/rhel-8-y.qcow2.snap TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:37:01 +0000 (0:00:00.028) 0:00:02.390 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:37:02 +0000 (0:00:00.383) 0:00:02.774 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:37:02 +0000 (0:00:00.023) 0:00:02.797 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.399683", "end": "2022-08-03 13:37:02.625305", "rc": 0, "start": "2022-08-03 13:37:02.225622" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:37:02 +0000 (0:00:00.777) 0:00:03.575 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp088uft4w/tests/tests_network_state_nm.yml:9 Wednesday 03 August 2022 17:37:02 +0000 (0:00:00.021) 0:00:03.596 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:3 Wednesday 03 August 2022 17:37:03 +0000 (0:00:00.050) 0:00:03.646 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:5 Wednesday 03 August 2022 17:37:03 +0000 (0:00:00.851) 0:00:04.498 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:14 Wednesday 03 August 2022 17:37:04 +0000 (0:00:00.894) 0:00:05.392 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:18 Wednesday 03 August 2022 17:37:04 +0000 (0:00:00.086) 0:00:05.479 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:37:04 +0000 (0:00:00.057) 0:00:05.536 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:37:04 +0000 (0:00:00.043) 0:00:05.580 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003162", "end": "2022-08-03 13:37:05.051602", "rc": 0, "start": "2022-08-03 13:37:05.048440" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.419) 0:00:05.999 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.077) 0:00:06.077 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:19 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.047) 0:00:06.124 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.059) 0:00:06.183 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.033) 0:00:06.217 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.038) 0:00:06.256 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.080) 0:00:06.336 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.042) 0:00:06.379 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003225", "end": "2022-08-03 13:37:05.819334", "rc": 0, "start": "2022-08-03 13:37:05.816109" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:37:06 +0000 (0:00:00.390) 0:00:06.769 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:37:06 +0000 (0:00:00.048) 0:00:06.818 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:37:06 +0000 (0:00:00.047) 0:00:06.865 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:37:08 +0000 (0:00:02.018) 0:00:08.883 ****** changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.004371", "end": "2022-08-03 13:37:08.328807", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2022-08-03 13:37:08.324436" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.016501", "end": "2022-08-03 13:37:08.698846", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2022-08-03 13:37:08.682345" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.015533", "end": "2022-08-03 13:37:09.067394", "item": "ip link set ethtest0 up", "rc": 0, "start": "2022-08-03 13:37:09.051861" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:37:09 +0000 (0:00:01.139) 0:00:10.023 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.021523", "end": "2022-08-03 13:37:09.484098", "rc": 0, "start": "2022-08-03 13:37:09.462575" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:37:09 +0000 (0:00:00.410) 0:00:10.434 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:37:09 +0000 (0:00:00.037) 0:00:10.472 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:37:09 +0000 (0:00:00.037) 0:00:10.509 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:37:09 +0000 (0:00:00.037) 0:00:10.547 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:37:09 +0000 (0:00:00.037) 0:00:10.584 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:22 Wednesday 03 August 2022 17:37:09 +0000 (0:00:00.035) 0:00:10.619 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:37:10 +0000 (0:00:00.059) 0:00:10.679 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:37:10 +0000 (0:00:00.041) 0:00:10.721 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659548228.3280945, "block_size": 4096, "blocks": 0, "ctime": 1659548228.3280945, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37479, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1659548228.3280945, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 ethtest0 is present] ******************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:37:10 +0000 (0:00:00.385) 0:00:11.106 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set type=veth and interface=ethtest1] ************************************ task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:23 Wednesday 03 August 2022 17:37:10 +0000 (0:00:00.048) 0:00:11.155 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:27 Wednesday 03 August 2022 17:37:10 +0000 (0:00:00.046) 0:00:11.202 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:37:10 +0000 (0:00:00.059) 0:00:11.261 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:37:10 +0000 (0:00:00.044) 0:00:11.305 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002923", "end": "2022-08-03 13:37:10.739891", "rc": 0, "start": "2022-08-03 13:37:10.736968" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:37:11 +0000 (0:00:00.383) 0:00:11.689 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:37:11 +0000 (0:00:00.046) 0:00:11.735 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:28 Wednesday 03 August 2022 17:37:11 +0000 (0:00:00.075) 0:00:11.810 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:37:11 +0000 (0:00:00.063) 0:00:11.874 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:37:11 +0000 (0:00:00.036) 0:00:11.910 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:37:11 +0000 (0:00:00.037) 0:00:11.948 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:37:11 +0000 (0:00:00.046) 0:00:11.994 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:37:11 +0000 (0:00:00.043) 0:00:12.038 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003336", "end": "2022-08-03 13:37:11.490543", "rc": 0, "start": "2022-08-03 13:37:11.487207" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:37:11 +0000 (0:00:00.400) 0:00:12.439 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:37:11 +0000 (0:00:00.084) 0:00:12.523 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:37:11 +0000 (0:00:00.084) 0:00:12.608 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:37:13 +0000 (0:00:01.603) 0:00:14.211 ****** changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link add ethtest1 type veth peer name peerethtest1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "ethtest1", "type", "veth", "peer", "name", "peerethtest1" ], "delta": "0:00:00.004413", "end": "2022-08-03 13:37:13.655575", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2022-08-03 13:37:13.651162" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.008668", "end": "2022-08-03 13:37:14.046340", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2022-08-03 13:37:14.037672" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.006830", "end": "2022-08-03 13:37:14.421867", "item": "ip link set ethtest1 up", "rc": 0, "start": "2022-08-03 13:37:14.415037" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:37:14 +0000 (0:00:01.162) 0:00:15.374 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.020876", "end": "2022-08-03 13:37:14.860787", "rc": 0, "start": "2022-08-03 13:37:14.839911" } TASK [Delete veth interface ethtest1] ****************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.435) 0:00:15.809 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.037) 0:00:15.847 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.036) 0:00:15.884 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.035) 0:00:15.919 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.034) 0:00:15.953 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:31 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.035) 0:00:15.989 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.062) 0:00:16.051 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface ethtest1] ***************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.042) 0:00:16.094 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659548233.6548107, "block_size": 4096, "blocks": 0, "ctime": 1659548233.6548107, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37735, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest1", "lnk_target": "../../devices/virtual/net/ethtest1", "mode": "0777", "mtime": 1659548233.6548107, "nlink": 1, "path": "/sys/class/net/ethtest1", "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 ethtest1 is present] ******************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.400) 0:00:16.494 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.048) 0:00:16.542 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.053) 0:00:16.596 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:37:16 +0000 (0:00:00.541) 0:00:17.137 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:37:18 +0000 (0:00:01.855) 0:00:18.993 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:37:19 +0000 (0:00:01.505) 0:00:20.498 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:37:19 +0000 (0:00:00.068) 0:00:20.567 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:37:20 +0000 (0:00:00.059) 0:00:20.626 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:37:20 +0000 (0:00:00.062) 0:00:20.688 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:37:20 +0000 (0:00:00.082) 0:00:20.771 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: NetworkManager-config-server-1:1.39.10-1.el8.noarch", "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: python3-libnmstate-1.3.2-1.el8.noarch", "Installed: nispor-1.2.7-1.el8.x86_64", "Installed: nmstate-1.3.2-1.el8.x86_64", "Installed: python3-nispor-1.2.7-1.el8.noarch" ] } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:37:22 +0000 (0:00:02.735) 0:00:23.506 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:37:22 +0000 (0:00:00.063) 0:00:23.570 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:37:23 +0000 (0:00:00.119) 0:00:23.689 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:37:23 +0000 (0:00:00.855) 0:00:24.545 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:37:23 +0000 (0:00:00.064) 0:00:24.609 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:37:24 +0000 (0:00:00.056) 0:00:24.665 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:37:24 +0000 (0:00:00.053) 0:00:24.719 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:37:24 +0000 (0:00:00.742) 0:00:25.462 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "52:54:00:12:34:56", "accept-all-mac-addresses": false, "ethernet": { "auto-negotiation": false }, "ethtool": { "feature": { "tx-generic-segmentation": false }, "ring": { "rx": 256, "tx": 256 } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::ba4c:661d:62c9:4adc", "prefix-length": 64 } ], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:54:00:12:34:56", "mtu": 1500, "name": "eth0", "state": "up", "type": "ethernet" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::8c0e:87ff:fe3d:c981", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "8E:0E:87:3D:C9:81", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::3c78:5e44:30c:18f8", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "3E:FB:2A:7F:B9:4A", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::181d:24ff:feec:1c14", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1A:1D:24:EC:1C:14", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::c095:cbff:fea8:a610", "prefix-length": 64 } ], "enabled": true }, "mac-address": "C2:95:CB:A8:A6:10", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:37:26 +0000 (0:00:01.981) 0:00:27.443 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:37:26 +0000 (0:00:00.145) 0:00:27.588 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:37:27 +0000 (0:00:00.075) 0:00:27.663 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "52:54:00:12:34:56", "accept-all-mac-addresses": false, "ethernet": { "auto-negotiation": false }, "ethtool": { "feature": { "tx-generic-segmentation": false }, "ring": { "rx": 256, "tx": 256 } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::ba4c:661d:62c9:4adc", "prefix-length": 64 } ], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:54:00:12:34:56", "mtu": 1500, "name": "eth0", "state": "up", "type": "ethernet" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::8c0e:87ff:fe3d:c981", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "8E:0E:87:3D:C9:81", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::3c78:5e44:30c:18f8", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "3E:FB:2A:7F:B9:4A", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::181d:24ff:feec:1c14", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1A:1D:24:EC:1C:14", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::c095:cbff:fea8:a610", "prefix-length": 64 } ], "enabled": true }, "mac-address": "C2:95:CB:A8:A6:10", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:37:27 +0000 (0:00:00.079) 0:00:27.743 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get the ethtest0 state configuration] ************************************ task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:71 Wednesday 03 August 2022 17:37:27 +0000 (0:00:00.526) 0:00:28.270 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.407825", "end": "2022-08-03 13:37:28.115425", "rc": 0, "start": "2022-08-03 13:37:27.707600" } STDOUT: --- dns-resolver: config: {} running: search: [] server: - 10.0.2.3 route-rules: config: [] routes: config: [] running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::8c0e:87ff:fe3d:c981 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 8E:0E:87:3D:C9:81 mtu: 1500 veth: peer: peerethtest0 STDERR: 2022-08-03 13:37:28,063 root DEBUG NetworkManager version 1.39.10 2022-08-03 13:37:28,065 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2022-08-03 13:37:28,065 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2022-08-03 13:37:28,065 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2022-08-03 13:37:28,066 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2022-08-03 13:37:28,067 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2022-08-03 13:37:28,067 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2022-08-03 13:37:28,069 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2022-08-03 13:37:28,070 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2022-08-03 13:37:28,070 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:77 Wednesday 03 August 2022 17:37:28 +0000 (0:00:00.813) 0:00:29.083 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.401364", "end": "2022-08-03 13:37:28.925511", "rc": 0, "start": "2022-08-03 13:37:28.524147" } STDOUT: --- dns-resolver: config: {} running: search: [] server: - 10.0.2.3 route-rules: config: [] routes: config: [] running: - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 104 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::3c78:5e44:30c:18f8 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: 3E:FB:2A:7F:B9:4A mtu: 1500 veth: peer: peerethtest1 STDERR: 2022-08-03 13:37:28,871 root DEBUG NetworkManager version 1.39.10 2022-08-03 13:37:28,872 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2022-08-03 13:37:28,872 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2022-08-03 13:37:28,872 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2022-08-03 13:37:28,873 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2022-08-03 13:37:28,874 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2022-08-03 13:37:28,874 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2022-08-03 13:37:28,876 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2022-08-03 13:37:28,877 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2022-08-03 13:37:28,877 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the ethtest0 state configuration contains the specified settings] *** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:83 Wednesday 03 August 2022 17:37:29 +0000 (0:00:00.857) 0:00:29.940 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:92 Wednesday 03 August 2022 17:37:29 +0000 (0:00:00.072) 0:00:30.013 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:37:29 +0000 (0:00:00.064) 0:00:30.078 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:37:29 +0000 (0:00:00.084) 0:00:30.162 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:37:30 +0000 (0:00:00.550) 0:00:30.712 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:37:32 +0000 (0:00:02.751) 0:00:33.464 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:37:34 +0000 (0:00:01.227) 0:00:34.692 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:37:34 +0000 (0:00:00.068) 0:00:34.761 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:37:34 +0000 (0:00:00.059) 0:00:34.820 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:37:34 +0000 (0:00:00.062) 0:00:34.883 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:37:34 +0000 (0:00:00.087) 0:00:34.971 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:37:35 +0000 (0:00:01.524) 0:00:36.495 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:37:35 +0000 (0:00:00.060) 0:00:36.556 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:37:35 +0000 (0:00:00.060) 0:00:36.616 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:37:36 +0000 (0:00:00.585) 0:00:37.202 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:37:36 +0000 (0:00:00.059) 0:00:37.262 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:37:36 +0000 (0:00:00.057) 0:00:37.320 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:37:36 +0000 (0:00:00.056) 0:00:37.376 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:37:37 +0000 (0:00:00.620) 0:00:37.996 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "52:54:00:12:34:56", "accept-all-mac-addresses": false, "ethernet": { "auto-negotiation": false }, "ethtool": { "feature": { "tx-generic-segmentation": false }, "ring": { "rx": 256, "tx": 256 } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::ba4c:661d:62c9:4adc", "prefix-length": 64 } ], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:54:00:12:34:56", "mtu": 1500, "name": "eth0", "state": "up", "type": "ethernet" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::8c0e:87ff:fe3d:c981", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "8E:0E:87:3D:C9:81", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::3c78:5e44:30c:18f8", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "3E:FB:2A:7F:B9:4A", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::181d:24ff:feec:1c14", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1A:1D:24:EC:1C:14", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::c095:cbff:fea8:a610", "prefix-length": 64 } ], "enabled": true }, "mac-address": "C2:95:CB:A8:A6:10", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:37:38 +0000 (0:00:00.764) 0:00:38.761 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:37:38 +0000 (0:00:00.067) 0:00:38.828 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:37:38 +0000 (0:00:00.069) 0:00:38.898 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "52:54:00:12:34:56", "accept-all-mac-addresses": false, "ethernet": { "auto-negotiation": false }, "ethtool": { "feature": { "tx-generic-segmentation": false }, "ring": { "rx": 256, "tx": 256 } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::ba4c:661d:62c9:4adc", "prefix-length": 64 } ], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:54:00:12:34:56", "mtu": 1500, "name": "eth0", "state": "up", "type": "ethernet" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::8c0e:87ff:fe3d:c981", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "8E:0E:87:3D:C9:81", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::3c78:5e44:30c:18f8", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "3E:FB:2A:7F:B9:4A", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::181d:24ff:feec:1c14", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1A:1D:24:EC:1C:14", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::c095:cbff:fea8:a610", "prefix-length": 64 } ], "enabled": true }, "mac-address": "C2:95:CB:A8:A6:10", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:37:38 +0000 (0:00:00.079) 0:00:38.977 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get the route configuration] ********************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:113 Wednesday 03 August 2022 17:37:38 +0000 (0:00:00.418) 0:00:39.395 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.434046", "end": "2022-08-03 13:37:39.258058", "rc": 0, "start": "2022-08-03 13:37:38.824012" } STDOUT: --- dns-resolver: config: {} running: search: [] server: - 10.0.2.3 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fec0::/64 metric: 100 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: ::/0 metric: 100 next-hop-address: fe80::2 next-hop-interface: eth0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.0.2.2 next-hop-interface: eth0 table-id: 254 - destination: 10.0.2.0/24 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 104 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethernet: auto-negotiation: false ethtool: feature: tx-generic-segmentation: false ring: rx: 256 tx: 256 ipv4: enabled: true address: - ip: 10.0.2.15 prefix-length: 24 auto-dns: true auto-gateway: true auto-route-table-id: 0 auto-routes: true dhcp: true ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::ba4c:661d:62c9:4adc prefix-length: 64 - ip: fec0::82db:8e02:4da2:7355 prefix-length: 64 auto-dns: true auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: '52:54:00:12:34:56' mtu: 1500 - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::8c0e:87ff:fe3d:c981 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 8E:0E:87:3D:C9:81 mtu: 1500 veth: peer: peerethtest0 - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::3c78:5e44:30c:18f8 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: 3E:FB:2A:7F:B9:4A mtu: 1500 veth: peer: peerethtest1 - name: lo type: unknown state: up accept-all-mac-addresses: false ethtool: feature: tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 127.0.0.1 prefix-length: 8 ipv6: enabled: true address: - ip: ::1 prefix-length: 128 mac-address: 00:00:00:00:00:00 mtu: 65536 - name: peerethtest0 type: veth state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::181d:24ff:feec:1c14 prefix-length: 64 mac-address: 1A:1D:24:EC:1C:14 mtu: 1500 veth: peer: ethtest0 - name: peerethtest1 type: veth state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::c095:cbff:fea8:a610 prefix-length: 64 mac-address: C2:95:CB:A8:A6:10 mtu: 1500 veth: peer: ethtest1 STDERR: 2022-08-03 13:37:39,195 root DEBUG NetworkManager version 1.39.10 2022-08-03 13:37:39,196 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2022-08-03 13:37:39,197 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2022-08-03 13:37:39,197 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2022-08-03 13:37:39,198 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2022-08-03 13:37:39,198 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2022-08-03 13:37:39,199 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2022-08-03 13:37:39,200 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2022-08-03 13:37:39,201 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2022-08-03 13:37:39,201 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the route configuration contains the specified route] ******** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:119 Wednesday 03 August 2022 17:37:39 +0000 (0:00:00.832) 0:00:40.228 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Set the DNS processing mode and the resolv.conf management mode] ********* task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:129 Wednesday 03 August 2022 17:37:39 +0000 (0:00:00.079) 0:00:40.307 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "backup": "", "changed": true } MSG: line added TASK [Restart the NetworkManager] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:135 Wednesday 03 August 2022 17:37:40 +0000 (0:00:00.504) 0:00:40.812 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:13:44 EDT", "ActiveEnterTimestampMonotonic": "104357766", "ActiveExitTimestamp": "Wed 2022-08-03 13:13:44 EDT", "ActiveExitTimestampMonotonic": "104307723", "ActiveState": "active", "After": "sysinit.target basic.target cloud-init-local.service network-pre.target systemd-journald.socket dbus.socket dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:13:44 EDT", "AssertTimestampMonotonic": "104334968", "Before": "multi-user.target cloud-init.service network.service shutdown.target NetworkManager-wait-online.service network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_dac_override cap_kill cap_setgid cap_setuid cap_net_bind_service cap_net_admin cap_net_raw cap_sys_module cap_sys_chroot cap_audit_write", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:13:44 EDT", "ConditionTimestampMonotonic": "104334968", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "21560", "ExecMainStartTimestamp": "Wed 2022-08-03 13:13:44 EDT", "ExecMainStartTimestampMonotonic": "104335955", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:13:44 EDT", "InactiveEnterTimestampMonotonic": "104333995", "InactiveExitTimestamp": "Wed 2022-08-03 13:13:44 EDT", "InactiveExitTimestampMonotonic": "104336020", "InvocationID": "dd5ccf3169bc44b6b105f1947183d7ad", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "65536", "LimitNOFILESoft": "65536", "LimitNPROC": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "21560", "MemoryAccounting": "yes", "MemoryCurrent": "4833280", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 13:13:44 EDT", "StateChangeTimestampMonotonic": "104357766", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11140", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Wed 2022-08-03 13:13:44 EDT", "WatchdogTimestampMonotonic": "104357765", "WatchdogUSec": "0" } } TASK [Install the systemd-resolved] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:140 Wednesday 03 August 2022 17:37:40 +0000 (0:00:00.624) 0:00:41.436 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable the systemd-resolved service] ************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:147 Wednesday 03 August 2022 17:37:40 +0000 (0:00:00.052) 0:00:41.489 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "enabled": true, "name": "systemd-resolved", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-networkd.service systemd-journald.socket tmp.mount system.slice -.mount systemd-tmpfiles-setup.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "cap_setpcap cap_net_bind_service cap_net_raw", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network.target shutdown.target nss-lookup.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_setpcap cap_net_bind_service cap_net_raw", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Name Resolution", "DevicePolicy": "closed", "Documentation": "man:systemd-resolved.service(8) https://www.freedesktop.org/wiki/Software/systemd/resolved https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-resolved ; argv[]=/usr/lib/systemd/systemd-resolved ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/systemd-resolved.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "systemd-resolved.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "systemd-resolved.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "yes", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProtectControlGroups": "yes", "ProtectHome": "yes", "ProtectKernelModules": "yes", "ProtectKernelTunables": "yes", "ProtectSystem": "strict", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice", "RequiresMountsFor": "/run/systemd/resolve /var/tmp", "Restart": "always", "RestartUSec": "0", "RestrictNamespaces": "yes", "RestrictRealtime": "yes", "RestrictSUIDSGID": "yes", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectory": "systemd/resolve", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "yes", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallArchitectures": "native", "SystemCallErrorNumber": "1", "SystemCallFilter": "_llseek _newselect accept accept4 access add_key alarm arch_prctl bind brk capget capset chdir chmod chown chown32 clock_getres clock_gettime clock_nanosleep clone close connect copy_file_range creat dup dup2 dup3 epoll_create epoll_create1 epoll_ctl epoll_ctl_old epoll_pwait epoll_wait epoll_wait_old eventfd eventfd2 execve execveat exit exit_group faccessat fadvise64 fadvise64_64 fallocate fchdir fchmod fchmodat fchown fchown32 fchownat fcntl fcntl64 fdatasync fgetxattr flistxattr flock fork fremovexattr fsetxattr fstat fstat64 fstatat64 fstatfs fstatfs64 fsync ftruncate ftruncate64 futex futimesat get_mempolicy get_robust_list get_thread_area getcpu getcwd getdents getdents64 getegid getegid32 geteuid geteuid32 getgid getgid32 getgroups getgroups32 getitimer getpeername getpgid getpgrp getpid getppid getpriority getrandom getresgid getresgid32 getresuid getresuid32 getrlimit getrusage getsid getsockname getsockopt gettid gettimeofday getuid getuid32 getxattr inotify_add_watch inotify_init inotify_init1 inotify_rm_watch io_cancel io_destroy io_getevents io_setup io_submit ioctl ioprio_get ioprio_set ipc kcmp keyctl kill lchown lchown32 lgetxattr link linkat listen listxattr llistxattr lremovexattr lseek lsetxattr lstat lstat64 madvise mbind membarrier memfd_create migrate_pages mincore mkdir mkdirat mknod mknodat mlock mlock2 mlockall mmap mmap2 move_pages mprotect mq_getsetattr mq_notify mq_open mq_timedreceive mq_timedsend mq_unlink mremap msgctl msgget msgrcv msgsnd msync munlock munlockall munmap name_to_handle_at nanosleep newfstatat nice oldfstat oldlstat oldolduname oldstat olduname open openat pause personality pipe pipe2 poll ppoll prctl pread64 preadv preadv2 prlimit64 process_vm_readv process_vm_writev pselect6 pwrite64 pwritev pwritev2 read readahead readdir readlink readlinkat readv recv recvfrom recvmmsg recvmsg remap_file_pages removexattr rename renameat renameat2 request_key restart_syscall rmdir rt_sigaction rt_sigpending rt_sigprocmask rt_sigqueueinfo rt_sigreturn rt_sigsuspend rt_sigtimedwait rt_tgsigqueueinfo sched_get_priority_max sched_get_priority_min sched_getaffinity sched_getattr sched_getparam sched_getscheduler sched_rr_get_interval sched_setaffinity sched_setattr sched_setparam sched_setscheduler sched_yield select semctl semget semop semtimedop send sendfile sendfile64 sendmmsg sendmsg sendto set_mempolicy set_robust_list set_thread_area set_tid_address set_tls setfsgid setfsgid32 setfsuid setfsuid32 setgid setgid32 setgroups setgroups32 setitimer setns setpgid setpriority setregid setregid32 setresgid setresgid32 setresuid setresuid32 setreuid setreuid32 setrlimit setsid setsockopt setuid setuid32 setxattr shmat shmctl shmdt shmget shutdown sigaction sigaltstack signal signalfd signalfd4 sigpending sigprocmask sigreturn sigsuspend socket socketcall socketpair splice stat stat64 statfs statfs64 statx symlink symlinkat sync sync_file_range syncfs sysinfo tee tgkill time timer_create timer_delete timer_getoverrun timer_gettime timer_settime timerfd_create timerfd_gettime timerfd_settime times tkill truncate truncate64 ugetrlimit umask uname unlink unlinkat unshare userfaultfd utime utimensat utimes vfork vmsplice wait4 waitid waitpid write writev", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11140", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "systemd-resolve", "UtmpMode": "init", "Wants": "nss-lookup.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "3min" } } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:37:41 +0000 (0:00:00.686) 0:00:42.176 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:37:41 +0000 (0:00:00.140) 0:00:42.316 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:37:42 +0000 (0:00:00.563) 0:00:42.880 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:37:43 +0000 (0:00:01.698) 0:00:44.579 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:37:45 +0000 (0:00:01.315) 0:00:45.894 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:37:45 +0000 (0:00:00.070) 0:00:45.964 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:37:45 +0000 (0:00:00.056) 0:00:46.021 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:37:45 +0000 (0:00:00.063) 0:00:46.084 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:37:45 +0000 (0:00:00.081) 0:00:46.166 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:37:47 +0000 (0:00:01.550) 0:00:47.716 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:37:47 +0000 (0:00:00.061) 0:00:47.777 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:37:47 +0000 (0:00:00.064) 0:00:47.842 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:37:47 +0000 (0:00:00.617) 0:00:48.460 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:37:47 +0000 (0:00:00.061) 0:00:48.521 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:37:47 +0000 (0:00:00.058) 0:00:48.580 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:37:48 +0000 (0:00:00.059) 0:00:48.639 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:37:48 +0000 (0:00:00.555) 0:00:49.195 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "52:54:00:12:34:56", "accept-all-mac-addresses": false, "ethernet": { "auto-negotiation": false }, "ethtool": { "feature": { "tx-generic-segmentation": false }, "ring": { "rx": 256, "tx": 256 } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::ba4c:661d:62c9:4adc", "prefix-length": 64 } ], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:54:00:12:34:56", "mtu": 1500, "name": "eth0", "state": "up", "type": "ethernet" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::8c0e:87ff:fe3d:c981", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "8E:0E:87:3D:C9:81", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::3c78:5e44:30c:18f8", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "3E:FB:2A:7F:B9:4A", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::181d:24ff:feec:1c14", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1A:1D:24:EC:1C:14", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::c095:cbff:fea8:a610", "prefix-length": 64 } ], "enabled": true }, "mac-address": "C2:95:CB:A8:A6:10", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:37:49 +0000 (0:00:00.755) 0:00:49.950 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:37:49 +0000 (0:00:00.071) 0:00:50.021 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:37:49 +0000 (0:00:00.150) 0:00:50.171 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "52:54:00:12:34:56", "accept-all-mac-addresses": false, "ethernet": { "auto-negotiation": false }, "ethtool": { "feature": { "tx-generic-segmentation": false }, "ring": { "rx": 256, "tx": 256 } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::ba4c:661d:62c9:4adc", "prefix-length": 64 } ], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:54:00:12:34:56", "mtu": 1500, "name": "eth0", "state": "up", "type": "ethernet" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::8c0e:87ff:fe3d:c981", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "8E:0E:87:3D:C9:81", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::3c78:5e44:30c:18f8", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "3E:FB:2A:7F:B9:4A", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::181d:24ff:feec:1c14", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1A:1D:24:EC:1C:14", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::c095:cbff:fea8:a610", "prefix-length": 64 } ], "enabled": true }, "mac-address": "C2:95:CB:A8:A6:10", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:37:49 +0000 (0:00:00.080) 0:00:50.252 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:165 Wednesday 03 August 2022 17:37:50 +0000 (0:00:00.426) 0:00:50.678 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.415466", "end": "2022-08-03 13:37:50.527037", "rc": 0, "start": "2022-08-03 13:37:50.111571" } STDOUT: --- dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 running: search: - example.com - example.org server: - 2001:4860:4860::8888 - 10.0.2.3 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fec0::/64 metric: 100 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: ::/0 metric: 100 next-hop-address: fe80::2 next-hop-interface: eth0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.0.2.2 next-hop-interface: eth0 table-id: 254 - destination: 10.0.2.0/24 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 104 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethernet: auto-negotiation: false ethtool: feature: tx-generic-segmentation: false ring: rx: 256 tx: 256 ipv4: enabled: true address: - ip: 10.0.2.15 prefix-length: 24 auto-dns: true auto-gateway: true auto-route-table-id: 0 auto-routes: true dhcp: true ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::ba4c:661d:62c9:4adc prefix-length: 64 - ip: fec0::82db:8e02:4da2:7355 prefix-length: 64 auto-dns: true auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: '52:54:00:12:34:56' mtu: 1500 - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::8c0e:87ff:fe3d:c981 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 8E:0E:87:3D:C9:81 mtu: 1500 veth: peer: peerethtest0 - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::3c78:5e44:30c:18f8 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: 3E:FB:2A:7F:B9:4A mtu: 1500 veth: peer: peerethtest1 - name: lo type: unknown state: up accept-all-mac-addresses: false ethtool: feature: tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 127.0.0.1 prefix-length: 8 ipv6: enabled: true address: - ip: ::1 prefix-length: 128 mac-address: 00:00:00:00:00:00 mtu: 65536 - name: peerethtest0 type: veth state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::181d:24ff:feec:1c14 prefix-length: 64 mac-address: 1A:1D:24:EC:1C:14 mtu: 1500 veth: peer: ethtest0 - name: peerethtest1 type: veth state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::c095:cbff:fea8:a610 prefix-length: 64 mac-address: C2:95:CB:A8:A6:10 mtu: 1500 veth: peer: ethtest1 STDERR: 2022-08-03 13:37:50,461 root DEBUG NetworkManager version 1.39.10 2022-08-03 13:37:50,463 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2022-08-03 13:37:50,463 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2022-08-03 13:37:50,463 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2022-08-03 13:37:50,464 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2022-08-03 13:37:50,464 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2022-08-03 13:37:50,465 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2022-08-03 13:37:50,467 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2022-08-03 13:37:50,467 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2022-08-03 13:37:50,467 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the DNS configuration from the file `/etc/resolv.conf`] ************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:171 Wednesday 03 August 2022 17:37:50 +0000 (0:00:00.821) 0:00:51.499 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/resolv.conf" ], "delta": "0:00:00.002571", "end": "2022-08-03 13:37:50.940904", "rc": 0, "start": "2022-08-03 13:37:50.938333" } STDOUT: # Generated by NetworkManager search virt.pnr.lab.eng.rdu2.redhat.com nameserver 10.0.2.3 TASK [Check if `/etc/resolv.conf` is generated by NM] ************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:177 Wednesday 03 August 2022 17:37:51 +0000 (0:00:00.405) 0:00:51.905 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "Generated by NetworkManager", "/etc/resolv.conf" ], "delta": "0:00:00.004917", "end": "2022-08-03 13:37:51.374160", "rc": 0, "start": "2022-08-03 13:37:51.369243" } STDOUT: # Generated by NetworkManager TASK [Assert that the nmstatectl contains the specified DNS configuration] ***** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:183 Wednesday 03 August 2022 17:37:51 +0000 (0:00:00.442) 0:00:52.348 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the file `/etc/resolv.conf` does not contain the specified DNS configuration] *** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:191 Wednesday 03 August 2022 17:37:51 +0000 (0:00:00.148) 0:00:52.496 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check resolvectl] ************************************************ task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:202 Wednesday 03 August 2022 17:37:51 +0000 (0:00:00.068) 0:00:52.565 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "attempts": 1, "changed": false, "cmd": [ "resolvectl" ], "delta": "0:00:00.137408", "end": "2022-08-03 13:37:52.149473", "rc": 0, "start": "2022-08-03 13:37:52.012065" } STDOUT: Global LLMNR setting: yes MulticastDNS setting: yes DNSOverTLS setting: no DNSSEC setting: allow-downgrade DNSSEC supported: yes Current DNS Server: 10.0.2.3 DNS Servers: 10.0.2.3 DNS Domain: virt.pnr.lab.eng.rdu2.redhat.com DNSSEC NTA: 10.in-addr.arpa 16.172.in-addr.arpa 168.192.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa corp d.f.ip6.arpa home internal intranet lan local private test Link 104 (ethtest1) Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSOverTLS setting: no DNSSEC setting: allow-downgrade DNSSEC supported: yes DNS Servers: 2001:4860:4860::8888 DNS Domain: example.com example.org Link 103 (peerethtest1) Current Scopes: LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSOverTLS setting: no DNSSEC setting: allow-downgrade DNSSEC supported: yes Link 102 (ethtest0) Current Scopes: LLMNR/IPv4 LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSOverTLS setting: no DNSSEC setting: allow-downgrade DNSSEC supported: yes Link 101 (peerethtest0) Current Scopes: LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSOverTLS setting: no DNSSEC setting: allow-downgrade DNSSEC supported: yes Link 2 (eth0) Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSOverTLS setting: no DNSSEC setting: allow-downgrade DNSSEC supported: yes DNS Servers: 10.0.2.3 TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:210 Wednesday 03 August 2022 17:37:52 +0000 (0:00:00.555) 0:00:53.121 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/delete_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:37:52 +0000 (0:00:00.094) 0:00:53.215 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.019906", "end": "2022-08-03 13:37:52.683471", "rc": 0, "start": "2022-08-03 13:37:52.663565" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:211 Wednesday 03 August 2022 17:37:53 +0000 (0:00:00.438) 0:00:53.654 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:37:53 +0000 (0:00:00.095) 0:00:53.749 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface ethtest1] ***************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:37:53 +0000 (0:00:00.078) 0:00:53.828 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest1 is absent] ******************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:37:53 +0000 (0:00:00.466) 0:00:54.294 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set interface=ethtest0] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:212 Wednesday 03 August 2022 17:37:53 +0000 (0:00:00.066) 0:00:54.361 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:216 Wednesday 03 August 2022 17:37:53 +0000 (0:00:00.067) 0:00:54.429 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/delete_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:37:53 +0000 (0:00:00.096) 0:00:54.525 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.010283", "end": "2022-08-03 13:37:53.977469", "rc": 0, "start": "2022-08-03 13:37:53.967186" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:217 Wednesday 03 August 2022 17:37:54 +0000 (0:00:00.424) 0:00:54.949 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:37:54 +0000 (0:00:00.097) 0:00:55.046 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:37:54 +0000 (0:00:00.072) 0:00:55.119 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:37:54 +0000 (0:00:00.450) 0:00:55.570 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=116 changed=13 unreachable=0 failed=0 skipped=42 rescued=0 ignored=0 Wednesday 03 August 2022 17:37:55 +0000 (0:00:00.092) 0:00:55.662 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.75s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.74s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 ----- Install iproute --------------------------------------------------------- 2.02s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking state ----------------- 1.98s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 ---- linux-system-roles.network : Check which services are running ----------- 1.86s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.70s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.60s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 1.55s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 ----- linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 1.52s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 ----- linux-system-roles.network : Check which packages are installed --------- 1.51s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.32s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.23s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface ethtest1 ------------------------------------------ 1.16s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Create veth interface ethtest0 ------------------------------------------ 1.14s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmp088uft4w/tests/tests_network_state_nm.yml:5 --------------------------- Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:5 -------------------- Get the ethtest1 state configuration ------------------------------------ 0.86s /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:77 ------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.86s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:3 -------------------- Get the route configuration --------------------------------------------- 0.83s /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:113 ------------------ PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp088uft4w/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp088uft4w/tests/_restore.yml:4 Wednesday 03 August 2022 17:37:55 +0000 (0:00:00.050) 0:00:55.713 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007264", "end": "2022-08-03 13:37:55.155205", "rc": 0, "start": "2022-08-03 13:37:55.147941" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=117 changed=14 unreachable=0 failed=0 skipped=42 rescued=0 ignored=0 Wednesday 03 August 2022 17:37:55 +0000 (0:00:00.434) 0:00:56.148 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.75s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.74s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 ----- Install iproute --------------------------------------------------------- 2.02s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking state ----------------- 1.98s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 ---- linux-system-roles.network : Check which services are running ----------- 1.86s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.70s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 1.60s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 1.55s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 ----- linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 1.52s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 ----- linux-system-roles.network : Check which packages are installed --------- 1.51s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.32s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.23s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface ethtest1 ------------------------------------------ 1.16s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Create veth interface ethtest0 ------------------------------------------ 1.14s /tmp/tmp088uft4w/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmp088uft4w/tests/tests_network_state_nm.yml:5 --------------------------- Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:5 -------------------- Get the ethtest1 state configuration ------------------------------------ 0.86s /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:77 ------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.86s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:3 -------------------- Get the route configuration --------------------------------------------- 0.83s /tmp/tmp088uft4w/tests/playbooks/tests_network_state.yml:113 ------------------ 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/tmpy4hq2u0g 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/tmpt4s8r_w1/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 Wednesday 03 August 2022 18:13:10 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-8-y.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659550390.5754886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659550389.5744886, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25269081, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548924.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3052629837", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:13 Wednesday 03 August 2022 18:13:10 +0000 (0:00:00.597) 0:00:00.614 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8-y.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': 25269081, 'dev': 64515, 'nlink': 1, 'atime': 1659550390.5754886, 'mtime': 1659548924.0, 'ctime': 1659550389.5744886, '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': '3052629837', '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/libexec/platform-python'}, '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/libexec/platform-python" }, "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": 1659550390.5754886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659550389.5744886, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25269081, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548924.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3052629837", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:19 Wednesday 03 August 2022 18:13:10 +0000 (0:00:00.035) 0:00:00.650 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003839", "end": "2022-08-03 14:13:11.327115", "rc": 0, "start": "2022-08-03 14:13:11.323276" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 18:13:11 +0000 (0:00:00.489) 0:00:01.140 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.49s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_network_state_nm.yml ******************************************* 3 plays in /tmp/tmpt4s8r_w1/tests/network/tests_network_state_nm.yml PLAY [Run playbook 'playbooks/tests_network_state.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/tests_network_state_nm.yml:5 Wednesday 03 August 2022 18:13:11 +0000 (0:00:00.091) 0:00:01.232 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tests_network_state_nm.yml:8 Wednesday 03 August 2022 18:13:12 +0000 (0:00:01.067) 0:00:02.299 ****** included: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml for /cache/rhel-8-y.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 18:13:12 +0000 (0:00:00.027) 0:00:02.326 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 18:13:12 +0000 (0:00:00.021) 0:00:02.348 ****** included: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml for /cache/rhel-8-y.qcow2.snap TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 18:13:12 +0000 (0:00:00.029) 0:00:02.378 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 18:13:13 +0000 (0:00:00.362) 0:00:02.740 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 18:13:13 +0000 (0:00:00.022) 0:00:02.763 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.401683", "end": "2022-08-03 14:13:13.715834", "rc": 0, "start": "2022-08-03 14:13:13.314151" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 18:13:13 +0000 (0:00:00.766) 0:00:03.529 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tests_network_state_nm.yml:9 Wednesday 03 August 2022 18:13:13 +0000 (0:00:00.021) 0:00:03.551 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:3 Wednesday 03 August 2022 18:13:13 +0000 (0:00:00.045) 0:00:03.596 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:5 Wednesday 03 August 2022 18:13:15 +0000 (0:00:01.859) 0:00:05.455 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:14 Wednesday 03 August 2022 18:13:16 +0000 (0:00:00.839) 0:00:06.294 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:18 Wednesday 03 August 2022 18:13:16 +0000 (0:00:00.046) 0:00:06.341 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 18:13:16 +0000 (0:00:00.057) 0:00:06.399 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 18:13:16 +0000 (0:00:00.043) 0:00:06.443 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002850", "end": "2022-08-03 14:13:17.034462", "rc": 0, "start": "2022-08-03 14:13:17.031612" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 18:13:17 +0000 (0:00:00.400) 0:00:06.844 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 18:13:17 +0000 (0:00:00.081) 0:00:06.925 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:19 Wednesday 03 August 2022 18:13:17 +0000 (0:00:00.073) 0:00:06.999 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 18:13:17 +0000 (0:00:00.062) 0:00:07.061 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 18:13:17 +0000 (0:00:00.034) 0:00:07.096 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 18:13:17 +0000 (0:00:00.033) 0:00:07.130 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 18:13:17 +0000 (0:00:00.044) 0:00:07.174 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 18:13:17 +0000 (0:00:00.081) 0:00:07.256 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003002", "end": "2022-08-03 14:13:17.831133", "rc": 0, "start": "2022-08-03 14:13:17.828131" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 18:13:17 +0000 (0:00:00.386) 0:00:07.642 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 18:13:17 +0000 (0:00:00.045) 0:00:07.688 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 18:13:18 +0000 (0:00:00.043) 0:00:07.731 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 18:13:19 +0000 (0:00:01.757) 0:00:09.489 ****** changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.007454", "end": "2022-08-03 14:13:20.081064", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2022-08-03 14:13:20.073610" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.007228", "end": "2022-08-03 14:13:20.442972", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2022-08-03 14:13:20.435744" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.005244", "end": "2022-08-03 14:13:20.798170", "item": "ip link set ethtest0 up", "rc": 0, "start": "2022-08-03 14:13:20.792926" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 18:13:20 +0000 (0:00:01.124) 0:00:10.613 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.024442", "end": "2022-08-03 14:13:21.209098", "rc": 0, "start": "2022-08-03 14:13:21.184656" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 18:13:21 +0000 (0:00:00.409) 0:00:11.023 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 18:13:21 +0000 (0:00:00.036) 0:00:11.060 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 18:13:21 +0000 (0:00:00.036) 0:00:11.096 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 18:13:21 +0000 (0:00:00.035) 0:00:11.132 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 18:13:21 +0000 (0:00:00.037) 0:00:11.169 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:22 Wednesday 03 August 2022 18:13:21 +0000 (0:00:00.034) 0:00:11.204 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 18:13:21 +0000 (0:00:00.058) 0:00:11.262 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 18:13:21 +0000 (0:00:00.045) 0:00:11.308 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659550400.078615, "block_size": 4096, "blocks": 0, "ctime": 1659550400.078615, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37473, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1659550400.078615, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 ethtest0 is present] ******************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 18:13:21 +0000 (0:00:00.399) 0:00:11.707 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set type=veth and interface=ethtest1] ************************************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:23 Wednesday 03 August 2022 18:13:22 +0000 (0:00:00.048) 0:00:11.756 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:27 Wednesday 03 August 2022 18:13:22 +0000 (0:00:00.045) 0:00:11.802 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 18:13:22 +0000 (0:00:00.059) 0:00:11.861 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 18:13:22 +0000 (0:00:00.041) 0:00:11.902 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003526", "end": "2022-08-03 14:13:22.482358", "rc": 0, "start": "2022-08-03 14:13:22.478832" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 18:13:22 +0000 (0:00:00.392) 0:00:12.295 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 18:13:22 +0000 (0:00:00.045) 0:00:12.340 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:28 Wednesday 03 August 2022 18:13:22 +0000 (0:00:00.042) 0:00:12.383 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 18:13:22 +0000 (0:00:00.059) 0:00:12.443 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 18:13:22 +0000 (0:00:00.035) 0:00:12.478 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 18:13:22 +0000 (0:00:00.033) 0:00:12.512 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 18:13:22 +0000 (0:00:00.043) 0:00:12.555 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 18:13:22 +0000 (0:00:00.042) 0:00:12.598 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002735", "end": "2022-08-03 14:13:23.198973", "rc": 0, "start": "2022-08-03 14:13:23.196238" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 18:13:23 +0000 (0:00:00.410) 0:00:13.008 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 18:13:23 +0000 (0:00:00.046) 0:00:13.055 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 18:13:23 +0000 (0:00:00.074) 0:00:13.129 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 18:13:25 +0000 (0:00:01.607) 0:00:14.737 ****** changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link add ethtest1 type veth peer name peerethtest1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "ethtest1", "type", "veth", "peer", "name", "peerethtest1" ], "delta": "0:00:00.004254", "end": "2022-08-03 14:13:25.351196", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2022-08-03 14:13:25.346942" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.005345", "end": "2022-08-03 14:13:25.712534", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2022-08-03 14:13:25.707189" } changed: [/cache/rhel-8-y.qcow2.snap] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.008323", "end": "2022-08-03 14:13:26.071992", "item": "ip link set ethtest1 up", "rc": 0, "start": "2022-08-03 14:13:26.063669" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 18:13:26 +0000 (0:00:01.147) 0:00:15.884 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.020174", "end": "2022-08-03 14:13:26.504532", "rc": 0, "start": "2022-08-03 14:13:26.484358" } TASK [Delete veth interface ethtest1] ****************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 18:13:26 +0000 (0:00:00.430) 0:00:16.314 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 18:13:26 +0000 (0:00:00.036) 0:00:16.351 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 18:13:26 +0000 (0:00:00.037) 0:00:16.388 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 18:13:26 +0000 (0:00:00.036) 0:00:16.425 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 18:13:26 +0000 (0:00:00.035) 0:00:16.460 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:31 Wednesday 03 August 2022 18:13:26 +0000 (0:00:00.036) 0:00:16.496 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 18:13:26 +0000 (0:00:00.061) 0:00:16.558 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface ethtest1] ***************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 18:13:26 +0000 (0:00:00.044) 0:00:16.602 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659550405.35019, "block_size": 4096, "blocks": 0, "ctime": 1659550405.35019, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37729, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest1", "lnk_target": "../../devices/virtual/net/ethtest1", "mode": "0777", "mtime": 1659550405.35019, "nlink": 1, "path": "/sys/class/net/ethtest1", "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 ethtest1 is present] ******************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 18:13:27 +0000 (0:00:00.387) 0:00:16.989 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 18:13:27 +0000 (0:00:00.048) 0:00:17.037 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 18:13:27 +0000 (0:00:00.055) 0:00:17.092 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 18:13:27 +0000 (0:00:00.521) 0:00:17.614 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 18:13:29 +0000 (0:00:01.806) 0:00:19.421 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 18:13:31 +0000 (0:00:01.446) 0:00:20.867 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 18:13:31 +0000 (0:00:00.126) 0:00:20.994 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 18:13:31 +0000 (0:00:00.059) 0:00:21.053 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 18:13:31 +0000 (0:00:00.057) 0:00:21.111 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 18:13:31 +0000 (0:00:00.078) 0:00:21.189 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: NetworkManager-config-server-1:1.39.10-1.el8.noarch", "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: python3-libnmstate-1.3.2-1.el8.noarch", "Installed: nispor-1.2.7-1.el8.x86_64", "Installed: nmstate-1.3.2-1.el8.x86_64", "Installed: python3-nispor-1.2.7-1.el8.noarch" ] } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 18:13:34 +0000 (0:00:02.656) 0:00:23.846 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 18:13:34 +0000 (0:00:00.061) 0:00:23.907 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 18:13:34 +0000 (0:00:00.114) 0:00:24.022 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 18:13:35 +0000 (0:00:00.833) 0:00:24.855 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 18:13:35 +0000 (0:00:00.062) 0:00:24.918 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 18:13:35 +0000 (0:00:00.055) 0:00:24.973 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 18:13:35 +0000 (0:00:00.054) 0:00:25.028 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 18:13:36 +0000 (0:00:00.732) 0:00:25.761 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "52:54:00:12:34:56", "accept-all-mac-addresses": false, "ethernet": { "auto-negotiation": false }, "ethtool": { "feature": { "tx-generic-segmentation": false }, "ring": { "rx": 256, "tx": 256 } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::ba4c:661d:62c9:4adc", "prefix-length": 64 } ], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:54:00:12:34:56", "mtu": 1500, "name": "eth0", "state": "up", "type": "ethernet" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::4082:8ff:fe06:265b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "42:82:08:06:26:5B", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::307a:ec8c:39fd:4704", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:38:DB:6D:58:FD", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::e4eb:28ff:fe1a:6746", "prefix-length": 64 } ], "enabled": true }, "mac-address": "E6:EB:28:1A:67:46", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::d8b1:31ff:feeb:aede", "prefix-length": 64 } ], "enabled": true }, "mac-address": "DA:B1:31:EB:AE:DE", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 18:13:36 +0000 (0:00:00.943) 0:00:26.704 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 18:13:37 +0000 (0:00:00.073) 0:00:26.778 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 18:13:37 +0000 (0:00:00.068) 0:00:26.846 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "52:54:00:12:34:56", "accept-all-mac-addresses": false, "ethernet": { "auto-negotiation": false }, "ethtool": { "feature": { "tx-generic-segmentation": false }, "ring": { "rx": 256, "tx": 256 } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::ba4c:661d:62c9:4adc", "prefix-length": 64 } ], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:54:00:12:34:56", "mtu": 1500, "name": "eth0", "state": "up", "type": "ethernet" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::4082:8ff:fe06:265b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "42:82:08:06:26:5B", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::307a:ec8c:39fd:4704", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:38:DB:6D:58:FD", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::e4eb:28ff:fe1a:6746", "prefix-length": 64 } ], "enabled": true }, "mac-address": "E6:EB:28:1A:67:46", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::d8b1:31ff:feeb:aede", "prefix-length": 64 } ], "enabled": true }, "mac-address": "DA:B1:31:EB:AE:DE", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 18:13:37 +0000 (0:00:00.079) 0:00:26.925 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get the ethtest0 state configuration] ************************************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:71 Wednesday 03 August 2022 18:13:37 +0000 (0:00:00.560) 0:00:27.485 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.416734", "end": "2022-08-03 14:13:38.480624", "rc": 0, "start": "2022-08-03 14:13:38.063890" } STDOUT: --- dns-resolver: config: {} running: search: [] server: - 10.0.2.3 route-rules: config: [] routes: config: [] running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::4082:8ff:fe06:265b prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 42:82:08:06:26:5B mtu: 1500 veth: peer: peerethtest0 STDERR: 2022-08-03 14:13:38,421 root DEBUG NetworkManager version 1.39.10 2022-08-03 14:13:38,423 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2022-08-03 14:13:38,423 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2022-08-03 14:13:38,424 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2022-08-03 14:13:38,425 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2022-08-03 14:13:38,425 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2022-08-03 14:13:38,426 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2022-08-03 14:13:38,428 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2022-08-03 14:13:38,428 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2022-08-03 14:13:38,428 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:77 Wednesday 03 August 2022 18:13:38 +0000 (0:00:00.827) 0:00:28.312 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.425652", "end": "2022-08-03 14:13:39.322275", "rc": 0, "start": "2022-08-03 14:13:38.896623" } STDOUT: --- dns-resolver: config: {} running: search: [] server: - 10.0.2.3 route-rules: config: [] routes: config: [] running: - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::307a:ec8c:39fd:4704 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: 96:38:DB:6D:58:FD mtu: 1500 veth: peer: peerethtest1 STDERR: 2022-08-03 14:13:39,266 root DEBUG NetworkManager version 1.39.10 2022-08-03 14:13:39,267 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2022-08-03 14:13:39,268 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2022-08-03 14:13:39,268 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2022-08-03 14:13:39,269 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2022-08-03 14:13:39,270 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2022-08-03 14:13:39,271 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2022-08-03 14:13:39,273 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2022-08-03 14:13:39,273 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2022-08-03 14:13:39,273 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the ethtest0 state configuration contains the specified settings] *** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:83 Wednesday 03 August 2022 18:13:39 +0000 (0:00:00.839) 0:00:29.152 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:90 Wednesday 03 August 2022 18:13:39 +0000 (0:00:00.067) 0:00:29.220 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 18:13:39 +0000 (0:00:00.065) 0:00:29.285 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 18:13:39 +0000 (0:00:00.083) 0:00:29.368 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 18:13:40 +0000 (0:00:00.543) 0:00:29.912 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 18:13:41 +0000 (0:00:01.732) 0:00:31.645 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 18:13:43 +0000 (0:00:01.293) 0:00:32.938 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 18:13:43 +0000 (0:00:00.069) 0:00:33.008 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 18:13:43 +0000 (0:00:00.059) 0:00:33.067 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 18:13:43 +0000 (0:00:00.059) 0:00:33.126 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 18:13:43 +0000 (0:00:00.153) 0:00:33.280 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 18:13:45 +0000 (0:00:01.576) 0:00:34.856 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 18:13:45 +0000 (0:00:00.061) 0:00:34.918 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 18:13:45 +0000 (0:00:00.055) 0:00:34.973 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 18:13:45 +0000 (0:00:00.572) 0:00:35.546 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 18:13:45 +0000 (0:00:00.061) 0:00:35.608 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 18:13:46 +0000 (0:00:00.109) 0:00:35.718 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 18:13:46 +0000 (0:00:00.056) 0:00:35.774 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 18:13:46 +0000 (0:00:00.545) 0:00:36.320 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "52:54:00:12:34:56", "accept-all-mac-addresses": false, "ethernet": { "auto-negotiation": false }, "ethtool": { "feature": { "tx-generic-segmentation": false }, "ring": { "rx": 256, "tx": 256 } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::ba4c:661d:62c9:4adc", "prefix-length": 64 } ], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:54:00:12:34:56", "mtu": 1500, "name": "eth0", "state": "up", "type": "ethernet" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::4082:8ff:fe06:265b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "42:82:08:06:26:5B", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::307a:ec8c:39fd:4704", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:38:DB:6D:58:FD", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::e4eb:28ff:fe1a:6746", "prefix-length": 64 } ], "enabled": true }, "mac-address": "E6:EB:28:1A:67:46", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::d8b1:31ff:feeb:aede", "prefix-length": 64 } ], "enabled": true }, "mac-address": "DA:B1:31:EB:AE:DE", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 18:13:47 +0000 (0:00:00.773) 0:00:37.093 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 18:13:47 +0000 (0:00:00.069) 0:00:37.163 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 18:13:47 +0000 (0:00:00.066) 0:00:37.229 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "52:54:00:12:34:56", "accept-all-mac-addresses": false, "ethernet": { "auto-negotiation": false }, "ethtool": { "feature": { "tx-generic-segmentation": false }, "ring": { "rx": 256, "tx": 256 } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::ba4c:661d:62c9:4adc", "prefix-length": 64 } ], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:54:00:12:34:56", "mtu": 1500, "name": "eth0", "state": "up", "type": "ethernet" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::4082:8ff:fe06:265b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "42:82:08:06:26:5B", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::307a:ec8c:39fd:4704", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:38:DB:6D:58:FD", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::e4eb:28ff:fe1a:6746", "prefix-length": 64 } ], "enabled": true }, "mac-address": "E6:EB:28:1A:67:46", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::d8b1:31ff:feeb:aede", "prefix-length": 64 } ], "enabled": true }, "mac-address": "DA:B1:31:EB:AE:DE", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 18:13:47 +0000 (0:00:00.076) 0:00:37.305 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get the route configuration] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:109 Wednesday 03 August 2022 18:13:48 +0000 (0:00:00.461) 0:00:37.766 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.414178", "end": "2022-08-03 14:13:48.742005", "rc": 0, "start": "2022-08-03 14:13:48.327827" } STDOUT: --- dns-resolver: config: {} running: search: [] server: - 10.0.2.3 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fec0::/64 metric: 100 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: ::/0 metric: 100 next-hop-address: fe80::2 next-hop-interface: eth0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.0.2.2 next-hop-interface: eth0 table-id: 254 - destination: 10.0.2.0/24 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethernet: auto-negotiation: false ethtool: feature: tx-generic-segmentation: false ring: rx: 256 tx: 256 ipv4: enabled: true address: - ip: 10.0.2.15 prefix-length: 24 auto-dns: true auto-gateway: true auto-route-table-id: 0 auto-routes: true dhcp: true ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::ba4c:661d:62c9:4adc prefix-length: 64 - ip: fec0::82db:8e02:4da2:7355 prefix-length: 64 auto-dns: true auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: '52:54:00:12:34:56' mtu: 1500 - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::4082:8ff:fe06:265b prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 42:82:08:06:26:5B mtu: 1500 veth: peer: peerethtest0 - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::307a:ec8c:39fd:4704 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: 96:38:DB:6D:58:FD mtu: 1500 veth: peer: peerethtest1 - name: lo type: unknown state: up accept-all-mac-addresses: false ethtool: feature: tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 127.0.0.1 prefix-length: 8 ipv6: enabled: true address: - ip: ::1 prefix-length: 128 mac-address: 00:00:00:00:00:00 mtu: 65536 - name: peerethtest0 type: veth state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::e4eb:28ff:fe1a:6746 prefix-length: 64 mac-address: E6:EB:28:1A:67:46 mtu: 1500 veth: peer: ethtest0 - name: peerethtest1 type: veth state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::d8b1:31ff:feeb:aede prefix-length: 64 mac-address: DA:B1:31:EB:AE:DE mtu: 1500 veth: peer: ethtest1 STDERR: 2022-08-03 14:13:48,680 root DEBUG NetworkManager version 1.39.10 2022-08-03 14:13:48,681 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2022-08-03 14:13:48,681 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2022-08-03 14:13:48,681 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2022-08-03 14:13:48,682 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2022-08-03 14:13:48,683 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2022-08-03 14:13:48,684 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2022-08-03 14:13:48,685 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2022-08-03 14:13:48,686 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2022-08-03 14:13:48,686 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the route configuration contains the specified route] ******** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:115 Wednesday 03 August 2022 18:13:48 +0000 (0:00:00.809) 0:00:38.576 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Set the DNS processing mode and the resolv.conf management mode] ********* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:125 Wednesday 03 August 2022 18:13:48 +0000 (0:00:00.072) 0:00:38.648 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "backup": "", "changed": true } MSG: line added TASK [Restart the NetworkManager] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:131 Wednesday 03 August 2022 18:13:49 +0000 (0:00:00.539) 0:00:39.187 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:50:23 EDT", "ActiveEnterTimestampMonotonic": "105130441", "ActiveExitTimestamp": "Wed 2022-08-03 13:50:23 EDT", "ActiveExitTimestampMonotonic": "105066811", "ActiveState": "active", "After": "dbus.socket sysinit.target cloud-init-local.service system.slice dbus.service basic.target systemd-journald.socket network-pre.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:50:23 EDT", "AssertTimestampMonotonic": "105105096", "Before": "network.service NetworkManager-wait-online.service multi-user.target shutdown.target cloud-init.service network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_dac_override cap_kill cap_setgid cap_setuid cap_net_bind_service cap_net_admin cap_net_raw cap_sys_module cap_sys_chroot cap_audit_write", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:50:23 EDT", "ConditionTimestampMonotonic": "105105095", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "21551", "ExecMainStartTimestamp": "Wed 2022-08-03 13:50:23 EDT", "ExecMainStartTimestampMonotonic": "105106166", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:50:23 EDT", "InactiveEnterTimestampMonotonic": "105104049", "InactiveExitTimestamp": "Wed 2022-08-03 13:50:23 EDT", "InactiveExitTimestampMonotonic": "105106216", "InvocationID": "7bd6ea5ca93545b8a1dfefa32bbb6060", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "65536", "LimitNOFILESoft": "65536", "LimitNPROC": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "21551", "MemoryAccounting": "yes", "MemoryCurrent": "4849664", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 13:50:23 EDT", "StateChangeTimestampMonotonic": "105130441", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11140", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Wed 2022-08-03 13:50:23 EDT", "WatchdogTimestampMonotonic": "105130439", "WatchdogUSec": "0" } } TASK [Install the systemd-resolved] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:136 Wednesday 03 August 2022 18:13:50 +0000 (0:00:00.629) 0:00:39.816 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable the systemd-resolved service] ************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:143 Wednesday 03 August 2022 18:13:50 +0000 (0:00:00.051) 0:00:39.868 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "enabled": true, "name": "systemd-resolved", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "tmp.mount system.slice systemd-networkd.service -.mount systemd-tmpfiles-setup.service systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "cap_setpcap cap_net_bind_service cap_net_raw", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "nss-lookup.target shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_setpcap cap_net_bind_service cap_net_raw", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Name Resolution", "DevicePolicy": "closed", "Documentation": "man:systemd-resolved.service(8) https://www.freedesktop.org/wiki/Software/systemd/resolved https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib/systemd/systemd-resolved ; argv[]=/usr/lib/systemd/systemd-resolved ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/systemd-resolved.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "systemd-resolved.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "systemd-resolved.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "yes", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProtectControlGroups": "yes", "ProtectHome": "yes", "ProtectKernelModules": "yes", "ProtectKernelTunables": "yes", "ProtectSystem": "strict", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount", "RequiresMountsFor": "/var/tmp /run/systemd/resolve", "Restart": "always", "RestartUSec": "0", "RestrictNamespaces": "yes", "RestrictRealtime": "yes", "RestrictSUIDSGID": "yes", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectory": "systemd/resolve", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "yes", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallArchitectures": "native", "SystemCallErrorNumber": "1", "SystemCallFilter": "_llseek _newselect accept accept4 access add_key alarm arch_prctl bind brk capget capset chdir chmod chown chown32 clock_getres clock_gettime clock_nanosleep clone close connect copy_file_range creat dup dup2 dup3 epoll_create epoll_create1 epoll_ctl epoll_ctl_old epoll_pwait epoll_wait epoll_wait_old eventfd eventfd2 execve execveat exit exit_group faccessat fadvise64 fadvise64_64 fallocate fchdir fchmod fchmodat fchown fchown32 fchownat fcntl fcntl64 fdatasync fgetxattr flistxattr flock fork fremovexattr fsetxattr fstat fstat64 fstatat64 fstatfs fstatfs64 fsync ftruncate ftruncate64 futex futimesat get_mempolicy get_robust_list get_thread_area getcpu getcwd getdents getdents64 getegid getegid32 geteuid geteuid32 getgid getgid32 getgroups getgroups32 getitimer getpeername getpgid getpgrp getpid getppid getpriority getrandom getresgid getresgid32 getresuid getresuid32 getrlimit getrusage getsid getsockname getsockopt gettid gettimeofday getuid getuid32 getxattr inotify_add_watch inotify_init inotify_init1 inotify_rm_watch io_cancel io_destroy io_getevents io_setup io_submit ioctl ioprio_get ioprio_set ipc kcmp keyctl kill lchown lchown32 lgetxattr link linkat listen listxattr llistxattr lremovexattr lseek lsetxattr lstat lstat64 madvise mbind membarrier memfd_create migrate_pages mincore mkdir mkdirat mknod mknodat mlock mlock2 mlockall mmap mmap2 move_pages mprotect mq_getsetattr mq_notify mq_open mq_timedreceive mq_timedsend mq_unlink mremap msgctl msgget msgrcv msgsnd msync munlock munlockall munmap name_to_handle_at nanosleep newfstatat nice oldfstat oldlstat oldolduname oldstat olduname open openat pause personality pipe pipe2 poll ppoll prctl pread64 preadv preadv2 prlimit64 process_vm_readv process_vm_writev pselect6 pwrite64 pwritev pwritev2 read readahead readdir readlink readlinkat readv recv recvfrom recvmmsg recvmsg remap_file_pages removexattr rename renameat renameat2 request_key restart_syscall rmdir rt_sigaction rt_sigpending rt_sigprocmask rt_sigqueueinfo rt_sigreturn rt_sigsuspend rt_sigtimedwait rt_tgsigqueueinfo sched_get_priority_max sched_get_priority_min sched_getaffinity sched_getattr sched_getparam sched_getscheduler sched_rr_get_interval sched_setaffinity sched_setattr sched_setparam sched_setscheduler sched_yield select semctl semget semop semtimedop send sendfile sendfile64 sendmmsg sendmsg sendto set_mempolicy set_robust_list set_thread_area set_tid_address set_tls setfsgid setfsgid32 setfsuid setfsuid32 setgid setgid32 setgroups setgroups32 setitimer setns setpgid setpriority setregid setregid32 setresgid setresgid32 setresuid setresuid32 setreuid setreuid32 setrlimit setsid setsockopt setuid setuid32 setxattr shmat shmctl shmdt shmget shutdown sigaction sigaltstack signal signalfd signalfd4 sigpending sigprocmask sigreturn sigsuspend socket socketcall socketpair splice stat stat64 statfs statfs64 statx symlink symlinkat sync sync_file_range syncfs sysinfo tee tgkill time timer_create timer_delete timer_getoverrun timer_gettime timer_settime timerfd_create timerfd_gettime timerfd_settime times tkill truncate truncate64 ugetrlimit umask uname unlink unlinkat unshare userfaultfd utime utimensat utimes vfork vmsplice wait4 waitid waitpid write writev", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11140", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "systemd-resolve", "UtmpMode": "init", "Wants": "nss-lookup.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "3min" } } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 18:13:50 +0000 (0:00:00.764) 0:00:40.632 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 18:13:51 +0000 (0:00:00.084) 0:00:40.716 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 18:13:51 +0000 (0:00:00.553) 0:00:41.270 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 18:13:53 +0000 (0:00:01.697) 0:00:42.967 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 18:13:54 +0000 (0:00:01.215) 0:00:44.183 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 18:13:54 +0000 (0:00:00.116) 0:00:44.299 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 18:13:54 +0000 (0:00:00.060) 0:00:44.360 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 18:13:54 +0000 (0:00:00.061) 0:00:44.421 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 18:13:54 +0000 (0:00:00.089) 0:00:44.510 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 18:13:56 +0000 (0:00:01.485) 0:00:45.996 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 18:13:56 +0000 (0:00:00.064) 0:00:46.060 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 18:13:56 +0000 (0:00:00.066) 0:00:46.126 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 18:13:56 +0000 (0:00:00.563) 0:00:46.690 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 18:13:57 +0000 (0:00:00.060) 0:00:46.751 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 18:13:57 +0000 (0:00:00.057) 0:00:46.808 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 18:13:57 +0000 (0:00:00.055) 0:00:46.864 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 18:13:57 +0000 (0:00:00.558) 0:00:47.422 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "52:54:00:12:34:56", "accept-all-mac-addresses": false, "ethernet": { "auto-negotiation": false }, "ethtool": { "feature": { "tx-generic-segmentation": false }, "ring": { "rx": 256, "tx": 256 } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::ba4c:661d:62c9:4adc", "prefix-length": 64 } ], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:54:00:12:34:56", "mtu": 1500, "name": "eth0", "state": "up", "type": "ethernet" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::4082:8ff:fe06:265b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "42:82:08:06:26:5B", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::307a:ec8c:39fd:4704", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:38:DB:6D:58:FD", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::e4eb:28ff:fe1a:6746", "prefix-length": 64 } ], "enabled": true }, "mac-address": "E6:EB:28:1A:67:46", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::d8b1:31ff:feeb:aede", "prefix-length": 64 } ], "enabled": true }, "mac-address": "DA:B1:31:EB:AE:DE", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 18:13:58 +0000 (0:00:00.753) 0:00:48.175 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 18:13:58 +0000 (0:00:00.070) 0:00:48.246 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 18:13:58 +0000 (0:00:00.068) 0:00:48.314 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "52:54:00:12:34:56", "accept-all-mac-addresses": false, "ethernet": { "auto-negotiation": false }, "ethtool": { "feature": { "tx-generic-segmentation": false }, "ring": { "rx": 256, "tx": 256 } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::ba4c:661d:62c9:4adc", "prefix-length": 64 } ], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:54:00:12:34:56", "mtu": 1500, "name": "eth0", "state": "up", "type": "ethernet" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::4082:8ff:fe06:265b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "42:82:08:06:26:5B", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::307a:ec8c:39fd:4704", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:38:DB:6D:58:FD", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::e4eb:28ff:fe1a:6746", "prefix-length": 64 } ], "enabled": true }, "mac-address": "E6:EB:28:1A:67:46", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-checksum": true, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::d8b1:31ff:feeb:aede", "prefix-length": 64 } ], "enabled": true }, "mac-address": "DA:B1:31:EB:AE:DE", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 18:13:58 +0000 (0:00:00.117) 0:00:48.431 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:161 Wednesday 03 August 2022 18:13:59 +0000 (0:00:00.461) 0:00:48.893 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.409386", "end": "2022-08-03 14:13:59.868106", "rc": 0, "start": "2022-08-03 14:13:59.458720" } STDOUT: --- dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 running: search: - example.com - example.org server: - 2001:4860:4860::8888 - 10.0.2.3 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fec0::/64 metric: 100 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: ::/0 metric: 100 next-hop-address: fe80::2 next-hop-interface: eth0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.0.2.2 next-hop-interface: eth0 table-id: 254 - destination: 10.0.2.0/24 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethernet: auto-negotiation: false ethtool: feature: tx-generic-segmentation: false ring: rx: 256 tx: 256 ipv4: enabled: true address: - ip: 10.0.2.15 prefix-length: 24 auto-dns: true auto-gateway: true auto-route-table-id: 0 auto-routes: true dhcp: true ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::ba4c:661d:62c9:4adc prefix-length: 64 - ip: fec0::82db:8e02:4da2:7355 prefix-length: 64 auto-dns: true auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: '52:54:00:12:34:56' mtu: 1500 - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::4082:8ff:fe06:265b prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 42:82:08:06:26:5B mtu: 1500 veth: peer: peerethtest0 - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::307a:ec8c:39fd:4704 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: 96:38:DB:6D:58:FD mtu: 1500 veth: peer: peerethtest1 - name: lo type: unknown state: up accept-all-mac-addresses: false ethtool: feature: tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 127.0.0.1 prefix-length: 8 ipv6: enabled: true address: - ip: ::1 prefix-length: 128 mac-address: 00:00:00:00:00:00 mtu: 65536 - name: peerethtest0 type: veth state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::e4eb:28ff:fe1a:6746 prefix-length: 64 mac-address: E6:EB:28:1A:67:46 mtu: 1500 veth: peer: ethtest0 - name: peerethtest1 type: veth state: up accept-all-mac-addresses: false ethtool: feature: rx-checksum: true rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::d8b1:31ff:feeb:aede prefix-length: 64 mac-address: DA:B1:31:EB:AE:DE mtu: 1500 veth: peer: ethtest1 STDERR: 2022-08-03 14:13:59,804 root DEBUG NetworkManager version 1.39.10 2022-08-03 14:13:59,806 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2022-08-03 14:13:59,806 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2022-08-03 14:13:59,806 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2022-08-03 14:13:59,807 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2022-08-03 14:13:59,808 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2022-08-03 14:13:59,808 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2022-08-03 14:13:59,810 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2022-08-03 14:13:59,811 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2022-08-03 14:13:59,811 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the DNS configuration from the file `/etc/resolv.conf`] ************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:167 Wednesday 03 August 2022 18:13:59 +0000 (0:00:00.810) 0:00:49.703 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/resolv.conf" ], "delta": "0:00:00.002460", "end": "2022-08-03 14:14:00.277954", "rc": 0, "start": "2022-08-03 14:14:00.275494" } STDOUT: # Generated by NetworkManager search virt.pnr.lab.eng.rdu2.redhat.com nameserver 10.0.2.3 TASK [Check if `/etc/resolv.conf` is generated by NM] ************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:173 Wednesday 03 August 2022 18:14:00 +0000 (0:00:00.402) 0:00:50.105 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "Generated by NetworkManager", "/etc/resolv.conf" ], "delta": "0:00:01.004426", "end": "2022-08-03 14:14:01.686122", "rc": 0, "start": "2022-08-03 14:14:00.681696" } STDOUT: # Generated by NetworkManager TASK [Assert that the nmstatectl contains the specified DNS configuration] ***** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:179 Wednesday 03 August 2022 18:14:01 +0000 (0:00:01.414) 0:00:51.520 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the file `/etc/resolv.conf` does not contain the specified DNS configuration] *** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:187 Wednesday 03 August 2022 18:14:01 +0000 (0:00:00.068) 0:00:51.589 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check resolvectl] ************************************************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:193 Wednesday 03 August 2022 18:14:02 +0000 (0:00:00.146) 0:00:51.736 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "attempts": 1, "changed": false, "cmd": [ "resolvectl" ], "delta": "0:00:00.128935", "end": "2022-08-03 14:14:02.429203", "rc": 0, "start": "2022-08-03 14:14:02.300268" } STDOUT: Global LLMNR setting: yes MulticastDNS setting: yes DNSOverTLS setting: no DNSSEC setting: allow-downgrade DNSSEC supported: yes Current DNS Server: 10.0.2.3 DNS Servers: 10.0.2.3 DNS Domain: virt.pnr.lab.eng.rdu2.redhat.com DNSSEC NTA: 10.in-addr.arpa 16.172.in-addr.arpa 168.192.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa corp d.f.ip6.arpa home internal intranet lan local private test Link 104 (ethtest1) Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSOverTLS setting: no DNSSEC setting: allow-downgrade DNSSEC supported: yes DNS Servers: 2001:4860:4860::8888 DNS Domain: example.com example.org Link 103 (peerethtest1) Current Scopes: LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSOverTLS setting: no DNSSEC setting: allow-downgrade DNSSEC supported: yes Link 102 (ethtest0) Current Scopes: LLMNR/IPv4 LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSOverTLS setting: no DNSSEC setting: allow-downgrade DNSSEC supported: yes Link 101 (peerethtest0) Current Scopes: LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSOverTLS setting: no DNSSEC setting: allow-downgrade DNSSEC supported: yes Link 2 (eth0) Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSOverTLS setting: no DNSSEC setting: allow-downgrade DNSSEC supported: yes DNS Servers: 10.0.2.3 TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:201 Wednesday 03 August 2022 18:14:02 +0000 (0:00:00.532) 0:00:52.268 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/delete_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 18:14:02 +0000 (0:00:00.102) 0:00:52.371 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.014776", "end": "2022-08-03 14:14:02.961424", "rc": 0, "start": "2022-08-03 14:14:02.946648" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:202 Wednesday 03 August 2022 18:14:03 +0000 (0:00:00.421) 0:00:52.793 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 18:14:03 +0000 (0:00:00.091) 0:00:52.884 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface ethtest1] ***************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 18:14:03 +0000 (0:00:00.076) 0:00:52.961 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest1 is absent] ******************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 18:14:03 +0000 (0:00:00.404) 0:00:53.366 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set interface=ethtest0] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:203 Wednesday 03 August 2022 18:14:03 +0000 (0:00:00.152) 0:00:53.518 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:207 Wednesday 03 August 2022 18:14:03 +0000 (0:00:00.066) 0:00:53.584 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/delete_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 18:14:03 +0000 (0:00:00.097) 0:00:53.682 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.011611", "end": "2022-08-03 14:14:04.263600", "rc": 0, "start": "2022-08-03 14:14:04.251989" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:208 Wednesday 03 August 2022 18:14:04 +0000 (0:00:00.412) 0:00:54.094 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 18:14:04 +0000 (0:00:00.092) 0:00:54.187 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 18:14:04 +0000 (0:00:00.072) 0:00:54.259 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 18:14:04 +0000 (0:00:00.394) 0:00:54.654 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=116 changed=13 unreachable=0 failed=0 skipped=42 rescued=0 ignored=0 Wednesday 03 August 2022 18:14:05 +0000 (0:00:00.126) 0:00:54.780 ****** =============================================================================== fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.66s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Gathering Facts --------------------------------------------------------- 1.86s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:3 ------------ fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.76s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.61s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 1.58s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 1.49s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Check if `/etc/resolv.conf` is generated by NM -------------------------- 1.41s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:173 ---------- fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface ethtest1 ------------------------------------------ 1.15s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Create veth interface ethtest0 ------------------------------------------ 1.12s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpt4s8r_w1/tests/network/tests_network_state_nm.yml:5 ------------------- fedora.linux_system_roles.network : Configure networking state ---------- 0.94s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Get the ethtest1 state configuration ------------------------------------ 0.84s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:77 ----------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:5 ------------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.83s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpt4s8r_w1/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_restore.yml:4 Wednesday 03 August 2022 18:14:05 +0000 (0:00:00.046) 0:00:54.827 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006084", "end": "2022-08-03 14:14:05.389187", "rc": 0, "start": "2022-08-03 14:14:05.383103" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=117 changed=14 unreachable=0 failed=0 skipped=42 rescued=0 ignored=0 Wednesday 03 August 2022 18:14:05 +0000 (0:00:00.420) 0:00:55.247 ****** =============================================================================== fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.66s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Gathering Facts --------------------------------------------------------- 1.86s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:3 ------------ fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.76s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install iproute --------------------------------------------------------- 1.61s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 1.58s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 1.49s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Check if `/etc/resolv.conf` is generated by NM -------------------------- 1.41s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:173 ---------- fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface ethtest1 ------------------------------------------ 1.15s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Create veth interface ethtest0 ------------------------------------------ 1.12s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpt4s8r_w1/tests/network/tests_network_state_nm.yml:5 ------------------- fedora.linux_system_roles.network : Configure networking state ---------- 0.94s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Get the ethtest1 state configuration ------------------------------------ 0.84s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:77 ----------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_network_state.yml:5 ------------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.83s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69