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/tmpe4dwqm__ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmplbj_o459/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmplbj_o459/tests/_backup.yml:6 Wednesday 03 August 2022 17:31:07 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659547866.6454897, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659547866.6454897, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8332, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744072568422241", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmplbj_o459/tests/_backup.yml:13 Wednesday 03 August 2022 17:31:08 +0000 (0:00:00.509) 0:00:00.527 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (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': 1659546490.0, 'block_size': 4096, 'inode': 8332, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072568422241', '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': 1659547866.6454897, 'isdir': False, 'ctime': 1659547866.6454897, 'isblk': False, 'wgrp': False, 'checksum': '58d0b40c7f3b3443c40de4c19aee35ddf579fd17', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659547866.6454897, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659547866.6454897, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8332, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744072568422241", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmplbj_o459/tests/_backup.yml:19 Wednesday 03 August 2022 17:31:08 +0000 (0:00:00.034) 0:00:00.561 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004566", "end": "2022-08-03 17:31:08.222082", "rc": 0, "start": "2022-08-03 17:31:08.217516" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:31:08 +0000 (0:00:00.428) 0:00:00.990 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.51s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.43s /tmp/tmplbj_o459/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_vlan_mtu_initscripts.yml *************************************** 2 plays in /tmp/tmplbj_o459/tests/tests_vlan_mtu_initscripts.yml PLAY [Run playbook 'playbooks/tests_vlan_mtu.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/tests_vlan_mtu_initscripts.yml:4 Wednesday 03 August 2022 17:31:08 +0000 (0:00:00.038) 0:00:01.029 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_vlan_mtu_initscripts.yml:7 Wednesday 03 August 2022 17:31:09 +0000 (0:00:01.014) 0:00:02.044 ****** included: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml for /cache/centos-7.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:31:09 +0000 (0:00:00.027) 0:00:02.072 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:31:09 +0000 (0:00:00.021) 0:00:02.093 ****** included: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml for /cache/centos-7.qcow2c.snap TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:31:09 +0000 (0:00:00.027) 0:00:02.121 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:31:10 +0000 (0:00:00.304) 0:00:02.426 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.184304", "end": "2022-08-03 17:31:10.154578", "rc": 0, "start": "2022-08-03 17:31:09.970274" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/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/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True 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=genclo&content=centos 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/7/epel pkgdir = /var/cache/yum/x86_64/7/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/tmplbj_o459/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:31:10 +0000 (0:00:00.494) 0:00:02.921 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:31:10 +0000 (0:00:00.021) 0:00:02.943 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmplbj_o459/tests/tests_vlan_mtu_initscripts.yml:8 Wednesday 03 August 2022 17:31:10 +0000 (0:00:00.021) 0:00:02.965 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_vlan_mtu.yml:3 Wednesday 03 August 2022 17:31:10 +0000 (0:00:00.050) 0:00:03.015 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_vlan_mtu.yml:9 Wednesday 03 August 2022 17:31:11 +0000 (0:00:00.753) 0:00:03.768 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:31:11 +0000 (0:00:00.052) 0:00:03.821 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:31:11 +0000 (0:00:00.045) 0:00:03.866 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004039", "end": "2022-08-03 17:31:11.436013", "rc": 0, "start": "2022-08-03 17:31:11.431974" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:31:11 +0000 (0:00:00.336) 0:00:04.203 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.054) 0:00:04.257 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_vlan_mtu.yml:10 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.047) 0:00:04.305 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-7.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.057) 0:00:04.363 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.037) 0:00:04.400 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.034) 0:00:04.434 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.044) 0:00:04.479 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.045) 0:00:04.524 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003737", "end": "2022-08-03 17:31:12.080326", "rc": 0, "start": "2022-08-03 17:31:12.076589" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.320) 0:00:04.845 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.045) 0:00:04.890 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.073) 0:00:04.964 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface lsr101] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:31:13 +0000 (0:00:00.676) 0:00:05.640 ****** changed: [/cache/centos-7.qcow2c.snap] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "lsr101", "type", "veth", "peer", "name", "peerlsr101" ], "delta": "0:00:00.006817", "end": "2022-08-03 17:31:13.201280", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2022-08-03 17:31:13.194463" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.007259", "end": "2022-08-03 17:31:13.522790", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2022-08-03 17:31:13.515531" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.010926", "end": "2022-08-03 17:31:13.807958", "item": "ip link set lsr101 up", "rc": 0, "start": "2022-08-03 17:31:13.797032" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:31:14 +0000 (0:00:00.935) 0:00:06.576 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.029879", "end": "2022-08-03 17:31:14.186030", "rc": 0, "start": "2022-08-03 17:31:14.156151" } TASK [Delete veth interface lsr101] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:31:14 +0000 (0:00:00.381) 0:00:06.957 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:31:14 +0000 (0:00:00.036) 0:00:06.994 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:31:14 +0000 (0:00:00.036) 0:00:07.030 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:31:14 +0000 (0:00:00.033) 0:00:07.063 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:31:14 +0000 (0:00:00.032) 0:00:07.096 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_vlan_mtu.yml:13 Wednesday 03 August 2022 17:31:14 +0000 (0:00:00.031) 0:00:07.128 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:31:14 +0000 (0:00:00.060) 0:00:07.188 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface lsr101] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:31:14 +0000 (0:00:00.045) 0:00:07.233 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659547873.2044897, "block_size": 4096, "blocks": 0, "ctime": 1659547873.2044897, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14834, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101", "lnk_target": "../../devices/virtual/net/lsr101", "mode": "0777", "mtime": 1659547873.2044897, "nlink": 1, "path": "/sys/class/net/lsr101", "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 lsr101 is present] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:31:15 +0000 (0:00:00.342) 0:00:07.576 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure the MTU for a vlan interface without autoconnect.] *** task path: /tmp/tmplbj_o459/tests/playbooks/tests_vlan_mtu.yml:14 Wednesday 03 August 2022 17:31:15 +0000 (0:00:00.047) 0:00:07.623 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:31:15 +0000 (0:00:00.045) 0:00:07.668 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:31:15 +0000 (0:00:00.050) 0:00:07.719 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:31:15 +0000 (0:00:00.408) 0:00:08.127 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:31:16 +0000 (0:00:01.025) 0:00:09.153 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:31:18 +0000 (0:00:01.208) 0:00:10.361 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.088) 0:00:10.449 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.048) 0:00:10.498 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.045) 0:00:10.543 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.099) 0:00:10.642 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.049) 0:00:10.692 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.046) 0:00:10.739 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.053) 0:00:10.793 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.048) 0:00:10.841 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.047) 0:00:10.889 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.675) 0:00:11.564 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-210288l4izzqcf/tmpavgqjx6t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:31:19 +0000 (0:00:00.337) 0:00:11.902 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101' [006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90' [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified) [008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='', err='' [009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active) [010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:31:20 +0000 (0:00:00.834) 0:00:12.736 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:31:20 +0000 (0:00:00.045) 0:00:12.782 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='', err=''", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:31:20 +0000 (0:00:00.111) 0:00:12.893 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'\n[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)\n[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='', err=''\n[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)\n[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='', err=''\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='', err=''", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:31:20 +0000 (0:00:00.054) 0:00:12.947 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:31:20 +0000 (0:00:00.047) 0:00:12.995 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_vlan_mtu.yml:42 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.435) 0:00:13.430 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.074) 0:00:13.505 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface lsr101.90] **************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.064) 0:00:13.570 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659547879.8724897, "block_size": 4096, "blocks": 0, "ctime": 1659547879.8714898, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 15148, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101.90", "lnk_target": "../../devices/virtual/net/lsr101.90", "mode": "0777", "mtime": 1659547879.8714898, "nlink": 1, "path": "/sys/class/net/lsr101.90", "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 lsr101.90 is present] ****************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.347) 0:00:13.917 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_vlan_mtu.yml:45 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.058) 0:00:13.975 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=lsr101) included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=lsr101.90) TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.083) 0:00:14.059 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.067) 0:00:14.127 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.056) 0:00:14.184 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659547879.7314897, "block_size": 4096, "blocks": 8, "ctime": 1659547879.7194898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 742561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547879.7194898, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 114, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.373) 0:00:14.557 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.056) 0:00:14.614 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.024013", "end": "2022-08-03 17:31:22.188535", "rc": 1, "start": "2022-08-03 17:31:22.164522" } 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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.350) 0:00:14.964 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.053) 0:00:15.017 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.004166", "end": "2022-08-03 17:31:22.568140", "rc": 0, "start": "2022-08-03 17:31:22.563974" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.329) 0:00:15.347 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'lsr101' is present] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.059) 0:00:15.407 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'lsr101' is present] ************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.059) 0:00:15.466 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.056) 0:00:15.523 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.067) 0:00:15.590 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.057) 0:00:15.648 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659547879.8414898, "block_size": 4096, "blocks": 8, "ctime": 1659547879.7194898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1094866, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547879.7194898, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 144, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.349) 0:00:15.997 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.054) 0:00:16.052 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.029855", "end": "2022-08-03 17:31:23.692115", "rc": 1, "start": "2022-08-03 17:31:23.662260" } 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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.416) 0:00:16.469 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101.90] ********************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.046) 0:00:16.516 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003663", "end": "2022-08-03 17:31:24.084708", "rc": 0, "start": "2022-08-03 17:31:24.081045" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.346) 0:00:16.863 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'lsr101.90' is present] ****************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.062) 0:00:16.925 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'lsr101.90' is present] *********** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.060) 0:00:16.986 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_vlan_mtu.yml:52 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.056) 0:00:17.042 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.053) 0:00:17.096 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.066) 0:00:17.162 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:31:25 +0000 (0:00:00.423) 0:00:17.585 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:31:26 +0000 (0:00:00.977) 0:00:18.563 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.914) 0:00:19.478 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.054) 0:00:19.532 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.047) 0:00:19.580 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.046) 0:00:19.626 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.068) 0:00:19.694 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.053) 0:00:19.748 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.048) 0:00:19.796 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.054) 0:00:19.850 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.049) 0:00:19.900 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.047) 0:00:19.948 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:31:28 +0000 (0:00:00.478) 0:00:20.426 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-210288l4izzqcf/tmpiq2b1wej" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:31:28 +0000 (0:00:00.333) 0:00:20.760 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active) [006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='', err='' [007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active [008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101' [009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.539) 0:00:21.300 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.046) 0:00:21.346 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='', err=''", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.054) 0:00:21.401 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)\n[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='', err=''\n[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active\n[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'\n[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'\n", "stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='', err=''", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.058) 0:00:21.459 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.047) 0:00:21.507 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_vlan_mtu.yml:67 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.336) 0:00:21.844 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-7.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.077) 0:00:21.921 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.047) 0:00:21.969 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.049) 0:00:22.018 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.070) 0:00:22.089 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:31:29 +0000 (0:00:00.100) 0:00:22.189 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005141", "end": "2022-08-03 17:31:30.748763", "rc": 0, "start": "2022-08-03 17:31:29.743622" } STDOUT: bond0 bonding_masters eth0 lo lsr101 lsr101.90 peerlsr101 rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:31:31 +0000 (0:00:01.338) 0:00:23.528 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:31:31 +0000 (0:00:00.056) 0:00:23.584 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:31:31 +0000 (0:00:00.057) 0:00:23.642 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface lsr101] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:31:31 +0000 (0:00:00.578) 0:00:24.221 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add lsr101 type veth peer name peerlsr101", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerlsr101 up", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set lsr101 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.062) 0:00:24.283 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.049) 0:00:24.332 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.009940", "end": "2022-08-03 17:31:31.903584", "rc": 0, "start": "2022-08-03 17:31:31.893644" } TASK [Create dummy interface lsr101] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.351) 0:00:24.684 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.049) 0:00:24.733 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.086) 0:00:24.820 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.048) 0:00:24.868 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=84 changed=9 unreachable=0 failed=0 skipped=40 rescued=0 ignored=2 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.064) 0:00:24.933 ****** =============================================================================== Gather current interface info ------------------------------------------- 1.34s /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 ----------- linux-system-roles.network : Check which packages are installed --------- 1.21s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.03s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmplbj_o459/tests/tests_vlan_mtu_initscripts.yml:4 ----------------------- linux-system-roles.network : Check which services are running ----------- 0.98s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface lsr101 -------------------------------------------- 0.94s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 0.91s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.83s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmplbj_o459/tests/playbooks/tests_vlan_mtu.yml:3 ------------------------- Install iproute --------------------------------------------------------- 0.68s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Enable network service --------------------- 0.68s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Install iproute --------------------------------------------------------- 0.58s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 0.54s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.51s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Enable EPEL 7 ----------------------------------------------------------- 0.49s /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:11 ------------------------------- linux-system-roles.network : Enable network service --------------------- 0.48s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Re-test connectivity ----------------------- 0.44s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Back up system files ---------------------------------------------------- 0.43s /tmp/tmplbj_o459/tests/_backup.yml:19 ----------------------------------------- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.42s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Get NM profile info ----------------------------------------------------- 0.42s /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 ---------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmplbj_o459/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmplbj_o459/tests/_restore.yml:4 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.038) 0:00:24.972 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006640", "end": "2022-08-03 17:31:32.511250", "rc": 0, "start": "2022-08-03 17:31:32.504610" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=85 changed=10 unreachable=0 failed=0 skipped=40 rescued=0 ignored=2 Wednesday 03 August 2022 17:31:33 +0000 (0:00:00.333) 0:00:25.305 ****** =============================================================================== Gather current interface info ------------------------------------------- 1.34s /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 ----------- linux-system-roles.network : Check which packages are installed --------- 1.21s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.03s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmplbj_o459/tests/tests_vlan_mtu_initscripts.yml:4 ----------------------- linux-system-roles.network : Check which services are running ----------- 0.98s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create veth interface lsr101 -------------------------------------------- 0.94s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 0.91s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.83s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmplbj_o459/tests/playbooks/tests_vlan_mtu.yml:3 ------------------------- Install iproute --------------------------------------------------------- 0.68s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Enable network service --------------------- 0.68s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Install iproute --------------------------------------------------------- 0.58s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Configure networking connection profiles --- 0.54s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.51s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Enable EPEL 7 ----------------------------------------------------------- 0.49s /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:11 ------------------------------- linux-system-roles.network : Enable network service --------------------- 0.48s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Re-test connectivity ----------------------- 0.44s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Back up system files ---------------------------------------------------- 0.43s /tmp/tmplbj_o459/tests/_backup.yml:19 ----------------------------------------- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.42s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Get NM profile info ----------------------------------------------------- 0.42s /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 ---------------- 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/tmpe4dwqm__ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmppolohs8h/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmppolohs8h/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:56:31 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659549390.8813066, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659549390.8813066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 31266, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "610498809", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmppolohs8h/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:56:32 +0000 (0:00:00.513) 0:00:00.531 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (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': 1659548002.0, 'block_size': 4096, 'inode': 31266, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '610498809', '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': 1659549390.8813066, 'isdir': False, 'ctime': 1659549390.8813066, 'isblk': False, 'wgrp': False, 'checksum': '58d0b40c7f3b3443c40de4c19aee35ddf579fd17', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659549390.8813066, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659549390.8813066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 31266, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "610498809", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmppolohs8h/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:56:32 +0000 (0:00:00.036) 0:00:00.568 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005362", "end": "2022-08-03 17:56:32.455275", "rc": 0, "start": "2022-08-03 17:56:32.449913" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:56:32 +0000 (0:00:00.433) 0:00:01.002 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.51s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.43s /tmp/tmppolohs8h/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_vlan_mtu_initscripts.yml *************************************** 2 plays in /tmp/tmppolohs8h/tests/network/tests_vlan_mtu_initscripts.yml PLAY [Run playbook 'playbooks/tests_vlan_mtu.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/tests_vlan_mtu_initscripts.yml:4 Wednesday 03 August 2022 17:56:32 +0000 (0:00:00.048) 0:00:01.050 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_vlan_mtu_initscripts.yml:7 Wednesday 03 August 2022 17:56:33 +0000 (0:00:01.002) 0:00:02.052 ****** included: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml for /cache/centos-7.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:56:33 +0000 (0:00:00.027) 0:00:02.080 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:56:33 +0000 (0:00:00.022) 0:00:02.102 ****** included: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml for /cache/centos-7.qcow2c.snap TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:56:33 +0000 (0:00:00.029) 0:00:02.132 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmppolohs8h/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:56:34 +0000 (0:00:00.303) 0:00:02.435 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.181336", "end": "2022-08-03 17:56:34.382955", "rc": 0, "start": "2022-08-03 17:56:34.201619" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/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/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True 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=genclo&content=centos 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/7/epel pkgdir = /var/cache/yum/x86_64/7/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/tmppolohs8h/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:56:34 +0000 (0:00:00.490) 0:00:02.925 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:56:34 +0000 (0:00:00.023) 0:00:02.949 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmppolohs8h/tests/network/tests_vlan_mtu_initscripts.yml:8 Wednesday 03 August 2022 17:56:34 +0000 (0:00:00.021) 0:00:02.970 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_vlan_mtu.yml:3 Wednesday 03 August 2022 17:56:34 +0000 (0:00:00.048) 0:00:03.019 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_vlan_mtu.yml:9 Wednesday 03 August 2022 17:56:35 +0000 (0:00:00.760) 0:00:03.780 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:56:35 +0000 (0:00:00.053) 0:00:03.833 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:56:35 +0000 (0:00:00.043) 0:00:03.877 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004087", "end": "2022-08-03 17:56:35.662913", "rc": 0, "start": "2022-08-03 17:56:35.658826" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:56:36 +0000 (0:00:00.331) 0:00:04.209 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:56:36 +0000 (0:00:00.045) 0:00:04.254 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_vlan_mtu.yml:10 Wednesday 03 August 2022 17:56:36 +0000 (0:00:00.044) 0:00:04.299 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-7.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:56:36 +0000 (0:00:00.057) 0:00:04.357 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:56:36 +0000 (0:00:00.034) 0:00:04.391 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:56:36 +0000 (0:00:00.034) 0:00:04.425 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:56:36 +0000 (0:00:00.043) 0:00:04.469 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:56:36 +0000 (0:00:00.040) 0:00:04.509 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003948", "end": "2022-08-03 17:56:36.288248", "rc": 0, "start": "2022-08-03 17:56:36.284300" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:56:36 +0000 (0:00:00.319) 0:00:04.829 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:56:36 +0000 (0:00:00.046) 0:00:04.875 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:56:36 +0000 (0:00:00.045) 0:00:04.920 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface lsr101] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:56:37 +0000 (0:00:00.713) 0:00:05.634 ****** changed: [/cache/centos-7.qcow2c.snap] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "lsr101", "type", "veth", "peer", "name", "peerlsr101" ], "delta": "0:00:00.006670", "end": "2022-08-03 17:56:37.444809", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2022-08-03 17:56:37.438139" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.014883", "end": "2022-08-03 17:56:37.747458", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2022-08-03 17:56:37.732575" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.014553", "end": "2022-08-03 17:56:38.056418", "item": "ip link set lsr101 up", "rc": 0, "start": "2022-08-03 17:56:38.041865" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:56:38 +0000 (0:00:00.978) 0:00:06.613 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.033293", "end": "2022-08-03 17:56:38.441579", "rc": 0, "start": "2022-08-03 17:56:38.408286" } TASK [Delete veth interface lsr101] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:56:38 +0000 (0:00:00.376) 0:00:06.989 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:56:38 +0000 (0:00:00.039) 0:00:07.029 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:56:38 +0000 (0:00:00.039) 0:00:07.068 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:56:38 +0000 (0:00:00.038) 0:00:07.107 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:56:38 +0000 (0:00:00.037) 0:00:07.145 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_vlan_mtu.yml:13 Wednesday 03 August 2022 17:56:38 +0000 (0:00:00.039) 0:00:07.184 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:56:39 +0000 (0:00:00.077) 0:00:07.261 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface lsr101] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:56:39 +0000 (0:00:00.075) 0:00:07.337 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659549397.4473066, "block_size": 4096, "blocks": 0, "ctime": 1659549397.4473066, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14834, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101", "lnk_target": "../../devices/virtual/net/lsr101", "mode": "0777", "mtime": 1659549397.4473066, "nlink": 1, "path": "/sys/class/net/lsr101", "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 lsr101 is present] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:56:39 +0000 (0:00:00.455) 0:00:07.793 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure the MTU for a vlan interface without autoconnect.] *** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_vlan_mtu.yml:14 Wednesday 03 August 2022 17:56:39 +0000 (0:00:00.047) 0:00:07.840 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:56:39 +0000 (0:00:00.044) 0:00:07.885 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:56:39 +0000 (0:00:00.050) 0:00:07.935 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:56:40 +0000 (0:00:00.417) 0:00:08.353 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:56:41 +0000 (0:00:01.067) 0:00:09.420 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:56:42 +0000 (0:00:01.144) 0:00:10.565 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:56:42 +0000 (0:00:00.083) 0:00:10.648 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:56:42 +0000 (0:00:00.045) 0:00:10.693 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:56:42 +0000 (0:00:00.072) 0:00:10.766 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:56:42 +0000 (0:00:00.071) 0:00:10.837 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:56:42 +0000 (0:00:00.048) 0:00:10.885 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:56:42 +0000 (0:00:00.044) 0:00:10.930 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:56:42 +0000 (0:00:00.052) 0:00:10.982 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:56:42 +0000 (0:00:00.047) 0:00:11.030 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:56:42 +0000 (0:00:00.046) 0:00:11.076 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:56:43 +0000 (0:00:00.699) 0:00:11.776 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-253706ahubdh87/tmpb0vx4h3w" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:56:43 +0000 (0:00:00.350) 0:00:12.126 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101' [006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90' [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified) [008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='', err='' [009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active) [010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:56:44 +0000 (0:00:00.840) 0:00:12.966 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:56:44 +0000 (0:00:00.049) 0:00:13.016 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='', err=''", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:56:44 +0000 (0:00:00.101) 0:00:13.117 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'\n[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)\n[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='', err=''\n[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)\n[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='', err=''\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='', err=''", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:56:44 +0000 (0:00:00.060) 0:00:13.177 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:56:45 +0000 (0:00:00.048) 0:00:13.226 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_vlan_mtu.yml:42 Wednesday 03 August 2022 17:56:45 +0000 (0:00:00.443) 0:00:13.670 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:56:45 +0000 (0:00:00.076) 0:00:13.746 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface lsr101.90] **************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:56:45 +0000 (0:00:00.068) 0:00:13.815 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659549404.3463066, "block_size": 4096, "blocks": 0, "ctime": 1659549404.3263066, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 15148, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101.90", "lnk_target": "../../devices/virtual/net/lsr101.90", "mode": "0777", "mtime": 1659549404.3263066, "nlink": 1, "path": "/sys/class/net/lsr101.90", "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 lsr101.90 is present] ****************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:56:45 +0000 (0:00:00.340) 0:00:14.155 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_vlan_mtu.yml:45 Wednesday 03 August 2022 17:56:46 +0000 (0:00:00.061) 0:00:14.217 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=lsr101) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=lsr101.90) TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:56:46 +0000 (0:00:00.085) 0:00:14.302 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:56:46 +0000 (0:00:00.065) 0:00:14.368 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:56:46 +0000 (0:00:00.051) 0:00:14.420 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659549404.1843066, "block_size": 4096, "blocks": 8, "ctime": 1659549404.1723065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 31268, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549404.1723065, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 114, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:56:46 +0000 (0:00:00.366) 0:00:14.787 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:56:46 +0000 (0:00:00.053) 0:00:14.840 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.024261", "end": "2022-08-03 17:56:46.641814", "rc": 1, "start": "2022-08-03 17:56:46.617553" } 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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:56:46 +0000 (0:00:00.360) 0:00:15.201 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:56:47 +0000 (0:00:00.049) 0:00:15.250 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003759", "end": "2022-08-03 17:56:47.034013", "rc": 0, "start": "2022-08-03 17:56:47.030254" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:56:47 +0000 (0:00:00.336) 0:00:15.587 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'lsr101' is present] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:56:47 +0000 (0:00:00.062) 0:00:15.649 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'lsr101' is present] ************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:56:47 +0000 (0:00:00.062) 0:00:15.712 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:56:47 +0000 (0:00:00.059) 0:00:15.771 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:56:47 +0000 (0:00:00.070) 0:00:15.841 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:56:47 +0000 (0:00:00.056) 0:00:15.898 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659549404.2943065, "block_size": 4096, "blocks": 8, "ctime": 1659549404.1723065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 31269, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549404.1723065, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 144, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:56:48 +0000 (0:00:00.335) 0:00:16.233 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:56:48 +0000 (0:00:00.066) 0:00:16.300 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.025216", "end": "2022-08-03 17:56:48.160112", "rc": 1, "start": "2022-08-03 17:56:48.134896" } 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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:56:48 +0000 (0:00:00.412) 0:00:16.712 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101.90] ********************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:56:48 +0000 (0:00:00.049) 0:00:16.761 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003800", "end": "2022-08-03 17:56:48.553679", "rc": 0, "start": "2022-08-03 17:56:48.549879" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:56:48 +0000 (0:00:00.347) 0:00:17.109 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'lsr101.90' is present] ****************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:56:48 +0000 (0:00:00.065) 0:00:17.174 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'lsr101.90' is present] *********** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:56:49 +0000 (0:00:00.059) 0:00:17.233 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_vlan_mtu.yml:52 Wednesday 03 August 2022 17:56:49 +0000 (0:00:00.058) 0:00:17.292 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:56:49 +0000 (0:00:00.056) 0:00:17.348 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:56:49 +0000 (0:00:00.069) 0:00:17.417 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:56:49 +0000 (0:00:00.419) 0:00:17.837 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:56:50 +0000 (0:00:00.978) 0:00:18.815 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:56:51 +0000 (0:00:00.859) 0:00:19.675 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:56:51 +0000 (0:00:00.060) 0:00:19.736 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:56:51 +0000 (0:00:00.050) 0:00:19.786 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:56:51 +0000 (0:00:00.053) 0:00:19.839 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:56:51 +0000 (0:00:00.075) 0:00:19.915 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:56:51 +0000 (0:00:00.050) 0:00:19.965 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:56:51 +0000 (0:00:00.048) 0:00:20.014 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:56:51 +0000 (0:00:00.052) 0:00:20.066 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:56:51 +0000 (0:00:00.048) 0:00:20.114 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:56:51 +0000 (0:00:00.051) 0:00:20.166 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:56:52 +0000 (0:00:00.450) 0:00:20.616 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-253706ahubdh87/tmp350bh4vv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:56:52 +0000 (0:00:00.368) 0:00:20.985 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active) [006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='', err='' [007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active [008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101' [009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:56:53 +0000 (0:00:00.545) 0:00:21.530 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:56:53 +0000 (0:00:00.048) 0:00:21.579 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='', err=''", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:56:53 +0000 (0:00:00.055) 0:00:21.634 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)\n[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='', err=''\n[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active\n[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'\n[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'\n", "stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='', err=''", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:56:53 +0000 (0:00:00.059) 0:00:21.694 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:56:53 +0000 (0:00:00.049) 0:00:21.743 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_vlan_mtu.yml:67 Wednesday 03 August 2022 17:56:53 +0000 (0:00:00.342) 0:00:22.085 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-7.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:56:53 +0000 (0:00:00.075) 0:00:22.161 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:56:53 +0000 (0:00:00.042) 0:00:22.204 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:56:54 +0000 (0:00:00.041) 0:00:22.246 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:56:54 +0000 (0:00:00.065) 0:00:22.312 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:56:54 +0000 (0:00:00.097) 0:00:22.409 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004005", "end": "2022-08-03 17:56:54.199844", "rc": 0, "start": "2022-08-03 17:56:54.195839" } STDOUT: bond0 bonding_masters eth0 lo lsr101 lsr101.90 peerlsr101 rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:56:54 +0000 (0:00:00.344) 0:00:22.753 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:56:54 +0000 (0:00:00.056) 0:00:22.810 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:56:54 +0000 (0:00:00.058) 0:00:22.869 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface lsr101] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:56:55 +0000 (0:00:00.553) 0:00:23.423 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add lsr101 type veth peer name peerlsr101", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerlsr101 up", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set lsr101 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:56:55 +0000 (0:00:00.060) 0:00:23.483 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:56:55 +0000 (0:00:00.046) 0:00:23.529 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.011349", "end": "2022-08-03 17:56:55.313964", "rc": 0, "start": "2022-08-03 17:56:55.302615" } TASK [Create dummy interface lsr101] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:56:55 +0000 (0:00:00.337) 0:00:23.866 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:56:55 +0000 (0:00:00.051) 0:00:23.918 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:56:55 +0000 (0:00:00.050) 0:00:23.969 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:56:55 +0000 (0:00:00.051) 0:00:24.020 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=84 changed=9 unreachable=0 failed=0 skipped=40 rescued=0 ignored=2 Wednesday 03 August 2022 17:56:55 +0000 (0:00:00.070) 0:00:24.091 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.14s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmppolohs8h/tests/network/tests_vlan_mtu_initscripts.yml:4 --------------- Create veth interface lsr101 -------------------------------------------- 0.98s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which services are running ---- 0.98s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.86s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.84s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmppolohs8h/tests/network/playbooks/tests_vlan_mtu.yml:3 ----------------- Install iproute --------------------------------------------------------- 0.71s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Enable network service -------------- 0.70s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Install iproute --------------------------------------------------------- 0.55s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.55s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.51s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Enable EPEL 7 ----------------------------------------------------------- 0.49s /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:11 ----------------------- Get stat for interface lsr101 ------------------------------------------- 0.46s /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 ------- fedora.linux_system_roles.network : Enable network service -------------- 0.45s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.44s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Back up system files ---------------------------------------------------- 0.43s /tmp/tmppolohs8h/tests/network/_backup.yml:19 --------------------------------- fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.42s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.42s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmppolohs8h/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmppolohs8h/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:56:55 +0000 (0:00:00.077) 0:00:24.169 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006657", "end": "2022-08-03 17:56:55.926397", "rc": 0, "start": "2022-08-03 17:56:55.919740" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=85 changed=10 unreachable=0 failed=0 skipped=40 rescued=0 ignored=2 Wednesday 03 August 2022 17:56:56 +0000 (0:00:00.326) 0:00:24.496 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.14s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmppolohs8h/tests/network/tests_vlan_mtu_initscripts.yml:4 --------------- Create veth interface lsr101 -------------------------------------------- 0.98s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which services are running ---- 0.98s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.86s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.84s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmppolohs8h/tests/network/playbooks/tests_vlan_mtu.yml:3 ----------------- Install iproute --------------------------------------------------------- 0.71s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Enable network service -------------- 0.70s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Install iproute --------------------------------------------------------- 0.55s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.55s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.51s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Enable EPEL 7 ----------------------------------------------------------- 0.49s /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:11 ----------------------- Get stat for interface lsr101 ------------------------------------------- 0.46s /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 ------- fedora.linux_system_roles.network : Enable network service -------------- 0.45s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.44s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Back up system files ---------------------------------------------------- 0.43s /tmp/tmppolohs8h/tests/network/_backup.yml:19 --------------------------------- fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.42s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.42s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3