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:11:30 +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": 1659546689.8644898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659546689.8644898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 72, "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": "18446744073084987910", "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:11:31 +0000 (0:00:00.520) 0:00:00.539 ****** [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': 72, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744073084987910', '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': 1659546689.8644898, 'isdir': False, 'ctime': 1659546689.8644898, '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": 1659546689.8644898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659546689.8644898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 72, "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": "18446744073084987910", "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:11:31 +0000 (0:00:00.041) 0:00:00.581 ****** 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.005786", "end": "2022-08-03 17:11:31.519638", "rc": 0, "start": "2022-08-03 17:11:31.513852" } 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:11:32 +0000 (0:00:00.455) 0:00:01.036 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.52s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.46s /tmp/tmplbj_o459/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmplbj_o459/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/tests_auto_gateway_nm.yml:5 Wednesday 03 August 2022 17:11:32 +0000 (0:00:00.077) 0:00:01.113 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_auto_gateway_nm.yml:8 Wednesday 03 August 2022 17:11:33 +0000 (0:00:00.959) 0:00:02.073 ****** 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:11:33 +0000 (0:00:00.027) 0:00:02.101 ****** 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:11:33 +0000 (0:00:00.021) 0:00:02.122 ****** 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:11:33 +0000 (0:00:00.027) 0:00:02.149 ****** 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:11:33 +0000 (0:00:00.303) 0:00:02.453 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.174259", "end": "2022-08-03 17:11:33.437349", "rc": 0, "start": "2022-08-03 17:11:33.263090" } 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:11:33 +0000 (0:00:00.479) 0:00:02.933 ****** 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:11:33 +0000 (0:00:00.023) 0:00:02.956 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmplbj_o459/tests/tests_auto_gateway_nm.yml:9 Wednesday 03 August 2022 17:11:33 +0000 (0:00:00.021) 0:00:02.977 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 17:11:34 +0000 (0:00:00.047) 0:00:03.025 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 17:11:34 +0000 (0:00:00.735) 0:00:03.761 ****** 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:11:34 +0000 (0:00:00.047) 0:00:03.808 ****** 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:11:34 +0000 (0:00:00.035) 0:00:03.843 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004628", "end": "2022-08-03 17:11:34.668276", "rc": 0, "start": "2022-08-03 17:11:34.663648" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:11:35 +0000 (0:00:00.322) 0:00:04.165 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:11:35 +0000 (0:00:00.034) 0:00:04.200 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 17:11:35 +0000 (0:00:00.031) 0:00:04.232 ****** 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:11:35 +0000 (0:00:00.052) 0:00:04.284 ****** 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:11:35 +0000 (0:00:00.022) 0:00:04.307 ****** 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:11:35 +0000 (0:00:00.021) 0:00:04.328 ****** 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:11:35 +0000 (0:00:00.033) 0:00:04.362 ****** 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:11:35 +0000 (0:00:00.030) 0:00:04.393 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003991", "end": "2022-08-03 17:11:35.207190", "rc": 0, "start": "2022-08-03 17:11:35.203199" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:11:35 +0000 (0:00:00.308) 0:00:04.702 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:11:35 +0000 (0:00:00.080) 0:00:04.782 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:11:35 +0000 (0:00:00.062) 0:00:04.845 ****** 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 veth0] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:11:36 +0000 (0:00:00.673) 0:00:05.519 ****** changed: [/cache/centos-7.qcow2c.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.008694", "end": "2022-08-03 17:11:36.341800", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 17:11:36.333106" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.017886", "end": "2022-08-03 17:11:36.710501", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 17:11:36.692615" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.009592", "end": "2022-08-03 17:11:37.021122", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 17:11:37.011530" } 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:11:37 +0000 (0:00:00.999) 0:00:06.518 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024520", "end": "2022-08-03 17:11:37.374859", "rc": 0, "start": "2022-08-03 17:11:37.350339" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:11:37 +0000 (0:00:00.352) 0:00:06.871 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:11:37 +0000 (0:00:00.023) 0:00:06.895 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:11:37 +0000 (0:00:00.022) 0:00:06.918 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:11:37 +0000 (0:00:00.023) 0:00:06.941 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:11:37 +0000 (0:00:00.023) 0:00:06.965 ****** 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_auto_gateway.yml:12 Wednesday 03 August 2022 17:11:38 +0000 (0:00:00.060) 0:00:07.025 ****** 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:11:38 +0000 (0:00:00.050) 0:00:07.075 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:11:38 +0000 (0:00:00.031) 0:00:07.107 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546696.3414898, "block_size": 4096, "blocks": 0, "ctime": 1659546696.3414898, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14784, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1659546696.3414898, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:11:38 +0000 (0:00:00.302) 0:00:07.410 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 17:11:38 +0000 (0:00:00.032) 0:00:07.442 ****** 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:11:38 +0000 (0:00:00.029) 0:00:07.472 ****** 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:11:38 +0000 (0:00:00.032) 0:00:07.505 ****** 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:11:38 +0000 (0:00:00.409) 0:00:07.914 ****** 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:11:39 +0000 (0:00:01.028) 0:00:08.942 ****** 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:11:41 +0000 (0:00:01.152) 0:00:10.094 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:11:41 +0000 (0:00:00.043) 0:00:10.138 ****** 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:11:41 +0000 (0:00:00.064) 0:00:10.203 ****** 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:11:41 +0000 (0:00:00.036) 0:00:10.239 ****** 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:11:41 +0000 (0:00:00.070) 0:00:10.310 ****** 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:11:41 +0000 (0:00:00.035) 0:00:10.346 ****** 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:11:41 +0000 (0:00:00.036) 0:00:10.383 ****** 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:11:41 +0000 (0:00:00.049) 0:00:10.432 ****** 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 : 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:11:42 +0000 (0:00:00.695) 0:00:11.127 ****** 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:11:42 +0000 (0:00:00.051) 0:00:11.179 ****** 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 : 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:11:42 +0000 (0:00:00.032) 0:00:11.211 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:11:42 +0000 (0:00:00.032) 0:00:11.244 ****** 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": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 396c1491-8270-4571-b5e3-158793c47c9c [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 396c1491-8270-4571-b5e3-158793c47c9c (not-active) 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:11:42 +0000 (0:00:00.730) 0:00:11.975 ****** 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:11:42 +0000 (0:00:00.037) 0:00:12.013 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 396c1491-8270-4571-b5e3-158793c47c9c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 396c1491-8270-4571-b5e3-158793c47c9c (not-active)" ] } 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:11:43 +0000 (0:00:00.042) 0:00:12.055 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 396c1491-8270-4571-b5e3-158793c47c9c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 396c1491-8270-4571-b5e3-158793c47c9c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 396c1491-8270-4571-b5e3-158793c47c9c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 396c1491-8270-4571-b5e3-158793c47c9c (not-active)" ] } } 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:11:43 +0000 (0:00:00.109) 0:00:12.165 ****** 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:11:43 +0000 (0:00:00.037) 0:00:12.202 ****** 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_auto_gateway.yml:34 Wednesday 03 August 2022 17:11:43 +0000 (0:00:00.432) 0:00:12.634 ****** 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:11:43 +0000 (0:00:00.068) 0:00:12.703 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:11:43 +0000 (0:00:00.048) 0:00:12.751 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546697.9134898, "block_size": 4096, "blocks": 0, "ctime": 1659546696.3414898, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14784, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1659546696.3414898, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:11:44 +0000 (0:00:00.320) 0:00:13.072 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 17:11:44 +0000 (0:00:00.043) 0:00:13.116 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:11:44 +0000 (0:00:00.070) 0:00:13.186 ****** 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:11:44 +0000 (0:00:00.053) 0:00:13.239 ****** 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:11:44 +0000 (0:00:00.042) 0:00:13.282 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546702.4864898, "block_size": 4096, "blocks": 8, "ctime": 1659546702.4124897, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8295, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546702.4124897, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 379, "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:11:44 +0000 (0:00:00.321) 0:00:13.604 ****** 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:11:44 +0000 (0:00:00.081) 0:00:13.685 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024034", "end": "2022-08-03 17:11:44.515760", "rc": 0, "start": "2022-08-03 17:11:44.491726" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:11:45 +0000 (0:00:00.339) 0:00:14.024 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:11:45 +0000 (0:00:00.045) 0:00:14.069 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:11:45 +0000 (0:00:00.035) 0:00:14.105 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:11:45 +0000 (0:00:00.034) 0:00:14.139 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:11:45 +0000 (0:00:00.048) 0:00:14.188 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 17:11:45 +0000 (0:00:00.044) 0:00:14.232 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003949", "end": "2022-08-03 17:11:45.059542", "rc": 0, "start": "2022-08-03 17:11:45.055593" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 101 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 17:11:45 +0000 (0:00:00.332) 0:00:14.565 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 17:11:45 +0000 (0:00:00.044) 0:00:14.609 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004368", "end": "2022-08-03 17:11:45.440688", "rc": 0, "start": "2022-08-03 17:11:45.436320" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 100 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fec0::/64 dev eth0 proto kernel metric 100 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86185sec pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1585sec hoplimit 64 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 17:11:45 +0000 (0:00:00.347) 0:00:14.956 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 17:11:45 +0000 (0:00:00.045) 0:00:15.002 ****** 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:11:46 +0000 (0:00:00.047) 0:00:15.049 ****** 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:11:46 +0000 (0:00:00.066) 0:00:15.115 ****** 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:11:46 +0000 (0:00:00.423) 0:00:15.539 ****** 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:11:47 +0000 (0:00:00.923) 0:00:16.462 ****** 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:11:48 +0000 (0:00:00.855) 0:00:17.318 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:11:48 +0000 (0:00:00.044) 0:00:17.362 ****** 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:11:48 +0000 (0:00:00.035) 0:00:17.398 ****** 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:11:48 +0000 (0:00:00.033) 0:00:17.431 ****** 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:11:48 +0000 (0:00:00.068) 0:00:17.499 ****** 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:11:48 +0000 (0:00:00.033) 0:00:17.532 ****** 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:11:48 +0000 (0:00:00.069) 0:00:17.602 ****** 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:11:48 +0000 (0:00:00.050) 0:00:17.652 ****** 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 : 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:11:49 +0000 (0:00:00.446) 0:00:18.098 ****** 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:11:49 +0000 (0:00:00.053) 0:00:18.152 ****** 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 : 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:11:49 +0000 (0:00:00.033) 0:00:18.185 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:11:49 +0000 (0:00:00.034) 0:00:18.220 ****** 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": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:11:49 +0000 (0:00:00.576) 0:00:18.796 ****** 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:11:49 +0000 (0:00:00.042) 0:00:18.838 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } 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:11:49 +0000 (0:00:00.046) 0:00:18.884 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:11:49 +0000 (0:00:00.041) 0:00:18.925 ****** 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:11:49 +0000 (0:00:00.037) 0:00:18.963 ****** 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_auto_gateway.yml:71 Wednesday 03 August 2022 17:11:50 +0000 (0:00:00.323) 0:00:19.286 ****** 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:11:50 +0000 (0:00:00.106) 0:00:19.393 ****** 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:11:50 +0000 (0:00:00.032) 0:00:19.425 ****** 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:11:50 +0000 (0:00:00.036) 0:00:19.462 ****** 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:11:50 +0000 (0:00:00.050) 0:00:19.512 ****** 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:11:50 +0000 (0:00:00.051) 0:00:19.564 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004091", "end": "2022-08-03 17:11:50.369837", "rc": 0, "start": "2022-08-03 17:11:50.365746" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:11:50 +0000 (0:00:00.311) 0:00:19.875 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:11:50 +0000 (0:00:00.043) 0:00:19.919 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:11:50 +0000 (0:00:00.043) 0:00:19.962 ****** 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 veth0] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:11:51 +0000 (0:00:00.549) 0:00:20.511 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:11:51 +0000 (0:00:00.048) 0:00:20.559 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:11:51 +0000 (0:00:00.035) 0:00:20.595 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012880", "end": "2022-08-03 17:11:51.443656", "rc": 0, "start": "2022-08-03 17:11:51.430776" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:11:51 +0000 (0:00:00.355) 0:00:20.950 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:11:51 +0000 (0:00:00.036) 0:00:20.987 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:11:52 +0000 (0:00:00.084) 0:00:21.071 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:11:52 +0000 (0:00:00.033) 0:00:21.104 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 17:11:52 +0000 (0:00:00.033) 0:00:21.138 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 17:11:52 +0000 (0:00:00.041) 0:00:21.179 ****** 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:11:52 +0000 (0:00:00.075) 0:00:21.255 ****** 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:11:52 +0000 (0:00:00.031) 0:00:21.286 ****** 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:11:52 +0000 (0:00:00.030) 0:00:21.317 ****** 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:11:52 +0000 (0:00:00.049) 0:00:21.366 ****** 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:11:52 +0000 (0:00:00.047) 0:00:21.414 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003877", "end": "2022-08-03 17:11:52.219909", "rc": 0, "start": "2022-08-03 17:11:52.216032" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:11:52 +0000 (0:00:00.307) 0:00:21.722 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:11:52 +0000 (0:00:00.044) 0:00:21.767 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:11:52 +0000 (0:00:00.042) 0:00:21.809 ****** 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 veth0] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:11:53 +0000 (0:00:00.555) 0:00:22.364 ****** changed: [/cache/centos-7.qcow2c.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.011369", "end": "2022-08-03 17:11:53.248379", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 17:11:53.237010" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.015218", "end": "2022-08-03 17:11:53.558357", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 17:11:53.543139" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005839", "end": "2022-08-03 17:11:53.867263", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 17:11:53.861424" } 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:11:54 +0000 (0:00:01.010) 0:00:23.375 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.028251", "end": "2022-08-03 17:11:54.217654", "rc": 0, "start": "2022-08-03 17:11:54.189403" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:11:54 +0000 (0:00:00.350) 0:00:23.725 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:11:54 +0000 (0:00:00.036) 0:00:23.761 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:11:54 +0000 (0:00:00.033) 0:00:23.795 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:11:54 +0000 (0:00:00.034) 0:00:23.830 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:11:54 +0000 (0:00:00.034) 0:00:23.865 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:11:54 +0000 (0:00:00.034) 0:00:23.899 ****** 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:11:54 +0000 (0:00:00.056) 0:00:23.955 ****** 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:11:55 +0000 (0:00:00.426) 0:00:24.382 ****** 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:11:56 +0000 (0:00:00.963) 0:00:25.345 ****** 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:11:57 +0000 (0:00:00.902) 0:00:26.248 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:11:57 +0000 (0:00:00.044) 0:00:26.292 ****** 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:11:57 +0000 (0:00:00.035) 0:00:26.328 ****** 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:11:57 +0000 (0:00:00.039) 0:00:26.367 ****** 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:11:57 +0000 (0:00:00.071) 0:00:26.438 ****** 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:11:57 +0000 (0:00:00.038) 0:00:26.476 ****** 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:11:57 +0000 (0:00:00.036) 0:00:26.513 ****** 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:11:57 +0000 (0:00:00.055) 0:00:26.568 ****** 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 : 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:11:58 +0000 (0:00:00.487) 0:00:27.056 ****** 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:11:58 +0000 (0:00:00.055) 0:00:27.111 ****** 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 : 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:11:58 +0000 (0:00:00.033) 0:00:27.145 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:11:58 +0000 (0:00:00.030) 0:00:27.176 ****** 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": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a408e65d-135b-4ad9-9124-13dd4ffd70bc [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a408e65d-135b-4ad9-9124-13dd4ffd70bc (not-active) 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:11:58 +0000 (0:00:00.517) 0:00:27.693 ****** 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:11:58 +0000 (0:00:00.039) 0:00:27.732 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a408e65d-135b-4ad9-9124-13dd4ffd70bc", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a408e65d-135b-4ad9-9124-13dd4ffd70bc (not-active)" ] } 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:11:58 +0000 (0:00:00.047) 0:00:27.780 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a408e65d-135b-4ad9-9124-13dd4ffd70bc\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a408e65d-135b-4ad9-9124-13dd4ffd70bc (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a408e65d-135b-4ad9-9124-13dd4ffd70bc", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a408e65d-135b-4ad9-9124-13dd4ffd70bc (not-active)" ] } } 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:11:58 +0000 (0:00:00.049) 0:00:27.829 ****** 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:11:58 +0000 (0:00:00.038) 0:00:27.868 ****** 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_auto_gateway.yml:98 Wednesday 03 August 2022 17:11:59 +0000 (0:00:00.346) 0:00:28.214 ****** 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:11:59 +0000 (0:00:00.093) 0:00:28.308 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:11:59 +0000 (0:00:00.055) 0:00:28.363 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546718.1064897, "block_size": 4096, "blocks": 0, "ctime": 1659546713.2494898, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14785, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1659546713.2494898, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:11:59 +0000 (0:00:00.366) 0:00:28.729 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 17:11:59 +0000 (0:00:00.046) 0:00:28.776 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:11:59 +0000 (0:00:00.076) 0:00:28.853 ****** 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:11:59 +0000 (0:00:00.053) 0:00:28.907 ****** 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:11:59 +0000 (0:00:00.043) 0:00:28.950 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546718.1944897, "block_size": 4096, "blocks": 8, "ctime": 1659546718.1464899, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546718.1464899, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "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:12:00 +0000 (0:00:00.322) 0:00:29.273 ****** 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:12:00 +0000 (0:00:00.045) 0:00:29.318 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024683", "end": "2022-08-03 17:12:00.159492", "rc": 0, "start": "2022-08-03 17:12:00.134809" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:12:00 +0000 (0:00:00.352) 0:00:29.671 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:12:00 +0000 (0:00:00.047) 0:00:29.718 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:12:00 +0000 (0:00:00.038) 0:00:29.756 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:12:00 +0000 (0:00:00.041) 0:00:29.798 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:12:00 +0000 (0:00:00.050) 0:00:29.849 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 17:12:00 +0000 (0:00:00.045) 0:00:29.895 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003663", "end": "2022-08-03 17:12:00.753703", "rc": 0, "start": "2022-08-03 17:12:00.750040" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp metric 100 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 17:12:01 +0000 (0:00:00.364) 0:00:30.259 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 17:12:01 +0000 (0:00:00.048) 0:00:30.308 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003968", "end": "2022-08-03 17:12:01.121872", "rc": 0, "start": "2022-08-03 17:12:01.117904" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 100 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fec0::/64 dev eth0 proto kernel metric 100 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86169sec pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1569sec hoplimit 64 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 17:12:01 +0000 (0:00:00.322) 0:00:30.630 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 17:12:01 +0000 (0:00:00.052) 0:00:30.682 ****** 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:12:01 +0000 (0:00:00.046) 0:00:30.728 ****** 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:12:01 +0000 (0:00:00.056) 0:00:30.785 ****** 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:12:02 +0000 (0:00:00.453) 0:00:31.239 ****** 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:12:03 +0000 (0:00:00.925) 0:00:32.164 ****** 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:12:04 +0000 (0:00:00.968) 0:00:33.133 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:12:04 +0000 (0:00:00.047) 0:00:33.180 ****** 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:12:04 +0000 (0:00:00.037) 0:00:33.218 ****** 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:12:04 +0000 (0:00:00.033) 0:00:33.252 ****** 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:12:04 +0000 (0:00:00.074) 0:00:33.326 ****** 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:12:04 +0000 (0:00:00.041) 0:00:33.368 ****** 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:12:04 +0000 (0:00:00.038) 0:00:33.407 ****** 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:12:04 +0000 (0:00:00.052) 0:00:33.459 ****** 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 : 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:12:04 +0000 (0:00:00.445) 0:00:33.905 ****** 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:12:04 +0000 (0:00:00.054) 0:00:33.959 ****** 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 : 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:12:04 +0000 (0:00:00.033) 0:00:33.992 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:12:05 +0000 (0:00:00.034) 0:00:34.027 ****** 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": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:12:05 +0000 (0:00:00.570) 0:00:34.597 ****** 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:12:05 +0000 (0:00:00.039) 0:00:34.636 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } 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:12:05 +0000 (0:00:00.045) 0:00:34.682 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:12:05 +0000 (0:00:00.140) 0:00:34.823 ****** 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:12:05 +0000 (0:00:00.038) 0:00:34.862 ****** 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_auto_gateway.yml:135 Wednesday 03 August 2022 17:12:06 +0000 (0:00:00.325) 0:00:35.187 ****** 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:12:06 +0000 (0:00:00.085) 0:00:35.273 ****** 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:12:06 +0000 (0:00:00.036) 0:00:35.309 ****** 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:12:06 +0000 (0:00:00.033) 0:00:35.343 ****** 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:12:06 +0000 (0:00:00.056) 0:00:35.399 ****** 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:12:06 +0000 (0:00:00.051) 0:00:35.451 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003965", "end": "2022-08-03 17:12:06.270491", "rc": 0, "start": "2022-08-03 17:12:06.266526" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:12:06 +0000 (0:00:00.327) 0:00:35.779 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:12:06 +0000 (0:00:00.044) 0:00:35.823 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:12:06 +0000 (0:00:00.046) 0:00:35.870 ****** 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 veth0] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:12:07 +0000 (0:00:00.578) 0:00:36.448 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:12:07 +0000 (0:00:00.046) 0:00:36.494 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:12:07 +0000 (0:00:00.036) 0:00:36.531 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012330", "end": "2022-08-03 17:12:07.366612", "rc": 0, "start": "2022-08-03 17:12:07.354282" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:12:07 +0000 (0:00:00.345) 0:00:36.877 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:12:07 +0000 (0:00:00.035) 0:00:36.912 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:12:07 +0000 (0:00:00.035) 0:00:36.948 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:12:07 +0000 (0:00:00.035) 0:00:36.983 ****** 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=131 changed=12 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Wednesday 03 August 2022 17:12:08 +0000 (0:00:00.054) 0:00:37.038 ****** =============================================================================== linux-system-roles.network : Check which packages are installed --------- 1.15s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 1.15s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- 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 Create veth interface veth0 --------------------------------------------- 1.01s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Create veth interface veth0 --------------------------------------------- 1.00s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 0.97s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 0.96s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmplbj_o459/tests/tests_auto_gateway_nm.yml:5 ---------------------------- linux-system-roles.network : Check which services are running ----------- 0.93s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.90s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.89s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Check which packages are installed --------- 0.86s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:3 --------------------- linux-system-roles.network : Configure networking connection profiles --- 0.73s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.70s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Install iproute --------------------------------------------------------- 0.67s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Re-test connectivity ----------------------- 0.65s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Install iproute --------------------------------------------------------- 0.58s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 0.56s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- 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:12:08 +0000 (0:00:00.040) 0:00:37.078 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006853", "end": "2022-08-03 17:12:07.897669", "rc": 0, "start": "2022-08-03 17:12:07.890816" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=132 changed=13 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Wednesday 03 August 2022 17:12:08 +0000 (0:00:00.344) 0:00:37.423 ****** =============================================================================== linux-system-roles.network : Check which packages are installed --------- 1.15s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 1.15s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- 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 Create veth interface veth0 --------------------------------------------- 1.01s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Create veth interface veth0 --------------------------------------------- 1.00s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 0.97s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 0.96s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmplbj_o459/tests/tests_auto_gateway_nm.yml:5 ---------------------------- linux-system-roles.network : Check which services are running ----------- 0.93s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.90s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.89s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Check which packages are installed --------- 0.86s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmplbj_o459/tests/playbooks/tests_auto_gateway.yml:3 --------------------- linux-system-roles.network : Configure networking connection profiles --- 0.73s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.70s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Install iproute --------------------------------------------------------- 0.67s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Re-test connectivity ----------------------- 0.65s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Install iproute --------------------------------------------------------- 0.58s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Install iproute --------------------------------------------------------- 0.56s /tmp/tmplbj_o459/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- 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:36:44 +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": 1659548203.5473065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548203.5473065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 72, "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": "18446744073084987910", "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:36:45 +0000 (0:00:00.508) 0:00:00.526 ****** [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': 72, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744073084987910', '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': 1659548203.5473065, 'isdir': False, 'ctime': 1659548203.5473065, '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": 1659548203.5473065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548203.5473065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 72, "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": "18446744073084987910", "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:36:45 +0000 (0:00:00.035) 0:00:00.562 ****** 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.005347", "end": "2022-08-03 17:36:45.177397", "rc": 0, "start": "2022-08-03 17:36:45.172050" } 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:36:45 +0000 (0:00:00.425) 0:00:00.987 ****** =============================================================================== 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_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmppolohs8h/tests/network/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/tests_auto_gateway_nm.yml:5 Wednesday 03 August 2022 17:36:45 +0000 (0:00:00.070) 0:00:01.057 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_auto_gateway_nm.yml:8 Wednesday 03 August 2022 17:36:46 +0000 (0:00:00.990) 0:00:02.048 ****** 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:36:46 +0000 (0:00:00.028) 0:00:02.076 ****** 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:36:46 +0000 (0:00:00.021) 0:00:02.098 ****** 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:36:46 +0000 (0:00:00.028) 0:00:02.127 ****** 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:36:46 +0000 (0:00:00.317) 0:00:02.444 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.185868", "end": "2022-08-03 17:36:47.143518", "rc": 0, "start": "2022-08-03 17:36:46.957650" } 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:36:47 +0000 (0:00:00.508) 0:00:02.952 ****** 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:36:47 +0000 (0:00:00.022) 0:00:02.975 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmppolohs8h/tests/network/tests_auto_gateway_nm.yml:9 Wednesday 03 August 2022 17:36:47 +0000 (0:00:00.019) 0:00:02.995 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 17:36:47 +0000 (0:00:00.047) 0:00:03.042 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 17:36:48 +0000 (0:00:00.748) 0:00:03.791 ****** 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:36:48 +0000 (0:00:00.050) 0:00:03.841 ****** 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:36:48 +0000 (0:00:00.038) 0:00:03.880 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004310", "end": "2022-08-03 17:36:48.400114", "rc": 0, "start": "2022-08-03 17:36:48.395804" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:36:48 +0000 (0:00:00.325) 0:00:04.206 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:36:48 +0000 (0:00:00.033) 0:00:04.239 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 17:36:48 +0000 (0:00:00.033) 0:00:04.273 ****** 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:36:48 +0000 (0:00:00.051) 0:00:04.324 ****** 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:36:48 +0000 (0:00:00.020) 0:00:04.345 ****** 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:36:48 +0000 (0:00:00.020) 0:00:04.365 ****** 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:36:48 +0000 (0:00:00.030) 0:00:04.396 ****** 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:36:48 +0000 (0:00:00.031) 0:00:04.427 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003879", "end": "2022-08-03 17:36:48.976365", "rc": 0, "start": "2022-08-03 17:36:48.972486" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:36:49 +0000 (0:00:00.354) 0:00:04.782 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:36:49 +0000 (0:00:00.033) 0:00:04.816 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:36:49 +0000 (0:00:00.033) 0:00:04.849 ****** 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 veth0] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:36:50 +0000 (0:00:00.689) 0:00:05.539 ****** changed: [/cache/centos-7.qcow2c.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.008103", "end": "2022-08-03 17:36:50.089459", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 17:36:50.081356" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.008682", "end": "2022-08-03 17:36:50.382330", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 17:36:50.373648" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.011206", "end": "2022-08-03 17:36:50.688992", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 17:36:50.677786" } 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:36:50 +0000 (0:00:00.957) 0:00:06.496 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024863", "end": "2022-08-03 17:36:51.063737", "rc": 0, "start": "2022-08-03 17:36:51.038874" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:36:51 +0000 (0:00:00.375) 0:00:06.872 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:36:51 +0000 (0:00:00.024) 0:00:06.896 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:36:51 +0000 (0:00:00.023) 0:00:06.920 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:36:51 +0000 (0:00:00.023) 0:00:06.943 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:36:51 +0000 (0:00:00.022) 0:00:06.966 ****** 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_auto_gateway.yml:12 Wednesday 03 August 2022 17:36:51 +0000 (0:00:00.021) 0:00:06.987 ****** 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:36:51 +0000 (0:00:00.048) 0:00:07.035 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:36:51 +0000 (0:00:00.031) 0:00:07.067 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548210.0913064, "block_size": 4096, "blocks": 0, "ctime": 1659548210.0913064, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14784, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1659548210.0913064, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:36:51 +0000 (0:00:00.348) 0:00:07.416 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 17:36:51 +0000 (0:00:00.036) 0:00:07.452 ****** 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:36:51 +0000 (0:00:00.036) 0:00:07.489 ****** 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:36:52 +0000 (0:00:00.039) 0:00:07.528 ****** 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:36:52 +0000 (0:00:00.415) 0:00:07.943 ****** 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:36:53 +0000 (0:00:00.998) 0:00:08.942 ****** 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:36:54 +0000 (0:00:01.147) 0:00:10.090 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:36:54 +0000 (0:00:00.043) 0:00:10.134 ****** 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:36:54 +0000 (0:00:00.037) 0:00:10.171 ****** 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:36:54 +0000 (0:00:00.034) 0:00:10.205 ****** 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:36:54 +0000 (0:00:00.071) 0:00:10.276 ****** 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:36:54 +0000 (0:00:00.035) 0:00:10.312 ****** 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:36:54 +0000 (0:00:00.066) 0:00:10.379 ****** 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:36:54 +0000 (0:00:00.050) 0:00:10.429 ****** 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 : 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:36:55 +0000 (0:00:00.683) 0:00:11.112 ****** 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:36:55 +0000 (0:00:00.053) 0:00:11.166 ****** 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 : 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:36:55 +0000 (0:00:00.031) 0:00:11.198 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:36:55 +0000 (0:00:00.034) 0:00:11.232 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, bd597cbb-0aea-4e1d-abc6-72977c15326e [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, bd597cbb-0aea-4e1d-abc6-72977c15326e (not-active) 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:36:56 +0000 (0:00:00.716) 0:00:11.949 ****** 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:36:56 +0000 (0:00:00.036) 0:00:11.986 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, bd597cbb-0aea-4e1d-abc6-72977c15326e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, bd597cbb-0aea-4e1d-abc6-72977c15326e (not-active)" ] } 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:36:56 +0000 (0:00:00.042) 0:00:12.029 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, bd597cbb-0aea-4e1d-abc6-72977c15326e\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, bd597cbb-0aea-4e1d-abc6-72977c15326e (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, bd597cbb-0aea-4e1d-abc6-72977c15326e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, bd597cbb-0aea-4e1d-abc6-72977c15326e (not-active)" ] } } 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:36:56 +0000 (0:00:00.044) 0:00:12.073 ****** 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:36:56 +0000 (0:00:00.037) 0:00:12.111 ****** 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_auto_gateway.yml:34 Wednesday 03 August 2022 17:36:57 +0000 (0:00:00.471) 0:00:12.582 ****** 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:36:57 +0000 (0:00:00.068) 0:00:12.650 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:36:57 +0000 (0:00:00.051) 0:00:12.702 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548211.6083066, "block_size": 4096, "blocks": 0, "ctime": 1659548210.0913064, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14784, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1659548210.0913064, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:36:57 +0000 (0:00:00.322) 0:00:13.025 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 17:36:57 +0000 (0:00:00.046) 0:00:13.072 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:36:57 +0000 (0:00:00.069) 0:00:13.141 ****** 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:36:57 +0000 (0:00:00.050) 0:00:13.192 ****** 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:36:57 +0000 (0:00:00.039) 0:00:13.231 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548216.1533065, "block_size": 4096, "blocks": 8, "ctime": 1659548216.0893066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8295, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659548216.0893066, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 379, "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:36:58 +0000 (0:00:00.323) 0:00:13.554 ****** 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:36:58 +0000 (0:00:00.042) 0:00:13.597 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.032031", "end": "2022-08-03 17:36:58.132820", "rc": 0, "start": "2022-08-03 17:36:58.100789" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:36:58 +0000 (0:00:00.388) 0:00:13.985 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:36:58 +0000 (0:00:00.045) 0:00:14.030 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:36:58 +0000 (0:00:00.036) 0:00:14.066 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:36:58 +0000 (0:00:00.035) 0:00:14.102 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:36:58 +0000 (0:00:00.050) 0:00:14.152 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 17:36:58 +0000 (0:00:00.045) 0:00:14.198 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004269", "end": "2022-08-03 17:36:58.707946", "rc": 0, "start": "2022-08-03 17:36:58.703677" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 101 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 17:36:59 +0000 (0:00:00.326) 0:00:14.524 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 17:36:59 +0000 (0:00:00.044) 0:00:14.568 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003838", "end": "2022-08-03 17:36:59.059661", "rc": 0, "start": "2022-08-03 17:36:59.055823" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 100 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fec0::/64 dev eth0 proto kernel metric 100 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86183sec pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1583sec hoplimit 64 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 17:36:59 +0000 (0:00:00.305) 0:00:14.874 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 17:36:59 +0000 (0:00:00.047) 0:00:14.921 ****** 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:36:59 +0000 (0:00:00.048) 0:00:14.970 ****** 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:36:59 +0000 (0:00:00.062) 0:00:15.032 ****** 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:36:59 +0000 (0:00:00.434) 0:00:15.466 ****** 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:37:00 +0000 (0:00:00.927) 0:00:16.394 ****** 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:37:01 +0000 (0:00:00.869) 0:00:17.263 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:37:01 +0000 (0:00:00.044) 0:00:17.308 ****** 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:37:01 +0000 (0:00:00.038) 0:00:17.346 ****** 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:37:01 +0000 (0:00:00.035) 0:00:17.382 ****** 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:37:01 +0000 (0:00:00.073) 0:00:17.456 ****** 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:37:01 +0000 (0:00:00.040) 0:00:17.496 ****** 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:37:02 +0000 (0:00:00.040) 0:00:17.536 ****** 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:37:02 +0000 (0:00:00.050) 0:00:17.587 ****** 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 : 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:37:02 +0000 (0:00:00.500) 0:00:18.087 ****** 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:37:02 +0000 (0:00:00.051) 0:00:18.139 ****** 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 : 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:37:02 +0000 (0:00:00.031) 0:00:18.170 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:37:02 +0000 (0:00:00.032) 0:00:18.203 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:37:03 +0000 (0:00:00.588) 0:00:18.791 ****** 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:37:03 +0000 (0:00:00.036) 0:00:18.828 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } 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:37:03 +0000 (0:00:00.046) 0:00:18.874 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:37:03 +0000 (0:00:00.044) 0:00:18.919 ****** 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:37:03 +0000 (0:00:00.035) 0:00:18.955 ****** 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_auto_gateway.yml:71 Wednesday 03 August 2022 17:37:03 +0000 (0:00:00.339) 0:00:19.294 ****** 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:37:03 +0000 (0:00:00.073) 0:00:19.368 ****** 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:37:03 +0000 (0:00:00.032) 0:00:19.401 ****** 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:37:03 +0000 (0:00:00.031) 0:00:19.432 ****** 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:37:04 +0000 (0:00:00.088) 0:00:19.521 ****** 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:37:04 +0000 (0:00:00.049) 0:00:19.571 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004463", "end": "2022-08-03 17:37:04.098210", "rc": 0, "start": "2022-08-03 17:37:04.093747" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:37:04 +0000 (0:00:00.344) 0:00:19.915 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:37:04 +0000 (0:00:00.044) 0:00:19.960 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:37:04 +0000 (0:00:00.046) 0:00:20.006 ****** 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 veth0] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.545) 0:00:20.552 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.046) 0:00:20.599 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.033) 0:00:20.632 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015491", "end": "2022-08-03 17:37:05.149586", "rc": 0, "start": "2022-08-03 17:37:05.134095" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.337) 0:00:20.969 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.032) 0:00:21.002 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.035) 0:00:21.037 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.036) 0:00:21.073 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.033) 0:00:21.107 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 17:37:05 +0000 (0:00:00.141) 0:00:21.248 ****** 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:37:05 +0000 (0:00:00.076) 0:00:21.325 ****** 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:37:05 +0000 (0:00:00.033) 0:00:21.358 ****** 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:37:05 +0000 (0:00:00.034) 0:00:21.393 ****** 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:37:05 +0000 (0:00:00.052) 0:00:21.446 ****** 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:37:05 +0000 (0:00:00.050) 0:00:21.496 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004178", "end": "2022-08-03 17:37:06.031768", "rc": 0, "start": "2022-08-03 17:37:06.027590" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:37:06 +0000 (0:00:00.352) 0:00:21.849 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:37:06 +0000 (0:00:00.045) 0:00:21.895 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:37:06 +0000 (0:00:00.043) 0:00:21.939 ****** 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 veth0] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:37:06 +0000 (0:00:00.559) 0:00:22.498 ****** changed: [/cache/centos-7.qcow2c.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.011983", "end": "2022-08-03 17:37:07.026612", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 17:37:07.014629" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.007622", "end": "2022-08-03 17:37:07.314307", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 17:37:07.306685" } changed: [/cache/centos-7.qcow2c.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.015069", "end": "2022-08-03 17:37:07.681895", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 17:37:07.666826" } 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:37:07 +0000 (0:00:01.005) 0:00:23.503 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.025262", "end": "2022-08-03 17:37:08.032470", "rc": 0, "start": "2022-08-03 17:37:08.007208" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:37:08 +0000 (0:00:00.351) 0:00:23.854 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:37:08 +0000 (0:00:00.034) 0:00:23.888 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:37:08 +0000 (0:00:00.035) 0:00:23.923 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:37:08 +0000 (0:00:00.034) 0:00:23.958 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:37:08 +0000 (0:00:00.034) 0:00:23.992 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:37:08 +0000 (0:00:00.032) 0:00:24.025 ****** 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:37:08 +0000 (0:00:00.056) 0:00:24.082 ****** 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:37:09 +0000 (0:00:00.440) 0:00:24.523 ****** 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:37:09 +0000 (0:00:00.921) 0:00:25.444 ****** 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:37:10 +0000 (0:00:00.844) 0:00:26.288 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:37:10 +0000 (0:00:00.047) 0:00:26.336 ****** 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:37:10 +0000 (0:00:00.037) 0:00:26.373 ****** 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:37:10 +0000 (0:00:00.038) 0:00:26.411 ****** 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:37:10 +0000 (0:00:00.070) 0:00:26.482 ****** 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:37:11 +0000 (0:00:00.038) 0:00:26.521 ****** 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:37:11 +0000 (0:00:00.045) 0:00:26.566 ****** 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:37:11 +0000 (0:00:00.062) 0:00:26.628 ****** 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 : 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:37:11 +0000 (0:00:00.445) 0:00:27.074 ****** 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:37:11 +0000 (0:00:00.058) 0:00:27.132 ****** 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 : 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:37:11 +0000 (0:00:00.095) 0:00:27.227 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:37:11 +0000 (0:00:00.035) 0:00:27.263 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d30ca1bb-85ea-47d4-8e23-3eb55eaf601c [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d30ca1bb-85ea-47d4-8e23-3eb55eaf601c (not-active) 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:37:12 +0000 (0:00:00.537) 0:00:27.800 ****** 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:37:12 +0000 (0:00:00.038) 0:00:27.839 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d30ca1bb-85ea-47d4-8e23-3eb55eaf601c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d30ca1bb-85ea-47d4-8e23-3eb55eaf601c (not-active)" ] } 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:37:12 +0000 (0:00:00.041) 0:00:27.881 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d30ca1bb-85ea-47d4-8e23-3eb55eaf601c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d30ca1bb-85ea-47d4-8e23-3eb55eaf601c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d30ca1bb-85ea-47d4-8e23-3eb55eaf601c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d30ca1bb-85ea-47d4-8e23-3eb55eaf601c (not-active)" ] } } 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:37:12 +0000 (0:00:00.048) 0:00:27.929 ****** 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:37:12 +0000 (0:00:00.034) 0:00:27.963 ****** 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_auto_gateway.yml:98 Wednesday 03 August 2022 17:37:12 +0000 (0:00:00.346) 0:00:28.310 ****** 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:37:12 +0000 (0:00:00.077) 0:00:28.387 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:37:12 +0000 (0:00:00.052) 0:00:28.440 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548231.8983066, "block_size": 4096, "blocks": 0, "ctime": 1659548227.0273066, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14785, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1659548227.0273066, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:37:13 +0000 (0:00:00.325) 0:00:28.766 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 17:37:13 +0000 (0:00:00.044) 0:00:28.811 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:37:13 +0000 (0:00:00.117) 0:00:28.929 ****** 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:37:13 +0000 (0:00:00.052) 0:00:28.981 ****** 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:37:13 +0000 (0:00:00.045) 0:00:29.026 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548231.9843066, "block_size": 4096, "blocks": 8, "ctime": 1659548231.9393065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659548231.9393065, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "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:37:13 +0000 (0:00:00.331) 0:00:29.358 ****** 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:37:13 +0000 (0:00:00.044) 0:00:29.403 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.027261", "end": "2022-08-03 17:37:13.933017", "rc": 0, "start": "2022-08-03 17:37:13.905756" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:37:14 +0000 (0:00:00.351) 0:00:29.754 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:37:14 +0000 (0:00:00.045) 0:00:29.800 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:37:14 +0000 (0:00:00.032) 0:00:29.832 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:37:14 +0000 (0:00:00.033) 0:00:29.866 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:37:14 +0000 (0:00:00.046) 0:00:29.912 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 17:37:14 +0000 (0:00:00.047) 0:00:29.959 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003856", "end": "2022-08-03 17:37:14.465202", "rc": 0, "start": "2022-08-03 17:37:14.461346" } STDOUT: default via 10.0.2.2 dev eth0 proto dhcp metric 100 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 17:37:14 +0000 (0:00:00.322) 0:00:30.282 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 17:37:14 +0000 (0:00:00.045) 0:00:30.328 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003900", "end": "2022-08-03 17:37:14.838925", "rc": 0, "start": "2022-08-03 17:37:14.835025" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 100 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fec0::/64 dev eth0 proto kernel metric 100 pref medium fec0::/64 dev eth0 proto kernel metric 256 expires 86167sec pref medium default via fe80::2 dev eth0 proto ra metric 1024 expires 1567sec hoplimit 64 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.327) 0:00:30.656 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 17:37:15 +0000 (0:00:00.046) 0:00:30.702 ****** 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:37:15 +0000 (0:00:00.043) 0:00:30.745 ****** 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:37:15 +0000 (0:00:00.058) 0:00:30.804 ****** 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:37:15 +0000 (0:00:00.417) 0:00:31.221 ****** 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:37:16 +0000 (0:00:00.928) 0:00:32.150 ****** 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:37:17 +0000 (0:00:00.912) 0:00:33.063 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:37:17 +0000 (0:00:00.047) 0:00:33.111 ****** 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:37:17 +0000 (0:00:00.037) 0:00:33.149 ****** 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:37:17 +0000 (0:00:00.036) 0:00:33.185 ****** 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:37:17 +0000 (0:00:00.068) 0:00:33.254 ****** 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:37:17 +0000 (0:00:00.035) 0:00:33.290 ****** 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:37:17 +0000 (0:00:00.037) 0:00:33.327 ****** 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:37:17 +0000 (0:00:00.056) 0:00:33.384 ****** 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 : 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:37:18 +0000 (0:00:00.453) 0:00:33.837 ****** 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:37:18 +0000 (0:00:00.051) 0:00:33.888 ****** 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 : 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:37:18 +0000 (0:00:00.034) 0:00:33.922 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:37:18 +0000 (0:00:00.032) 0:00:33.955 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:37:19 +0000 (0:00:00.598) 0:00:34.553 ****** 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:37:19 +0000 (0:00:00.038) 0:00:34.591 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } 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:37:19 +0000 (0:00:00.139) 0:00:34.731 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:37:19 +0000 (0:00:00.046) 0:00:34.777 ****** 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:37:19 +0000 (0:00:00.038) 0:00:34.816 ****** 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_auto_gateway.yml:135 Wednesday 03 August 2022 17:37:19 +0000 (0:00:00.336) 0:00:35.153 ****** 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:37:19 +0000 (0:00:00.080) 0:00:35.233 ****** 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:37:19 +0000 (0:00:00.034) 0:00:35.268 ****** 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:37:19 +0000 (0:00:00.034) 0:00:35.303 ****** 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:37:19 +0000 (0:00:00.053) 0:00:35.356 ****** 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:37:19 +0000 (0:00:00.049) 0:00:35.406 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004059", "end": "2022-08-03 17:37:19.909892", "rc": 0, "start": "2022-08-03 17:37:19.905833" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:37:20 +0000 (0:00:00.322) 0:00:35.728 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:37:20 +0000 (0:00:00.045) 0:00:35.774 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:37:20 +0000 (0:00:00.043) 0:00:35.818 ****** 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 veth0] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:37:20 +0000 (0:00:00.550) 0:00:36.369 ****** skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:37:20 +0000 (0:00:00.047) 0:00:36.417 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:37:20 +0000 (0:00:00.032) 0:00:36.450 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015763", "end": "2022-08-03 17:37:20.994008", "rc": 0, "start": "2022-08-03 17:37:20.978245" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:37:21 +0000 (0:00:00.361) 0:00:36.811 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:37:21 +0000 (0:00:00.034) 0:00:36.846 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:37:21 +0000 (0:00:00.032) 0:00:36.878 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:37:21 +0000 (0:00:00.033) 0:00:36.911 ****** 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=131 changed=12 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Wednesday 03 August 2022 17:37:21 +0000 (0:00:00.050) 0:00:36.962 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 1.19s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface veth0 --------------------------------------------- 1.01s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which services are running ---- 1.00s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmppolohs8h/tests/network/tests_auto_gateway_nm.yml:5 -------------------- Create veth interface veth0 --------------------------------------------- 0.96s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.95s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.92s /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.91s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.87s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:3 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.72s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install iproute --------------------------------------------------------- 0.69s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.68s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Install iproute --------------------------------------------------------- 0.56s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 0.55s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- 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:37:21 +0000 (0:00:00.036) 0:00:36.999 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007107", "end": "2022-08-03 17:37:21.521136", "rc": 0, "start": "2022-08-03 17:37:21.514029" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=132 changed=13 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Wednesday 03 August 2022 17:37:21 +0000 (0:00:00.359) 0:00:37.359 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 1.19s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface veth0 --------------------------------------------- 1.01s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which services are running ---- 1.00s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmppolohs8h/tests/network/tests_auto_gateway_nm.yml:5 -------------------- Create veth interface veth0 --------------------------------------------- 0.96s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.95s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.92s /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.91s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.87s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmppolohs8h/tests/network/playbooks/tests_auto_gateway.yml:3 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.72s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install iproute --------------------------------------------------------- 0.69s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.68s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Install iproute --------------------------------------------------------- 0.56s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Install iproute --------------------------------------------------------- 0.55s /tmp/tmppolohs8h/tests/network/playbooks/tasks/manage_test_interface.yml:15 ---