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/tmp0fvd1p7_ 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-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 03 August 2022 16:50:52 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-7.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-7.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-7.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-7.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-7.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-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:50:53 +0000 (0:00:01.321) 0:00:01.339 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpq0_9gvwx/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:6 Wednesday 03 August 2022 16:50:53 +0000 (0:00:00.014) 0:00:01.354 ****** ok: [/cache/rhel-7.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659545452.0268247, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659545452.0268247, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659544375.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082608", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:13 Wednesday 03 August 2022 16:50:54 +0000 (0:00:00.406) 0:00:01.760 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-7.qcow2] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659544375.0, 'block_size': 4096, 'inode': 77, 'isgid': False, 'size': 90, 'executable': False, 'isuid': False, 'readable': True, 'version': '624082608', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659545452.0268247, 'isdir': False, 'ctime': 1659545452.0268247, 'isblk': False, 'wgrp': False, 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, '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": 1659545452.0268247, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659545452.0268247, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659544375.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082608", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:19 Wednesday 03 August 2022 16:50:54 +0000 (0:00:00.035) 0:00:01.795 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004460", "end": "2022-08-03 12:50:54.822408", "rc": 0, "start": "2022-08-03 12:50:54.817948" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:50:54 +0000 (0:00:00.381) 0:00:02.177 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.41s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.38s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpq0_9gvwx/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_routing_rules_nm.yml ******************************************* 7 plays in /tmp/tmpq0_9gvwx/tests/tests_routing_rules_nm.yml PLAY [Run playbook 'playbooks/tests_routing_rules.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/tests_routing_rules_nm.yml:5 Wednesday 03 August 2022 16:50:54 +0000 (0:00:00.048) 0:00:02.225 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tests_routing_rules_nm.yml:8 Wednesday 03 August 2022 16:50:55 +0000 (0:00:00.946) 0:00:03.171 ****** included: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml for /cache/rhel-7.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:50:55 +0000 (0:00:00.026) 0:00:03.198 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:50:55 +0000 (0:00:00.019) 0:00:03.217 ****** included: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml for /cache/rhel-7.qcow2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:50:55 +0000 (0:00:00.027) 0:00:03.245 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.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/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:50:55 +0000 (0:00:00.285) 0:00:03.530 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.179213", "end": "2022-08-03 12:50:56.647099", "rc": 0, "start": "2022-08-03 12:50:56.467886" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:50:56 +0000 (0:00:00.472) 0:00:04.003 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:50:56 +0000 (0:00:00.022) 0:00:04.026 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpq0_9gvwx/tests/tests_routing_rules_nm.yml:9 Wednesday 03 August 2022 16:50:56 +0000 (0:00:00.021) 0:00:04.047 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:3 Wednesday 03 August 2022 16:50:56 +0000 (0:00:00.045) 0:00:04.092 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:5 Wednesday 03 August 2022 16:50:57 +0000 (0:00:00.717) 0:00:04.810 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:12 Wednesday 03 August 2022 16:50:57 +0000 (0:00:00.718) 0:00:05.528 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:16 Wednesday 03 August 2022 16:50:57 +0000 (0:00:00.078) 0:00:05.607 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:50:57 +0000 (0:00:00.034) 0:00:05.642 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-7.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:50:57 +0000 (0:00:00.030) 0:00:05.672 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003882", "end": "2022-08-03 12:50:58.642439", "rc": 0, "start": "2022-08-03 12:50:58.638557" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.321) 0:00:05.993 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.031) 0:00:06.025 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:17 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.031) 0:00:06.057 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-7.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.038) 0:00:06.095 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.020) 0:00:06.116 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.019) 0:00:06.135 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.029) 0:00:06.165 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-7.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.028) 0:00:06.194 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003793", "end": "2022-08-03 12:50:59.129246", "rc": 0, "start": "2022-08-03 12:50:59.125453" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.286) 0:00:06.481 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.032) 0:00:06.513 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:50:58 +0000 (0:00:00.032) 0:00:06.546 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:50:59 +0000 (0:00:00.664) 0:00:07.210 ****** changed: [/cache/rhel-7.qcow2] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.011539", "end": "2022-08-03 12:51:00.158948", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2022-08-03 12:51:00.147409" } changed: [/cache/rhel-7.qcow2] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.006932", "end": "2022-08-03 12:51:00.424736", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2022-08-03 12:51:00.417804" } changed: [/cache/rhel-7.qcow2] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.011590", "end": "2022-08-03 12:51:00.693717", "item": "ip link set ethtest0 up", "rc": 0, "start": "2022-08-03 12:51:00.682127" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:51:00 +0000 (0:00:00.842) 0:00:08.052 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.026609", "end": "2022-08-03 12:51:01.026434", "rc": 0, "start": "2022-08-03 12:51:00.999825" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:51:00 +0000 (0:00:00.327) 0:00:08.380 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:51:00 +0000 (0:00:00.023) 0:00:08.404 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:51:00 +0000 (0:00:00.022) 0:00:08.427 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:51:00 +0000 (0:00:00.023) 0:00:08.450 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:51:00 +0000 (0:00:00.022) 0:00:08.473 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:20 Wednesday 03 August 2022 16:51:00 +0000 (0:00:00.021) 0:00:08.494 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:51:00 +0000 (0:00:00.035) 0:00:08.530 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:51:00 +0000 (0:00:00.030) 0:00:08.561 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659545460.1588247, "block_size": 4096, "blocks": 0, "ctime": 1659545460.1588247, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 13887, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1659545460.1588247, "nlink": 1, "path": "/sys/class/net/ethtest0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface ethtest0 is present] ******************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:51:01 +0000 (0:00:00.293) 0:00:08.854 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:51:01 +0000 (0:00:00.034) 0:00:08.889 ****** included: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:51:01 +0000 (0:00:00.033) 0:00:08.922 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:51:01 +0000 (0:00:00.400) 0:00:09.323 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:51:02 +0000 (0:00:01.058) 0:00:10.382 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:51:03 +0000 (0:00:00.992) 0:00:11.374 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:51:03 +0000 (0:00:00.102) 0:00:11.477 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:51:03 +0000 (0:00:00.036) 0:00:11.514 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:51:03 +0000 (0:00:00.041) 0:00:11.556 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:51:03 +0000 (0:00:00.072) 0:00:11.628 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:51:03 +0000 (0:00:00.040) 0:00:11.668 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:51:04 +0000 (0:00:00.035) 0:00:11.704 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:51:04 +0000 (0:00:00.050) 0:00:11.755 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:51:04 +0000 (0:00:00.666) 0:00:12.421 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:51:04 +0000 (0:00:00.051) 0:00:12.473 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:51:04 +0000 (0:00:00.032) 0:00:12.505 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:51:04 +0000 (0:00:00.031) 0:00:12.536 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26", "2001:db8::2/32" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db8::4", "prefix": 32, "table": 30600 } ], "routing_rule": [ { "from": "198.51.100.58/26", "priority": 30200, "table": 30200 }, { "family": "ipv4", "fwmark": 1, "fwmask": 1, "priority": 30201, "table": 30200 }, { "family": "ipv4", "ipproto": 6, "priority": 30202, "table": 30200 }, { "family": "ipv4", "priority": 30203, "sport": "128 - 256", "table": 30200 }, { "family": "ipv4", "priority": 30204, "table": 30200, "tos": 8 }, { "priority": 30400, "table": 30400, "to": "198.51.100.128/26" }, { "family": "ipv4", "iif": "iiftest", "priority": 30401, "table": 30400 }, { "family": "ipv4", "oif": "oiftest", "priority": 30402, "table": 30400 }, { "priority": 30600, "table": 30600, "to": "2001:db8::4/32" }, { "dport": "128 - 256", "family": "ipv6", "invert": true, "priority": 30601, "table": 30600 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, ef80de63-4868-48a1-8725-aab1328e8345 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, ef80de63-4868-48a1-8725-aab1328e8345 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:51:05 +0000 (0:00:00.709) 0:00:13.246 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:51:05 +0000 (0:00:00.035) 0:00:13.282 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, ef80de63-4868-48a1-8725-aab1328e8345", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, ef80de63-4868-48a1-8725-aab1328e8345 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:51:05 +0000 (0:00:00.109) 0:00:13.391 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26", "2001:db8::2/32" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db8::4", "prefix": 32, "table": 30600 } ], "routing_rule": [ { "from": "198.51.100.58/26", "priority": 30200, "table": 30200 }, { "family": "ipv4", "fwmark": 1, "fwmask": 1, "priority": 30201, "table": 30200 }, { "family": "ipv4", "ipproto": 6, "priority": 30202, "table": 30200 }, { "family": "ipv4", "priority": 30203, "sport": "128 - 256", "table": 30200 }, { "family": "ipv4", "priority": 30204, "table": 30200, "tos": 8 }, { "priority": 30400, "table": 30400, "to": "198.51.100.128/26" }, { "family": "ipv4", "iif": "iiftest", "priority": 30401, "table": 30400 }, { "family": "ipv4", "oif": "oiftest", "priority": 30402, "table": 30400 }, { "priority": 30600, "table": 30600, "to": "2001:db8::4/32" }, { "dport": "128 - 256", "family": "ipv6", "invert": true, "priority": 30601, "table": 30600 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, ef80de63-4868-48a1-8725-aab1328e8345\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, ef80de63-4868-48a1-8725-aab1328e8345 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, ef80de63-4868-48a1-8725-aab1328e8345", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, ef80de63-4868-48a1-8725-aab1328e8345 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:51:05 +0000 (0:00:00.046) 0:00:13.438 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:51:05 +0000 (0:00:00.038) 0:00:13.476 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [Get the routing rule for looking up the table 30200] ********************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:97 Wednesday 03 August 2022 16:51:06 +0000 (0:00:00.414) 0:00:13.890 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the routing rule for looking up the table 30400] ********************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:104 Wednesday 03 August 2022 16:51:06 +0000 (0:00:00.033) 0:00:13.924 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the routing rule for looking up the table 30600] ********************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:111 Wednesday 03 August 2022 16:51:06 +0000 (0:00:00.030) 0:00:13.954 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the IPv4 routing rule for the connection "ethtest0"] ***************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:118 Wednesday 03 August 2022 16:51:06 +0000 (0:00:00.032) 0:00:13.987 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.020824", "end": "2022-08-03 12:51:06.943388", "rc": 0, "start": "2022-08-03 12:51:06.922564" } STDOUT: ipv4.routing-rules: priority 30200 from 198.51.100.58/26 table 30200, priority 30201 from 0.0.0.0/0 fwmark 0x1/0x1 table 30200, priority 30202 from 0.0.0.0/0 ipproto 6 table 30200, priority 30203 from 0.0.0.0/0 sport 128-256 table 30200, priority 30204 from 0.0.0.0/0 tos 0x08 table 30200, priority 30400 to 198.51.100.128/26 table 30400, priority 30401 from 0.0.0.0/0 iif iiftest table 30400, priority 30402 from 0.0.0.0/0 oif oiftest table 30400 TASK [Get the IPv6 routing rule for the connection "ethtest0"] ***************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:124 Wednesday 03 August 2022 16:51:06 +0000 (0:00:00.321) 0:00:14.308 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.020869", "end": "2022-08-03 12:51:07.264226", "rc": 0, "start": "2022-08-03 12:51:07.243357" } STDOUT: ipv6.routing-rules: priority 30600 to 2001:db8::4/32 table 30600, not priority 30601 from ::/0 dport 128-256 table 30600 TASK [Assert that the routing rule with table lookup 30200 matches the specified rule] *** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:130 Wednesday 03 August 2022 16:51:06 +0000 (0:00:00.318) 0:00:14.627 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the routing rule with table lookup 30400 matches the specified rule] *** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:148 Wednesday 03 August 2022 16:51:06 +0000 (0:00:00.030) 0:00:14.658 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the routing rule with table lookup 30600 matches the specified rule] *** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:162 Wednesday 03 August 2022 16:51:07 +0000 (0:00:00.029) 0:00:14.688 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the IPv4 routing rule in the connection "ethtest0" matches the specified rule] *** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:174 Wednesday 03 August 2022 16:51:07 +0000 (0:00:00.031) 0:00:14.719 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Assert that the IPv6 routing rule in the connection "ethtest0" matches the specified rule] *** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:197 Wednesday 03 August 2022 16:51:07 +0000 (0:00:00.054) 0:00:14.774 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/down_profile.yml:3 Wednesday 03 August 2022 16:51:07 +0000 (0:00:00.122) 0:00:14.896 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:51:07 +0000 (0:00:00.758) 0:00:15.655 ****** included: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:51:08 +0000 (0:00:00.054) 0:00:15.710 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:51:08 +0000 (0:00:00.407) 0:00:16.117 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:51:09 +0000 (0:00:00.911) 0:00:17.029 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.696) 0:00:17.725 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.046) 0:00:17.771 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.036) 0:00:17.808 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.037) 0:00:17.845 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.070) 0:00:17.916 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.041) 0:00:17.957 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.038) 0:00:17.996 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.056) 0:00:18.052 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.418) 0:00:18.471 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.055) 0:00:18.526 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.037) 0:00:18.563 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:51:10 +0000 (0:00:00.034) 0:00:18.598 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:51:11 +0000 (0:00:00.522) 0:00:19.120 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:51:11 +0000 (0:00:00.082) 0:00:19.202 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:51:11 +0000 (0:00:00.044) 0:00:19.247 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:51:11 +0000 (0:00:00.048) 0:00:19.295 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:51:11 +0000 (0:00:00.037) 0:00:19.332 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 16:51:11 +0000 (0:00:00.353) 0:00:19.686 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 16:51:12 +0000 (0:00:00.771) 0:00:20.458 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/delete_interface.yml for /cache/rhel-7.qcow2 TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 16:51:12 +0000 (0:00:00.050) 0:00:20.508 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.012606", "end": "2022-08-03 12:51:13.456543", "rc": 0, "start": "2022-08-03 12:51:13.443937" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 16:51:13 +0000 (0:00:00.383) 0:00:20.892 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:51:13 +0000 (0:00:00.732) 0:00:21.624 ****** included: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:51:13 +0000 (0:00:00.053) 0:00:21.678 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:51:14 +0000 (0:00:00.401) 0:00:22.079 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:51:15 +0000 (0:00:00.889) 0:00:22.968 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:51:15 +0000 (0:00:00.694) 0:00:23.663 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.042) 0:00:23.705 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.037) 0:00:23.742 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.035) 0:00:23.778 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.072) 0:00:23.851 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.036) 0:00:23.888 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.038) 0:00:23.927 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.051) 0:00:23.978 ****** ok: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.420) 0:00:24.399 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.054) 0:00:24.453 ****** skipping: [/cache/rhel-7.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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.031) 0:00:24.484 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:51:16 +0000 (0:00:00.032) 0:00:24.517 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:51:17 +0000 (0:00:00.553) 0:00:25.070 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:51:17 +0000 (0:00:00.036) 0:00:25.107 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:51:17 +0000 (0:00:00.046) 0:00:25.154 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "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/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:51:17 +0000 (0:00:00.043) 0:00:25.197 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:51:17 +0000 (0:00:00.038) 0:00:25.235 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:216 Wednesday 03 August 2022 16:51:17 +0000 (0:00:00.346) 0:00:25.582 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:219 Wednesday 03 August 2022 16:51:18 +0000 (0:00:00.722) 0:00:26.304 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_absent.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 16:51:18 +0000 (0:00:00.052) 0:00:26.357 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-7.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:51:18 +0000 (0:00:00.053) 0:00:26.411 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:51:18 +0000 (0:00:00.043) 0:00:26.454 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.332) 0:00:26.787 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.032) 0:00:26.820 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.019785", "end": "2022-08-03 12:51:19.761975", "rc": 1, "start": "2022-08-03 12:51:19.742190" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.302) 0:00:27.122 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.033) 0:00:27.156 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.032) 0:00:27.188 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'ethtest0' is absent] ******************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.032) 0:00:27.221 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:222 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.043) 0:00:27.264 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_absent.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.050) 0:00:27.315 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.050) 0:00:27.365 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:51:19 +0000 (0:00:00.288) 0:00:27.654 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=81 changed=7 unreachable=0 failed=0 skipped=53 rescued=0 ignored=1 Wednesday 03 August 2022 16:51:20 +0000 (0:00:00.066) 0:00:27.720 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which services are running ----------- 1.06s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.99s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpq0_9gvwx/tests/tests_routing_rules_nm.yml:5 --------------------------- linux-system-roles.network : Check which services are running ----------- 0.91s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.89s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface ethtest0 ------------------------------------------ 0.84s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmpq0_9gvwx/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmpq0_9gvwx/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmpq0_9gvwx/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:216 ------------------ Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:5 -------------------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:3 -------------------- linux-system-roles.network : Configure networking connection profiles --- 0.71s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.70s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.69s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.67s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Install iproute --------------------------------------------------------- 0.66s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 0.55s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.52s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpq0_9gvwx/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpq0_9gvwx/tests/_restore.yml:4 Wednesday 03 August 2022 16:51:20 +0000 (0:00:00.039) 0:00:27.760 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006522", "end": "2022-08-03 12:51:20.700158", "rc": 0, "start": "2022-08-03 12:51:20.693636" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=82 changed=8 unreachable=0 failed=0 skipped=53 rescued=0 ignored=1 Wednesday 03 August 2022 16:51:20 +0000 (0:00:00.359) 0:00:28.119 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which services are running ----------- 1.06s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.99s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpq0_9gvwx/tests/tests_routing_rules_nm.yml:5 --------------------------- linux-system-roles.network : Check which services are running ----------- 0.91s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.89s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface ethtest0 ------------------------------------------ 0.84s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmpq0_9gvwx/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmpq0_9gvwx/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmpq0_9gvwx/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:216 ------------------ Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:5 -------------------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpq0_9gvwx/tests/playbooks/tests_routing_rules.yml:3 -------------------- linux-system-roles.network : Configure networking connection profiles --- 0.71s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.70s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.69s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.67s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Install iproute --------------------------------------------------------- 0.66s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 0.55s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.52s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- 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/tmp0fvd1p7_ 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-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 03 August 2022 17:16:05 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-7.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-7.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-7.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-7.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-7.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-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:16:06 +0000 (0:00:01.428) 0:00:01.446 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.43s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp0448nu9w/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:16:06 +0000 (0:00:00.014) 0:00:01.461 ****** ok: [/cache/rhel-7.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659546964.4943018, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546964.4943018, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545878.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082609", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:16:07 +0000 (0:00:00.404) 0:00:01.865 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-7.qcow2] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659545878.0, 'block_size': 4096, 'inode': 77, 'isgid': False, 'size': 90, 'executable': False, 'isuid': False, 'readable': True, 'version': '624082609', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659546964.4943018, 'isdir': False, 'ctime': 1659546964.4943018, 'isblk': False, 'wgrp': False, 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, '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": 1659546964.4943018, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546964.4943018, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545878.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082609", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:16:07 +0000 (0:00:00.035) 0:00:01.901 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005283", "end": "2022-08-03 13:16:07.383712", "rc": 0, "start": "2022-08-03 13:16:07.378429" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:16:07 +0000 (0:00:00.382) 0:00:02.283 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.43s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.38s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp0448nu9w/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_routing_rules_nm.yml ******************************************* 7 plays in /tmp/tmp0448nu9w/tests/network/tests_routing_rules_nm.yml PLAY [Run playbook 'playbooks/tests_routing_rules.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/tests_routing_rules_nm.yml:5 Wednesday 03 August 2022 17:16:07 +0000 (0:00:00.065) 0:00:02.349 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tests_routing_rules_nm.yml:8 Wednesday 03 August 2022 17:16:08 +0000 (0:00:00.960) 0:00:03.309 ****** included: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml for /cache/rhel-7.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:16:08 +0000 (0:00:00.026) 0:00:03.336 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:16:08 +0000 (0:00:00.021) 0:00:03.357 ****** included: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml for /cache/rhel-7.qcow2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:16:08 +0000 (0:00:00.029) 0:00:03.387 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.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/tmp0448nu9w/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:16:08 +0000 (0:00:00.301) 0:00:03.689 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.191581", "end": "2022-08-03 13:16:09.275069", "rc": 0, "start": "2022-08-03 13:16:09.083488" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:16:09 +0000 (0:00:00.483) 0:00:04.173 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:16:09 +0000 (0:00:00.020) 0:00:04.194 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp0448nu9w/tests/network/tests_routing_rules_nm.yml:9 Wednesday 03 August 2022 17:16:09 +0000 (0:00:00.018) 0:00:04.212 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:3 Wednesday 03 August 2022 17:16:09 +0000 (0:00:00.042) 0:00:04.255 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:5 Wednesday 03 August 2022 17:16:10 +0000 (0:00:00.729) 0:00:04.984 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:12 Wednesday 03 August 2022 17:16:10 +0000 (0:00:00.777) 0:00:05.762 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:16 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.062) 0:00:05.824 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.035) 0:00:05.859 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-7.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.029) 0:00:05.889 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003901", "end": "2022-08-03 13:16:11.326214", "rc": 0, "start": "2022-08-03 13:16:11.322313" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.334) 0:00:06.224 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.032) 0:00:06.256 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:17 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.030) 0:00:06.286 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-7.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.037) 0:00:06.323 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.020) 0:00:06.344 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.020) 0:00:06.364 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.029) 0:00:06.394 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-7.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.028) 0:00:06.422 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003698", "end": "2022-08-03 13:16:11.828417", "rc": 0, "start": "2022-08-03 13:16:11.824719" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.303) 0:00:06.726 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.031) 0:00:06.757 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:16:11 +0000 (0:00:00.030) 0:00:06.788 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:16:12 +0000 (0:00:00.635) 0:00:07.423 ****** changed: [/cache/rhel-7.qcow2] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.010979", "end": "2022-08-03 13:16:12.835389", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2022-08-03 13:16:12.824410" } changed: [/cache/rhel-7.qcow2] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.010841", "end": "2022-08-03 13:16:13.127491", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2022-08-03 13:16:13.116650" } changed: [/cache/rhel-7.qcow2] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.005419", "end": "2022-08-03 13:16:13.404909", "item": "ip link set ethtest0 up", "rc": 0, "start": "2022-08-03 13:16:13.399490" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:16:13 +0000 (0:00:00.878) 0:00:08.302 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.026243", "end": "2022-08-03 13:16:13.724805", "rc": 0, "start": "2022-08-03 13:16:13.698562" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:16:13 +0000 (0:00:00.320) 0:00:08.622 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:16:13 +0000 (0:00:00.021) 0:00:08.644 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:16:13 +0000 (0:00:00.021) 0:00:08.665 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:16:13 +0000 (0:00:00.020) 0:00:08.686 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:16:13 +0000 (0:00:00.020) 0:00:08.707 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:20 Wednesday 03 August 2022 17:16:13 +0000 (0:00:00.020) 0:00:08.727 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:16:13 +0000 (0:00:00.034) 0:00:08.761 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:16:13 +0000 (0:00:00.029) 0:00:08.791 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659546972.8363018, "block_size": 4096, "blocks": 0, "ctime": 1659546972.8363018, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 13887, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1659546972.8363018, "nlink": 1, "path": "/sys/class/net/ethtest0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface ethtest0 is present] ******************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:16:14 +0000 (0:00:00.278) 0:00:09.070 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:16:14 +0000 (0:00:00.032) 0:00:09.102 ****** included: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:16:14 +0000 (0:00:00.034) 0:00:09.136 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:16:14 +0000 (0:00:00.381) 0:00:09.518 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:16:15 +0000 (0:00:01.041) 0:00:10.559 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:16:16 +0000 (0:00:00.966) 0:00:11.526 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:16:16 +0000 (0:00:00.097) 0:00:11.623 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:16:16 +0000 (0:00:00.035) 0:00:11.659 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:16:16 +0000 (0:00:00.036) 0:00:11.696 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:16:16 +0000 (0:00:00.070) 0:00:11.766 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:16:16 +0000 (0:00:00.035) 0:00:11.802 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:16:17 +0000 (0:00:00.034) 0:00:11.836 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:16:17 +0000 (0:00:00.050) 0:00:11.887 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:16:17 +0000 (0:00:00.653) 0:00:12.541 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:16:17 +0000 (0:00:00.052) 0:00:12.594 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:16:17 +0000 (0:00:00.033) 0:00:12.627 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:16:17 +0000 (0:00:00.031) 0:00:12.659 ****** changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26", "2001:db8::2/32" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db8::4", "prefix": 32, "table": 30600 } ], "routing_rule": [ { "from": "198.51.100.58/26", "priority": 30200, "table": 30200 }, { "family": "ipv4", "fwmark": 1, "fwmask": 1, "priority": 30201, "table": 30200 }, { "family": "ipv4", "ipproto": 6, "priority": 30202, "table": 30200 }, { "family": "ipv4", "priority": 30203, "sport": "128 - 256", "table": 30200 }, { "family": "ipv4", "priority": 30204, "table": 30200, "tos": 8 }, { "priority": 30400, "table": 30400, "to": "198.51.100.128/26" }, { "family": "ipv4", "iif": "iiftest", "priority": 30401, "table": 30400 }, { "family": "ipv4", "oif": "oiftest", "priority": 30402, "table": 30400 }, { "priority": 30600, "table": 30600, "to": "2001:db8::4/32" }, { "dport": "128 - 256", "family": "ipv6", "invert": true, "priority": 30601, "table": 30600 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 6c9004c8-c59a-44bf-a69e-89fc54e5345d [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 6c9004c8-c59a-44bf-a69e-89fc54e5345d (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:16:18 +0000 (0:00:00.718) 0:00:13.377 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:16:18 +0000 (0:00:00.036) 0:00:13.414 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 6c9004c8-c59a-44bf-a69e-89fc54e5345d", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 6c9004c8-c59a-44bf-a69e-89fc54e5345d (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:16:18 +0000 (0:00:00.110) 0:00:13.524 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26", "2001:db8::2/32" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db8::4", "prefix": 32, "table": 30600 } ], "routing_rule": [ { "from": "198.51.100.58/26", "priority": 30200, "table": 30200 }, { "family": "ipv4", "fwmark": 1, "fwmask": 1, "priority": 30201, "table": 30200 }, { "family": "ipv4", "ipproto": 6, "priority": 30202, "table": 30200 }, { "family": "ipv4", "priority": 30203, "sport": "128 - 256", "table": 30200 }, { "family": "ipv4", "priority": 30204, "table": 30200, "tos": 8 }, { "priority": 30400, "table": 30400, "to": "198.51.100.128/26" }, { "family": "ipv4", "iif": "iiftest", "priority": 30401, "table": 30400 }, { "family": "ipv4", "oif": "oiftest", "priority": 30402, "table": 30400 }, { "priority": 30600, "table": 30600, "to": "2001:db8::4/32" }, { "dport": "128 - 256", "family": "ipv6", "invert": true, "priority": 30601, "table": 30600 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 6c9004c8-c59a-44bf-a69e-89fc54e5345d\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 6c9004c8-c59a-44bf-a69e-89fc54e5345d (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 6c9004c8-c59a-44bf-a69e-89fc54e5345d", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 6c9004c8-c59a-44bf-a69e-89fc54e5345d (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:16:18 +0000 (0:00:00.046) 0:00:13.571 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:16:18 +0000 (0:00:00.037) 0:00:13.609 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [Get the routing rule for looking up the table 30200] ********************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:96 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.407) 0:00:14.016 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the routing rule for looking up the table 30400] ********************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:103 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.032) 0:00:14.049 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the routing rule for looking up the table 30600] ********************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:110 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.029) 0:00:14.078 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the IPv4 routing rule for the connection "ethtest0"] ***************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:117 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.034) 0:00:14.113 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.021121", "end": "2022-08-03 13:16:19.518563", "rc": 0, "start": "2022-08-03 13:16:19.497442" } STDOUT: ipv4.routing-rules: priority 30200 from 198.51.100.58/26 table 30200, priority 30201 from 0.0.0.0/0 fwmark 0x1/0x1 table 30200, priority 30202 from 0.0.0.0/0 ipproto 6 table 30200, priority 30203 from 0.0.0.0/0 sport 128-256 table 30200, priority 30204 from 0.0.0.0/0 tos 0x08 table 30200, priority 30400 to 198.51.100.128/26 table 30400, priority 30401 from 0.0.0.0/0 iif iiftest table 30400, priority 30402 from 0.0.0.0/0 oif oiftest table 30400 TASK [Get the IPv6 routing rule for the connection "ethtest0"] ***************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:123 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.313) 0:00:14.426 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.routing-rules", "c", "show", "ethtest0" ], "delta": "0:00:00.020824", "end": "2022-08-03 13:16:19.829562", "rc": 0, "start": "2022-08-03 13:16:19.808738" } STDOUT: ipv6.routing-rules: priority 30600 to 2001:db8::4/32 table 30600, not priority 30601 from ::/0 dport 128-256 table 30600 TASK [Assert that the routing rule with table lookup 30200 matches the specified rule] *** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:129 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.310) 0:00:14.736 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the routing rule with table lookup 30400 matches the specified rule] *** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:140 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.031) 0:00:14.768 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the routing rule with table lookup 30600 matches the specified rule] *** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:149 Wednesday 03 August 2022 17:16:19 +0000 (0:00:00.033) 0:00:14.801 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the IPv4 routing rule in the connection "ethtest0" matches the specified rule] *** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:157 Wednesday 03 August 2022 17:16:20 +0000 (0:00:00.033) 0:00:14.834 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Assert that the IPv6 routing rule in the connection "ethtest0" matches the specified rule] *** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:170 Wednesday 03 August 2022 17:16:20 +0000 (0:00:00.056) 0:00:14.891 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/down_profile.yml:3 Wednesday 03 August 2022 17:16:20 +0000 (0:00:00.126) 0:00:15.018 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:16:20 +0000 (0:00:00.773) 0:00:15.791 ****** included: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:16:21 +0000 (0:00:00.055) 0:00:15.847 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:16:21 +0000 (0:00:00.413) 0:00:16.260 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:16:22 +0000 (0:00:00.920) 0:00:17.180 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.779) 0:00:17.959 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.048) 0:00:18.008 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.038) 0:00:18.046 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.038) 0:00:18.085 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.072) 0:00:18.158 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.048) 0:00:18.206 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.041) 0:00:18.248 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.054) 0:00:18.302 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.417) 0:00:18.719 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.050) 0:00:18.770 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:16:23 +0000 (0:00:00.032) 0:00:18.803 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:16:24 +0000 (0:00:00.031) 0:00:18.834 ****** changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:16:24 +0000 (0:00:00.564) 0:00:19.399 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:16:24 +0000 (0:00:00.036) 0:00:19.436 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:16:24 +0000 (0:00:00.144) 0:00:19.580 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:16:24 +0000 (0:00:00.044) 0:00:19.624 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:16:24 +0000 (0:00:00.036) 0:00:19.661 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 17:16:25 +0000 (0:00:00.360) 0:00:20.021 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 17:16:25 +0000 (0:00:00.773) 0:00:20.795 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/delete_interface.yml for /cache/rhel-7.qcow2 TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:16:26 +0000 (0:00:00.052) 0:00:20.847 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.013707", "end": "2022-08-03 13:16:26.270346", "rc": 0, "start": "2022-08-03 13:16:26.256639" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 17:16:26 +0000 (0:00:00.376) 0:00:21.224 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.781) 0:00:22.005 ****** included: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.057) 0:00:22.063 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:16:27 +0000 (0:00:00.415) 0:00:22.478 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:16:28 +0000 (0:00:00.914) 0:00:23.393 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.767) 0:00:24.161 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.044) 0:00:24.205 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.036) 0:00:24.241 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.040) 0:00:24.282 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.075) 0:00:24.358 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.041) 0:00:24.399 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.037) 0:00:24.437 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:16:29 +0000 (0:00:00.054) 0:00:24.491 ****** ok: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:16:30 +0000 (0:00:00.466) 0:00:24.957 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:16:30 +0000 (0:00:00.056) 0:00:25.014 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:16:30 +0000 (0:00:00.034) 0:00:25.048 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:16:30 +0000 (0:00:00.034) 0:00:25.082 ****** changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:16:30 +0000 (0:00:00.502) 0:00:25.585 ****** skipping: [/cache/rhel-7.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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:16:30 +0000 (0:00:00.037) 0:00:25.622 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:16:30 +0000 (0:00:00.134) 0:00:25.757 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:16:30 +0000 (0:00:00.044) 0:00:25.802 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.038) 0:00:25.840 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:183 Wednesday 03 August 2022 17:16:31 +0000 (0:00:00.351) 0:00:26.192 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:186 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.736) 0:00:26.929 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.050) 0:00:26.979 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-7.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.053) 0:00:27.033 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.045) 0:00:27.078 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.351) 0:00:27.430 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.032) 0:00:27.463 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.021268", "end": "2022-08-03 13:16:32.872960", "rc": 1, "start": "2022-08-03 13:16:32.851692" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:16:32 +0000 (0:00:00.320) 0:00:27.783 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.033) 0:00:27.816 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.035) 0:00:27.852 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'ethtest0' is absent] ******************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.033) 0:00:27.886 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:189 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.047) 0:00:27.933 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.052) 0:00:27.986 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.051) 0:00:28.038 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.314) 0:00:28.352 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=81 changed=7 unreachable=0 failed=0 skipped=53 rescued=0 ignored=1 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.064) 0:00:28.417 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.43s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which services are running ---- 1.04s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmp0448nu9w/tests/network/tests_routing_rules_nm.yml:5 ------------------- fedora.linux_system_roles.network : Check which services are running ---- 0.92s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface ethtest0 ------------------------------------------ 0.88s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmp0448nu9w/tests/network/playbooks/remove_profile.yml:3 ----------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:5 ------------ Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmp0448nu9w/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmp0448nu9w/tests/network/playbooks/down_profile.yml:3 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:183 ---------- Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:3 ------------ fedora.linux_system_roles.network : Configure networking connection profiles --- 0.72s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.65s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Install iproute --------------------------------------------------------- 0.64s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.56s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.50s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp0448nu9w/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp0448nu9w/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.045) 0:00:28.462 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006683", "end": "2022-08-03 13:16:33.874778", "rc": 0, "start": "2022-08-03 13:16:33.868095" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=82 changed=8 unreachable=0 failed=0 skipped=53 rescued=0 ignored=1 Wednesday 03 August 2022 17:16:33 +0000 (0:00:00.343) 0:00:28.806 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.43s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which services are running ---- 1.04s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmp0448nu9w/tests/network/tests_routing_rules_nm.yml:5 ------------------- fedora.linux_system_roles.network : Check which services are running ---- 0.92s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create veth interface ethtest0 ------------------------------------------ 0.88s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmp0448nu9w/tests/network/playbooks/remove_profile.yml:3 ----------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:5 ------------ Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmp0448nu9w/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmp0448nu9w/tests/network/playbooks/down_profile.yml:3 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:183 ---------- Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmp0448nu9w/tests/network/playbooks/tests_routing_rules.yml:3 ------------ fedora.linux_system_roles.network : Configure networking connection profiles --- 0.72s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.65s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Install iproute --------------------------------------------------------- 0.64s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.56s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.50s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106