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/tmpcwsggv7g 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Wednesday 03 August 2022 15:42:12 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:42:13 +0000 (0:00:01.260) 0:00:01.278 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.26s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpd6fsfezc/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpd6fsfezc/tests/_backup.yml:6 Wednesday 03 August 2022 15:42:13 +0000 (0:00:00.015) 0:00:01.294 ****** ok: [/cache/rhel-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659541331.9257784, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659541330.9247782, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539931.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "98781520", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpd6fsfezc/tests/_backup.yml:13 Wednesday 03 August 2022 15:42:14 +0000 (0:00:00.471) 0:00:01.766 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8.qcow2] => (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': 752168, 'dev': 64515, 'nlink': 1, 'atime': 1659541331.9257784, 'mtime': 1659539931.0, 'ctime': 1659541330.9247782, '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': '98781520', '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'}}, '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_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": 1659541331.9257784, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659541330.9247782, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539931.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "98781520", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpd6fsfezc/tests/_backup.yml:19 Wednesday 03 August 2022 15:42:14 +0000 (0:00:00.035) 0:00:01.801 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004298", "end": "2022-08-03 11:42:13.832643", "rc": 0, "start": "2022-08-03 11:42:13.828345" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:42:14 +0000 (0:00:00.462) 0:00:02.263 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.26s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.47s /tmp/tmpd6fsfezc/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.46s /tmp/tmpd6fsfezc/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpd6fsfezc/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_ipv6_dns_search_nm.yml ***************************************** 2 plays in /tmp/tmpd6fsfezc/tests/tests_ipv6_dns_search_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6_dns_search.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/tests_ipv6_dns_search_nm.yml:5 Wednesday 03 August 2022 15:42:14 +0000 (0:00:00.066) 0:00:02.330 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tests_ipv6_dns_search_nm.yml:8 Wednesday 03 August 2022 15:42:15 +0000 (0:00:01.005) 0:00:03.335 ****** included: /tmp/tmpd6fsfezc/tests/tasks/el_repo_setup.yml for /cache/rhel-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:42:15 +0000 (0:00:00.026) 0:00:03.362 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.021) 0:00:03.383 ****** included: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml for /cache/rhel-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.027) 0:00:03.411 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.353) 0:00:03.764 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.023) 0:00:03.788 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.421685", "end": "2022-08-03 11:42:16.140851", "rc": 0, "start": "2022-08-03 11:42:15.719166" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:42:17 +0000 (0:00:00.782) 0:00:04.570 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpd6fsfezc/tests/tests_ipv6_dns_search_nm.yml:9 Wednesday 03 August 2022 15:42:17 +0000 (0:00:00.021) 0:00:04.591 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:2 Wednesday 03 August 2022 15:42:17 +0000 (0:00:00.047) 0:00:04.639 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:42:18 +0000 (0:00:00.815) 0:00:05.455 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:42:18 +0000 (0:00:00.040) 0:00:05.496 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:42:18 +0000 (0:00:00.552) 0:00:06.048 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:42:20 +0000 (0:00:01.672) 0:00:07.721 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:42:21 +0000 (0:00:01.395) 0:00:09.117 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:42:21 +0000 (0:00:00.078) 0:00:09.195 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:42:21 +0000 (0:00:00.067) 0:00:09.263 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:42:21 +0000 (0:00:00.040) 0:00:09.303 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:42:22 +0000 (0:00:00.077) 0:00:09.381 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:42:22 +0000 (0:00:00.040) 0:00:09.422 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:42:22 +0000 (0:00:00.040) 0:00:09.462 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:42:22 +0000 (0:00:00.055) 0:00:09.517 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:42:22 +0000 (0:00:00.799) 0:00:10.317 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:42:22 +0000 (0:00:00.058) 0:00:10.375 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:42:23 +0000 (0:00:00.036) 0:00:10.412 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:42:23 +0000 (0:00:00.034) 0:00:10.447 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24" ], "auto6": false, "dhcp4": false, "dns": "203.0.113.113", "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': add connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:42:23 +0000 (0:00:00.831) 0:00:11.279 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:42:23 +0000 (0:00:00.040) 0:00:11.319 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, e0e05665-6653-472c-898b-cff242f2cc52", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:42:23 +0000 (0:00:00.049) 0:00:11.369 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24" ], "auto6": false, "dhcp4": false, "dns": "203.0.113.113", "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, e0e05665-6653-472c-898b-cff242f2cc52\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, e0e05665-6653-472c-898b-cff242f2cc52", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:42:24 +0000 (0:00:00.046) 0:00:11.415 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:42:24 +0000 (0:00:00.039) 0:00:11.454 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [Get DNS search entry for IPv4] ******************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:21 Wednesday 03 August 2022 15:42:24 +0000 (0:00:00.495) 0:00:11.949 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.016276", "end": "2022-08-03 11:42:23.899515", "rc": 0, "start": "2022-08-03 11:42:23.883239" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:27 Wednesday 03 August 2022 15:42:24 +0000 (0:00:00.393) 0:00:12.343 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.015730", "end": "2022-08-03 11:42:24.288549", "rc": 0, "start": "2022-08-03 11:42:24.272819" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:33 Wednesday 03 August 2022 15:42:25 +0000 (0:00:00.387) 0:00:12.731 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Assert that DNS search setting for IPv6 is not configured when IPv6 address is not configured] *** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:39 Wednesday 03 August 2022 15:42:25 +0000 (0:00:00.053) 0:00:12.784 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:42:25 +0000 (0:00:00.128) 0:00:12.912 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:42:25 +0000 (0:00:00.062) 0:00:12.975 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:42:26 +0000 (0:00:00.550) 0:00:13.525 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:42:27 +0000 (0:00:01.552) 0:00:15.078 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:42:28 +0000 (0:00:01.246) 0:00:16.325 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:42:28 +0000 (0:00:00.049) 0:00:16.375 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:42:29 +0000 (0:00:00.039) 0:00:16.415 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:42:29 +0000 (0:00:00.042) 0:00:16.457 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:42:29 +0000 (0:00:00.076) 0:00:16.534 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:42:29 +0000 (0:00:00.040) 0:00:16.574 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:42:29 +0000 (0:00:00.043) 0:00:16.617 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:42:29 +0000 (0:00:00.055) 0:00:16.672 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:42:29 +0000 (0:00:00.547) 0:00:17.220 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:42:29 +0000 (0:00:00.055) 0:00:17.275 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:42:29 +0000 (0:00:00.036) 0:00:17.312 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:42:29 +0000 (0:00:00.034) 0:00:17.347 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24", "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "203.0.113.113", "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:42:30 +0000 (0:00:00.589) 0:00:17.936 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:42:30 +0000 (0:00:00.043) 0:00:17.979 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e0e05665-6653-472c-898b-cff242f2cc52", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:42:30 +0000 (0:00:00.045) 0:00:18.025 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24", "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "203.0.113.113", "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e0e05665-6653-472c-898b-cff242f2cc52\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 (is-modified)\n[005] #0, state:up persistent_state:present, 'br-example': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e0e05665-6653-472c-898b-cff242f2cc52", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:42:30 +0000 (0:00:00.044) 0:00:18.069 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:42:30 +0000 (0:00:00.039) 0:00:18.108 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [Get DNS search entry for IPv6] ******************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:67 Wednesday 03 August 2022 15:42:31 +0000 (0:00:00.394) 0:00:18.503 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.015226", "end": "2022-08-03 11:42:30.443937", "rc": 0, "start": "2022-08-03 11:42:30.428711" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when the static IPv6 address is configured] *** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:73 Wednesday 03 August 2022 15:42:31 +0000 (0:00:00.378) 0:00:18.881 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:42:31 +0000 (0:00:00.046) 0:00:18.928 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:42:31 +0000 (0:00:00.059) 0:00:18.987 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:42:32 +0000 (0:00:00.539) 0:00:19.527 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:42:34 +0000 (0:00:02.592) 0:00:22.119 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:42:35 +0000 (0:00:01.162) 0:00:23.281 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:42:36 +0000 (0:00:00.156) 0:00:23.438 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:42:36 +0000 (0:00:00.043) 0:00:23.481 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:42:36 +0000 (0:00:00.039) 0:00:23.521 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:42:36 +0000 (0:00:00.077) 0:00:23.598 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:42:36 +0000 (0:00:00.041) 0:00:23.639 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:42:36 +0000 (0:00:00.040) 0:00:23.680 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:42:36 +0000 (0:00:00.057) 0:00:23.738 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:42:36 +0000 (0:00:00.550) 0:00:24.288 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:42:36 +0000 (0:00:00.055) 0:00:24.344 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:42:36 +0000 (0:00:00.036) 0:00:24.380 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:42:37 +0000 (0:00:00.034) 0:00:24.415 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:42:37 +0000 (0:00:00.653) 0:00:25.069 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:42:37 +0000 (0:00:00.041) 0:00:25.110 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e0e05665-6653-472c-898b-cff242f2cc52", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:42:37 +0000 (0:00:00.046) 0:00:25.157 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e0e05665-6653-472c-898b-cff242f2cc52\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 (is-modified)\n[005] #0, state:up persistent_state:present, 'br-example': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e0e05665-6653-472c-898b-cff242f2cc52", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e0e05665-6653-472c-898b-cff242f2cc52 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:42:37 +0000 (0:00:00.050) 0:00:25.207 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:42:37 +0000 (0:00:00.041) 0:00:25.249 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [Get DNS search entry for IPv6] ******************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:99 Wednesday 03 August 2022 15:42:38 +0000 (0:00:00.400) 0:00:25.649 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018595", "end": "2022-08-03 11:42:37.612382", "rc": 0, "start": "2022-08-03 11:42:37.593787" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when only the static IPv6 address is configured] *** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:105 Wednesday 03 August 2022 15:42:38 +0000 (0:00:00.406) 0:00:26.056 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:42:38 +0000 (0:00:00.049) 0:00:26.106 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:42:38 +0000 (0:00:00.080) 0:00:26.186 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:42:39 +0000 (0:00:00.571) 0:00:26.758 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:42:40 +0000 (0:00:01.599) 0:00:28.358 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:42:42 +0000 (0:00:01.170) 0:00:29.528 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.135) 0:00:29.664 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.053) 0:00:29.718 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.061) 0:00:29.779 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.093) 0:00:29.873 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.053) 0:00:29.927 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.052) 0:00:29.979 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.055) 0:00:30.035 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:42:43 +0000 (0:00:00.574) 0:00:30.609 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:42:43 +0000 (0:00:00.077) 0:00:30.687 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:42:43 +0000 (0:00:00.053) 0:00:30.741 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:42:43 +0000 (0:00:00.049) 0:00:30.791 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network [WARNING]: [001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled. fatal: [/cache/rhel-8.qcow2]: FAILED! => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "dhcp4": false, "dns_search": "example.com", "ipv6_disabled": true }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled. MSG: error: connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled. ...ignoring TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:42:43 +0000 (0:00:00.563) 0:00:31.354 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:42:44 +0000 (0:00:00.091) 0:00:31.446 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled." ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:42:44 +0000 (0:00:00.060) 0:00:31.506 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "dhcp4": false, "dns_search": "example.com", "ipv6_disabled": true }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": true, "msg": "error: connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled.", "stderr": "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled.\n", "stderr_lines": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled." ], "warnings": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled." ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:42:44 +0000 (0:00:00.062) 0:00:31.569 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:42:44 +0000 (0:00:00.050) 0:00:31.619 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [Assert that reconfiguring network connection is failed] ****************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:129 Wednesday 03 August 2022 15:42:44 +0000 (0:00:00.415) 0:00:32.034 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Assert that configuring DNS search setting is not allowed when both IPv4 and IPv6 are disabled] *** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:136 Wednesday 03 August 2022 15:42:44 +0000 (0:00:00.062) 0:00:32.097 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:42:44 +0000 (0:00:00.062) 0:00:32.159 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:42:44 +0000 (0:00:00.064) 0:00:32.223 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:42:45 +0000 (0:00:00.534) 0:00:32.758 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:42:48 +0000 (0:00:02.632) 0:00:35.390 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:42:49 +0000 (0:00:01.181) 0:00:36.571 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:42:49 +0000 (0:00:00.112) 0:00:36.684 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:42:49 +0000 (0:00:00.041) 0:00:36.725 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:42:49 +0000 (0:00:00.041) 0:00:36.766 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:42:49 +0000 (0:00:00.073) 0:00:36.840 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:42:49 +0000 (0:00:00.038) 0:00:36.879 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:42:49 +0000 (0:00:00.039) 0:00:36.918 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:42:49 +0000 (0:00:00.055) 0:00:36.974 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:42:50 +0000 (0:00:00.563) 0:00:37.537 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:42:50 +0000 (0:00:00.056) 0:00:37.594 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:42:50 +0000 (0:00:00.034) 0:00:37.628 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:42:50 +0000 (0:00:00.035) 0:00:37.664 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "br-example", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:42:50 +0000 (0:00:00.691) 0:00:38.356 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:42:51 +0000 (0:00:00.040) 0:00:38.396 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:42:51 +0000 (0:00:00.048) 0:00:38.445 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "br-example", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:42:51 +0000 (0:00:00.050) 0:00:38.495 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:42:51 +0000 (0:00:00.040) 0:00:38.535 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=71 changed=6 unreachable=0 failed=0 skipped=58 rescued=0 ignored=1 Wednesday 03 August 2022 15:42:51 +0000 (0:00:00.417) 0:00:38.953 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.63s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.59s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.67s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.60s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.55s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.40s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 set up internal repositories -------------------------------------------- 1.26s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.25s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.18s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.17s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.16s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmpd6fsfezc/tests/tests_ipv6_dns_search_nm.yml:5 ------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.83s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:2 ------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.80s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Enable EPEL 8 ----------------------------------------------------------- 0.78s /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:17 ------------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.69s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.65s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.59s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.57s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpd6fsfezc/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpd6fsfezc/tests/_restore.yml:4 Wednesday 03 August 2022 15:42:51 +0000 (0:00:00.049) 0:00:39.002 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007214", "end": "2022-08-03 11:42:50.947968", "rc": 0, "start": "2022-08-03 11:42:50.940754" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=72 changed=7 unreachable=0 failed=0 skipped=58 rescued=0 ignored=1 Wednesday 03 August 2022 15:42:52 +0000 (0:00:00.413) 0:00:39.416 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.63s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.59s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.67s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.60s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.55s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.40s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 set up internal repositories -------------------------------------------- 1.26s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.25s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.18s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.17s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.16s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmpd6fsfezc/tests/tests_ipv6_dns_search_nm.yml:5 ------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.83s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpd6fsfezc/tests/playbooks/tests_ipv6_dns_search.yml:2 ------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.80s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Enable EPEL 8 ----------------------------------------------------------- 0.78s /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:17 ------------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.69s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.65s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.59s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.57s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- 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/tmpcwsggv7g 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Wednesday 03 August 2022 16:18:51 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:18:52 +0000 (0:00:01.239) 0:00:01.257 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.24s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpzotb0bdj/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpzotb0bdj/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:18:52 +0000 (0:00:00.014) 0:00:01.271 ****** ok: [/cache/rhel-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659543530.5585845, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543529.5575843, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3731249164", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:18:52 +0000 (0:00:00.479) 0:00:01.751 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8.qcow2] => (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': 752168, 'dev': 64515, 'nlink': 1, 'atime': 1659543530.5585845, 'mtime': 1659542132.0, 'ctime': 1659543529.5575843, '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': '3731249164', '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'}}, '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_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": 1659543530.5585845, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543529.5575843, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3731249164", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpzotb0bdj/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:18:52 +0000 (0:00:00.035) 0:00:01.786 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003992", "end": "2022-08-03 12:18:52.401387", "rc": 0, "start": "2022-08-03 12:18:52.397395" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:18:53 +0000 (0:00:00.444) 0:00:02.231 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.24s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.48s /tmp/tmpzotb0bdj/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.44s /tmp/tmpzotb0bdj/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpzotb0bdj/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_ipv6_dns_search_nm.yml ***************************************** 2 plays in /tmp/tmpzotb0bdj/tests/network/tests_ipv6_dns_search_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6_dns_search.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/tests_ipv6_dns_search_nm.yml:5 Wednesday 03 August 2022 16:18:53 +0000 (0:00:00.095) 0:00:02.327 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tests_ipv6_dns_search_nm.yml:8 Wednesday 03 August 2022 16:18:54 +0000 (0:00:01.008) 0:00:03.335 ****** included: /tmp/tmpzotb0bdj/tests/network/tasks/el_repo_setup.yml for /cache/rhel-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:18:54 +0000 (0:00:00.025) 0:00:03.360 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:18:54 +0000 (0:00:00.018) 0:00:03.379 ****** included: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml for /cache/rhel-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:18:54 +0000 (0:00:00.026) 0:00:03.405 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:18:54 +0000 (0:00:00.344) 0:00:03.750 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:18:54 +0000 (0:00:00.025) 0:00:03.775 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.425771", "end": "2022-08-03 12:18:54.736002", "rc": 0, "start": "2022-08-03 12:18:54.310231" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.788) 0:00:04.564 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/tests_ipv6_dns_search_nm.yml:9 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.020) 0:00:04.584 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:2 Wednesday 03 August 2022 16:18:55 +0000 (0:00:00.048) 0:00:04.632 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.835) 0:00:05.467 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:18:56 +0000 (0:00:00.041) 0:00:05.509 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:18:57 +0000 (0:00:00.554) 0:00:06.064 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:18:58 +0000 (0:00:01.696) 0:00:07.760 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:19:00 +0000 (0:00:01.424) 0:00:09.184 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.049) 0:00:09.233 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.076) 0:00:09.310 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.041) 0:00:09.351 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.076) 0:00:09.427 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.039) 0:00:09.467 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.039) 0:00:09.506 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:19:00 +0000 (0:00:00.055) 0:00:09.562 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:19:01 +0000 (0:00:00.770) 0:00:10.332 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:19:01 +0000 (0:00:00.054) 0:00:10.387 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:19:01 +0000 (0:00:00.034) 0:00:10.422 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:19:01 +0000 (0:00:00.035) 0:00:10.457 ****** changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24" ], "auto6": false, "dhcp4": false, "dns": "203.0.113.113", "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': add connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:19:02 +0000 (0:00:00.828) 0:00:11.286 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:19:02 +0000 (0:00:00.041) 0:00:11.327 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:19:02 +0000 (0:00:00.046) 0:00:11.374 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24" ], "auto6": false, "dhcp4": false, "dns": "203.0.113.113", "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:19:02 +0000 (0:00:00.046) 0:00:11.421 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:19:02 +0000 (0:00:00.039) 0:00:11.460 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [Get DNS search entry for IPv4] ******************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:20 Wednesday 03 August 2022 16:19:03 +0000 (0:00:00.477) 0:00:11.938 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.015107", "end": "2022-08-03 12:19:02.479573", "rc": 0, "start": "2022-08-03 12:19:02.464466" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:26 Wednesday 03 August 2022 16:19:03 +0000 (0:00:00.384) 0:00:12.322 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.014017", "end": "2022-08-03 12:19:02.858701", "rc": 0, "start": "2022-08-03 12:19:02.844684" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:32 Wednesday 03 August 2022 16:19:03 +0000 (0:00:00.377) 0:00:12.700 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Assert that DNS search setting for IPv6 is not configured when IPv6 address is not configured] *** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:38 Wednesday 03 August 2022 16:19:03 +0000 (0:00:00.046) 0:00:12.746 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:19:03 +0000 (0:00:00.044) 0:00:12.791 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:19:03 +0000 (0:00:00.093) 0:00:12.884 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:19:04 +0000 (0:00:00.519) 0:00:13.404 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:19:06 +0000 (0:00:01.615) 0:00:15.020 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:19:07 +0000 (0:00:01.163) 0:00:16.183 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:19:07 +0000 (0:00:00.047) 0:00:16.230 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:19:07 +0000 (0:00:00.039) 0:00:16.269 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:19:07 +0000 (0:00:00.038) 0:00:16.308 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:19:07 +0000 (0:00:00.074) 0:00:16.382 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:19:07 +0000 (0:00:00.040) 0:00:16.422 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:19:07 +0000 (0:00:00.039) 0:00:16.462 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:19:07 +0000 (0:00:00.055) 0:00:16.518 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:19:08 +0000 (0:00:00.586) 0:00:17.104 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:19:08 +0000 (0:00:00.053) 0:00:17.158 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:19:08 +0000 (0:00:00.034) 0:00:17.192 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:19:08 +0000 (0:00:00.034) 0:00:17.227 ****** changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24", "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "203.0.113.113", "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:19:08 +0000 (0:00:00.580) 0:00:17.808 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:19:08 +0000 (0:00:00.039) 0:00:17.847 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:19:08 +0000 (0:00:00.048) 0:00:17.896 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24", "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "203.0.113.113", "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 (is-modified)\n[005] #0, state:up persistent_state:present, 'br-example': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:19:09 +0000 (0:00:00.049) 0:00:17.946 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:19:09 +0000 (0:00:00.038) 0:00:17.985 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [Get DNS search entry for IPv6] ******************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:63 Wednesday 03 August 2022 16:19:09 +0000 (0:00:00.397) 0:00:18.382 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.017270", "end": "2022-08-03 12:19:08.939871", "rc": 0, "start": "2022-08-03 12:19:08.922601" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when the static IPv6 address is configured] *** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:69 Wednesday 03 August 2022 16:19:09 +0000 (0:00:00.403) 0:00:18.786 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:19:09 +0000 (0:00:00.046) 0:00:18.833 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:19:09 +0000 (0:00:00.063) 0:00:18.896 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:19:10 +0000 (0:00:00.551) 0:00:19.447 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:19:12 +0000 (0:00:01.636) 0:00:21.084 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:19:13 +0000 (0:00:01.151) 0:00:22.235 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:19:13 +0000 (0:00:00.049) 0:00:22.285 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:19:13 +0000 (0:00:00.042) 0:00:22.327 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:19:13 +0000 (0:00:00.043) 0:00:22.370 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:19:13 +0000 (0:00:00.076) 0:00:22.447 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:19:13 +0000 (0:00:00.041) 0:00:22.488 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:19:13 +0000 (0:00:00.042) 0:00:22.531 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:19:13 +0000 (0:00:00.056) 0:00:22.587 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:19:14 +0000 (0:00:00.539) 0:00:23.127 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:19:14 +0000 (0:00:00.056) 0:00:23.184 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:19:14 +0000 (0:00:00.038) 0:00:23.222 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:19:14 +0000 (0:00:00.037) 0:00:23.260 ****** changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:19:14 +0000 (0:00:00.640) 0:00:23.901 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:19:15 +0000 (0:00:00.041) 0:00:23.942 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:19:15 +0000 (0:00:00.046) 0:00:23.988 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 (is-modified)\n[005] #0, state:up persistent_state:present, 'br-example': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e4466cbb-0d3e-414d-aaa0-b63c6c9cf771 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:19:15 +0000 (0:00:00.050) 0:00:24.039 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:19:15 +0000 (0:00:00.039) 0:00:24.078 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [Get DNS search entry for IPv6] ******************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:92 Wednesday 03 August 2022 16:19:15 +0000 (0:00:00.382) 0:00:24.460 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.015049", "end": "2022-08-03 12:19:15.004910", "rc": 0, "start": "2022-08-03 12:19:14.989861" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when only the static IPv6 address is configured] *** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:98 Wednesday 03 August 2022 16:19:15 +0000 (0:00:00.387) 0:00:24.847 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:19:15 +0000 (0:00:00.046) 0:00:24.894 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:19:16 +0000 (0:00:00.078) 0:00:24.973 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:19:16 +0000 (0:00:00.550) 0:00:25.523 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:19:18 +0000 (0:00:01.597) 0:00:27.120 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:19:19 +0000 (0:00:01.157) 0:00:28.278 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:19:19 +0000 (0:00:00.064) 0:00:28.342 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:19:19 +0000 (0:00:00.059) 0:00:28.402 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:19:19 +0000 (0:00:00.055) 0:00:28.458 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:19:19 +0000 (0:00:00.080) 0:00:28.539 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:19:19 +0000 (0:00:00.058) 0:00:28.598 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:19:19 +0000 (0:00:00.055) 0:00:28.654 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:19:19 +0000 (0:00:00.057) 0:00:28.711 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:19:20 +0000 (0:00:00.552) 0:00:29.264 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:19:20 +0000 (0:00:00.059) 0:00:29.323 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:19:20 +0000 (0:00:00.051) 0:00:29.375 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:19:20 +0000 (0:00:00.052) 0:00:29.428 ****** [WARNING]: [001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled. fatal: [/cache/rhel-8.qcow2]: FAILED! => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "dhcp4": false, "dns_search": "example.com", "ipv6_disabled": true }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled. MSG: error: connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled. ...ignoring TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:19:21 +0000 (0:00:00.607) 0:00:30.035 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:19:21 +0000 (0:00:00.056) 0:00:30.092 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled." ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:19:21 +0000 (0:00:00.065) 0:00:30.157 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "dhcp4": false, "dns_search": "example.com", "ipv6_disabled": true }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": true, "msg": "error: connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled.", "stderr": "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled.\n", "stderr_lines": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled." ], "warnings": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled." ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:19:21 +0000 (0:00:00.065) 0:00:30.222 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:19:21 +0000 (0:00:00.058) 0:00:30.280 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [Assert that reconfiguring network connection is failed] ****************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:120 Wednesday 03 August 2022 16:19:21 +0000 (0:00:00.413) 0:00:30.694 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Assert that configuring DNS search setting is not allowed when both IPv4 and IPv6 are disabled] *** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:127 Wednesday 03 August 2022 16:19:21 +0000 (0:00:00.062) 0:00:30.757 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:19:21 +0000 (0:00:00.078) 0:00:30.836 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:19:21 +0000 (0:00:00.071) 0:00:30.908 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:19:22 +0000 (0:00:00.524) 0:00:31.433 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:19:24 +0000 (0:00:01.616) 0:00:33.050 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:19:25 +0000 (0:00:01.198) 0:00:34.249 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:19:25 +0000 (0:00:00.117) 0:00:34.366 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:19:25 +0000 (0:00:00.042) 0:00:34.408 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:19:25 +0000 (0:00:00.040) 0:00:34.449 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:19:25 +0000 (0:00:00.083) 0:00:34.532 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:19:25 +0000 (0:00:00.043) 0:00:34.576 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:19:25 +0000 (0:00:00.041) 0:00:34.617 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:19:25 +0000 (0:00:00.058) 0:00:34.675 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:19:26 +0000 (0:00:00.549) 0:00:35.225 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:19:26 +0000 (0:00:00.055) 0:00:35.281 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:19:26 +0000 (0:00:00.036) 0:00:35.317 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:19:26 +0000 (0:00:00.035) 0:00:35.352 ****** changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "br-example", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:19:27 +0000 (0:00:00.661) 0:00:36.013 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:19:27 +0000 (0:00:00.043) 0:00:36.056 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:19:27 +0000 (0:00:00.048) 0:00:36.105 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "br-example", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:19:27 +0000 (0:00:00.052) 0:00:36.157 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:19:27 +0000 (0:00:00.040) 0:00:36.198 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=71 changed=6 unreachable=0 failed=0 skipped=58 rescued=0 ignored=1 Wednesday 03 August 2022 16:19:27 +0000 (0:00:00.412) 0:00:36.610 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 set up internal repositories -------------------------------------------- 1.24s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.20s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmpzotb0bdj/tests/network/tests_ipv6_dns_search_nm.yml:5 ----------------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:2 ---------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.83s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Enable EPEL 8 ----------------------------------------------------------- 0.79s /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:17 ----------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.77s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.66s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.61s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpzotb0bdj/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpzotb0bdj/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:19:27 +0000 (0:00:00.045) 0:00:36.656 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006612", "end": "2022-08-03 12:19:27.187690", "rc": 0, "start": "2022-08-03 12:19:27.181078" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=72 changed=7 unreachable=0 failed=0 skipped=58 rescued=0 ignored=1 Wednesday 03 August 2022 16:19:28 +0000 (0:00:00.397) 0:00:37.053 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 set up internal repositories -------------------------------------------- 1.24s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.20s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmpzotb0bdj/tests/network/tests_ipv6_dns_search_nm.yml:5 ----------------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_ipv6_dns_search.yml:2 ---------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.83s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Enable EPEL 8 ----------------------------------------------------------- 0.79s /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:17 ----------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.77s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.66s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.61s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69