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/tmpb95mhbnh 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/tmp2w2t0usz/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp2w2t0usz/tests/_backup.yml:6 Wednesday 03 August 2022 16:46:37 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/centos-6.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659545195.7101831, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545195.709997, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545178.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "1928924210", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. TASK [Check if system files exist] ********************************************* task path: /tmp/tmp2w2t0usz/tests/_backup.yml:13 Wednesday 03 August 2022 16:46:37 +0000 (0:00:00.460) 0:00:00.478 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-6.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': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659545178.0, 'block_size': 4096, 'inode': 25, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '1928924210', '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': 1659545195.7101831, 'isdir': False, 'ctime': 1659545195.709997, 'isblk': False, 'wgrp': False, 'checksum': '2c55cc8324e731161638aa365379c1c147546a87', 'dev': 64513, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': ['extents']}, '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": 1659545195.7101831, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545195.709997, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545178.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "1928924210", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp2w2t0usz/tests/_backup.yml:19 Wednesday 03 August 2022 16:46:37 +0000 (0:00:00.036) 0:00:00.514 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005074", "end": "2022-08-03 16:46:37.213039", "rc": 0, "start": "2022-08-03 16:46:37.207965" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:46:38 +0000 (0:00:00.404) 0:00:00.918 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.46s /tmp/tmp2w2t0usz/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.40s /tmp/tmp2w2t0usz/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp2w2t0usz/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /tmp/tmp2w2t0usz/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/tests_auto_gateway_initscripts.yml:4 Wednesday 03 August 2022 16:46:38 +0000 (0:00:00.053) 0:00:00.972 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tests_auto_gateway_initscripts.yml:7 Wednesday 03 August 2022 16:46:39 +0000 (0:00:00.973) 0:00:01.946 ****** included: /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml for /cache/centos-6.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:46:39 +0000 (0:00:00.029) 0:00:01.975 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "checksum": "b0aa488e4736bbd208461d247c4869d2ba0c95cd", "dest": "/etc/yum.repos.d/CentOS-Base.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/CentOS-Base.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 480, "state": "file", "uid": 0 } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:46:40 +0000 (0:00:00.638) 0:00:02.614 ****** included: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml for /cache/centos-6.qcow2c.snap TASK [Create EPEL 6] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:46:40 +0000 (0:00:00.032) 0:00:02.647 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:46:40 +0000 (0:00:00.023) 0:00:02.670 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:46:40 +0000 (0:00:00.024) 0:00:02.694 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:46:40 +0000 (0:00:00.022) 0:00:02.717 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp2w2t0usz/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 03 August 2022 16:46:40 +0000 (0:00:00.519) 0:00:03.236 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 16:46:40 +0000 (0:00:00.050) 0:00:03.287 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 16:46:41 +0000 (0:00:00.715) 0:00:04.003 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:46:41 +0000 (0:00:00.068) 0:00:04.071 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:46:41 +0000 (0:00:00.055) 0:00:04.127 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003921", "end": "2022-08-03 16:46:40.768765", "rc": 0, "start": "2022-08-03 16:46:40.764844" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:46:41 +0000 (0:00:00.357) 0:00:04.484 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:46:42 +0000 (0:00:00.081) 0:00:04.565 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 16:46:42 +0000 (0:00:00.047) 0:00:04.613 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:46:42 +0000 (0:00:00.066) 0:00:04.680 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:46:42 +0000 (0:00:00.036) 0:00:04.717 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:46:42 +0000 (0:00:00.088) 0:00:04.805 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:46:42 +0000 (0:00:00.045) 0:00:04.851 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:46:42 +0000 (0:00:00.042) 0:00:04.893 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003866", "end": "2022-08-03 16:46:41.478249", "rc": 0, "start": "2022-08-03 16:46:41.474383" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:46:42 +0000 (0:00:00.286) 0:00:05.180 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:46:42 +0000 (0:00:00.046) 0:00:05.226 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:46:42 +0000 (0:00:00.045) 0:00:05.272 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:46:43 +0000 (0:00:00.757) 0:00:06.030 ****** changed: [/cache/centos-6.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.049128", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:46:42.668676", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:46:42.619548" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.005729", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:46:42.945197", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:46:42.939468" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004911", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:46:43.210333", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:46:43.205422" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:46:44 +0000 (0:00:00.884) 0:00:06.914 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli d set veth0 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:46:44 +0000 (0:00:00.287) 0:00:07.202 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:46:44 +0000 (0:00:00.039) 0:00:07.241 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:46:44 +0000 (0:00:00.036) 0:00:07.278 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:46:44 +0000 (0:00:00.036) 0:00:07.315 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:46:44 +0000 (0:00:00.035) 0:00:07.350 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 16:46:44 +0000 (0:00:00.033) 0:00:07.384 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:46:44 +0000 (0:00:00.063) 0:00:07.448 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-6.qcow2c.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:46:44 +0000 (0:00:00.046) 0:00:07.494 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545202.785, "block_size": 4096, "blocks": 0, "ctime": 1659545202.775, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7950, "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": 1659545202.775, "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/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:46:45 +0000 (0:00:00.299) 0:00:07.794 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 16:46:45 +0000 (0:00:00.048) 0:00:07.842 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:46:45 +0000 (0:00:00.045) 0:00:07.888 ****** included: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:46:45 +0000 (0:00:00.051) 0:00:07.940 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:46:45 +0000 (0:00:00.411) 0:00:08.351 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:46:47 +0000 (0:00:01.282) 0:00:09.634 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:46:47 +0000 (0:00:00.889) 0:00:10.524 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:46:48 +0000 (0:00:00.085) 0:00:10.609 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:46:48 +0000 (0:00:00.042) 0:00:10.652 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:46:48 +0000 (0:00:00.050) 0:00:10.703 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:46:48 +0000 (0:00:00.067) 0:00:10.770 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:46:48 +0000 (0:00:00.047) 0:00:10.818 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:46:48 +0000 (0:00:00.043) 0:00:10.861 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:46:48 +0000 (0:00:00.050) 0:00:10.912 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:46:48 +0000 (0:00:00.044) 0:00:10.957 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:46:48 +0000 (0:00:00.042) 0:00:11.000 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:46:48 +0000 (0:00:00.514) 0:00:11.514 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-129873friev62d/tmpsb8b5a36" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:46:49 +0000 (0:00:00.300) 0:00:11.815 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-6.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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0... ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:46:54 +0000 (0:00:04.730) 0:00:16.545 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:46:54 +0000 (0:00:00.078) 0:00:16.624 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:46:54 +0000 (0:00:00.084) 0:00:16.708 ****** ok: [/cache/centos-6.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": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:46:54 +0000 (0:00:00.085) 0:00:16.794 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:46:54 +0000 (0:00:00.046) 0:00:16.840 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 16:46:54 +0000 (0:00:00.421) 0:00:17.262 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:46:54 +0000 (0:00:00.078) 0:00:17.341 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-6.qcow2c.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:46:54 +0000 (0:00:00.061) 0:00:17.402 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545202.785, "block_size": 4096, "blocks": 0, "ctime": 1659545202.775, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7950, "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": 1659545202.775, "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/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:46:55 +0000 (0:00:00.298) 0:00:17.701 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 16:46:55 +0000 (0:00:00.051) 0:00:17.753 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:46:55 +0000 (0:00:00.073) 0:00:17.826 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-6.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:46:55 +0000 (0:00:00.056) 0:00:17.883 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:46:55 +0000 (0:00:00.046) 0:00:17.930 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545208.708, "block_size": 4096, "blocks": 8, "ctime": 1659545208.695, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1166, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545208.695, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 242, "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/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:46:55 +0000 (0:00:00.308) 0:00:18.238 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:46:55 +0000 (0:00:00.051) 0:00:18.290 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.006974", "end": "2022-08-03 16:46:54.929068", "rc": 1, "start": "2022-08-03 16:46:54.922094" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:46:56 +0000 (0:00:00.346) 0:00:18.637 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:46:56 +0000 (0:00:00.047) 0:00:18.684 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003677", "end": "2022-08-03 16:46:55.267363", "rc": 0, "start": "2022-08-03 16:46:55.263686" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:46:56 +0000 (0:00:00.292) 0:00:18.976 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:46:56 +0000 (0:00:00.059) 0:00:19.036 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:46:56 +0000 (0:00:00.054) 0:00:19.091 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 16:46:56 +0000 (0:00:00.055) 0:00:19.146 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004319", "end": "2022-08-03 16:46:55.744664", "rc": 0, "start": "2022-08-03 16:46:55.740345" } STDOUT: 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 default via 203.0.113.1 dev veth0 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 16:46:56 +0000 (0:00:00.319) 0:00:19.465 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 16:46:56 +0000 (0:00:00.060) 0:00:19.526 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003745", "end": "2022-08-03 16:46:56.123433", "rc": 0, "start": "2022-08-03 16:46:56.119688" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 2001:db8::/64 dev veth0 proto kernel metric 256 mtu 1500 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 fe80::/64 dev veth0 proto kernel metric 256 mtu 1500 fe80::/64 dev peerveth0 proto kernel metric 256 mtu 1500 fec0::/64 dev eth0 proto kernel metric 256 expires 86333sec mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 default via fe80::2 dev eth0 proto kernel metric 1024 expires 1759sec mtu 1500 hoplimit 64 TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 16:46:57 +0000 (0:00:00.306) 0:00:19.832 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 16:46:57 +0000 (0:00:00.043) 0:00:19.875 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:46:57 +0000 (0:00:00.056) 0:00:19.932 ****** included: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:46:57 +0000 (0:00:00.060) 0:00:19.992 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:46:57 +0000 (0:00:00.389) 0:00:20.382 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:46:58 +0000 (0:00:01.045) 0:00:21.427 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:46:59 +0000 (0:00:00.561) 0:00:21.989 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:46:59 +0000 (0:00:00.052) 0:00:22.041 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:46:59 +0000 (0:00:00.041) 0:00:22.083 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:46:59 +0000 (0:00:00.042) 0:00:22.126 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:46:59 +0000 (0:00:00.068) 0:00:22.195 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:46:59 +0000 (0:00:00.046) 0:00:22.241 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:46:59 +0000 (0:00:00.043) 0:00:22.285 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:46:59 +0000 (0:00:00.045) 0:00:22.330 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:46:59 +0000 (0:00:00.046) 0:00:22.376 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:46:59 +0000 (0:00:00.043) 0:00:22.420 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:47:00 +0000 (0:00:00.395) 0:00:22.815 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-129873friev62d/tmp0x5n0hqc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:47:00 +0000 (0:00:00.327) 0:00:23.142 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-6.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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:47:01 +0000 (0:00:00.540) 0:00:23.683 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:47:01 +0000 (0:00:00.043) 0:00:23.726 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:47:01 +0000 (0:00:00.048) 0:00:23.775 ****** ok: [/cache/centos-6.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": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:47:01 +0000 (0:00:00.050) 0:00:23.826 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:47:01 +0000 (0:00:00.047) 0:00:23.873 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 16:47:01 +0000 (0:00:00.300) 0:00:24.174 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:47:01 +0000 (0:00:00.087) 0:00:24.261 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:47:01 +0000 (0:00:00.043) 0:00:24.305 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:47:01 +0000 (0:00:00.042) 0:00:24.347 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:47:01 +0000 (0:00:00.060) 0:00:24.407 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:47:01 +0000 (0:00:00.060) 0:00:24.468 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003824", "end": "2022-08-03 16:47:01.111828", "rc": 0, "start": "2022-08-03 16:47:01.108004" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:47:02 +0000 (0:00:00.349) 0:00:24.817 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:47:02 +0000 (0:00:00.051) 0:00:24.869 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:47:02 +0000 (0:00:00.049) 0:00:24.918 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:47:02 +0000 (0:00:00.487) 0:00:25.405 ****** skipping: [/cache/centos-6.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-6.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-6.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/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:47:02 +0000 (0:00:00.055) 0:00:25.460 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:47:02 +0000 (0:00:00.043) 0:00:25.504 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.052998", "end": "2022-08-03 16:47:02.157170", "rc": 0, "start": "2022-08-03 16:47:02.104172" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:47:03 +0000 (0:00:00.368) 0:00:25.872 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:47:03 +0000 (0:00:00.043) 0:00:25.916 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:47:03 +0000 (0:00:00.045) 0:00:25.961 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:47:03 +0000 (0:00:00.041) 0:00:26.002 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 16:47:03 +0000 (0:00:00.040) 0:00:26.043 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 16:47:03 +0000 (0:00:00.050) 0:00:26.093 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:47:03 +0000 (0:00:00.080) 0:00:26.174 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:47:03 +0000 (0:00:00.044) 0:00:26.218 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:47:03 +0000 (0:00:00.041) 0:00:26.260 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:47:03 +0000 (0:00:00.091) 0:00:26.351 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:47:03 +0000 (0:00:00.060) 0:00:26.412 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004040", "end": "2022-08-03 16:47:03.005581", "rc": 0, "start": "2022-08-03 16:47:03.001541" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:47:04 +0000 (0:00:00.303) 0:00:26.716 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:47:04 +0000 (0:00:00.053) 0:00:26.769 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:47:04 +0000 (0:00:00.056) 0:00:26.826 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:47:04 +0000 (0:00:00.509) 0:00:27.335 ****** changed: [/cache/centos-6.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.003882", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:47:03.938566", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:47:03.934684" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.008664", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:47:04.206730", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:47:04.198066" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003951", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:47:04.467973", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:47:04.464022" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:47:05 +0000 (0:00:00.846) 0:00:28.182 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli d set veth0 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:47:05 +0000 (0:00:00.311) 0:00:28.494 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:47:06 +0000 (0:00:00.046) 0:00:28.540 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:47:06 +0000 (0:00:00.046) 0:00:28.586 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:47:06 +0000 (0:00:00.042) 0:00:28.628 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:47:06 +0000 (0:00:00.044) 0:00:28.672 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:47:06 +0000 (0:00:00.041) 0:00:28.714 ****** included: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:47:06 +0000 (0:00:00.118) 0:00:28.832 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:47:06 +0000 (0:00:00.395) 0:00:29.228 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:47:07 +0000 (0:00:01.053) 0:00:30.281 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:47:08 +0000 (0:00:00.552) 0:00:30.834 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:47:08 +0000 (0:00:00.057) 0:00:30.892 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:47:08 +0000 (0:00:00.044) 0:00:30.936 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:47:08 +0000 (0:00:00.043) 0:00:30.979 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:47:08 +0000 (0:00:00.064) 0:00:31.044 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:47:08 +0000 (0:00:00.048) 0:00:31.092 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:47:08 +0000 (0:00:00.050) 0:00:31.143 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:47:08 +0000 (0:00:00.052) 0:00:31.195 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:47:08 +0000 (0:00:00.100) 0:00:31.296 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:47:08 +0000 (0:00:00.042) 0:00:31.338 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:47:09 +0000 (0:00:00.374) 0:00:31.713 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-129873friev62d/tmpv89hsnbr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:47:09 +0000 (0:00:00.338) 0:00:32.051 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-6.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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0... ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:47:14 +0000 (0:00:04.527) 0:00:36.579 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:47:14 +0000 (0:00:00.048) 0:00:36.628 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:47:14 +0000 (0:00:00.053) 0:00:36.681 ****** ok: [/cache/centos-6.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": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:47:14 +0000 (0:00:00.055) 0:00:36.736 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:47:14 +0000 (0:00:00.048) 0:00:36.785 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 16:47:14 +0000 (0:00:00.323) 0:00:37.108 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:47:14 +0000 (0:00:00.085) 0:00:37.194 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-6.qcow2c.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:47:14 +0000 (0:00:00.060) 0:00:37.255 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545224.0509999, "block_size": 4096, "blocks": 0, "ctime": 1659545224.041, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7950, "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": 1659545224.041, "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/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.364) 0:00:37.619 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.057) 0:00:37.676 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.083) 0:00:37.760 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-6.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.063) 0:00:37.823 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.054) 0:00:37.878 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545228.746, "block_size": 4096, "blocks": 8, "ctime": 1659545228.733, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1166, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545228.733, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 241, "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/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.309) 0:00:38.187 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.059) 0:00:38.246 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004860", "end": "2022-08-03 16:47:14.845322", "rc": 1, "start": "2022-08-03 16:47:14.840462" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.308) 0:00:38.555 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.043) 0:00:38.598 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003895", "end": "2022-08-03 16:47:15.196428", "rc": 0, "start": "2022-08-03 16:47:15.192533" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.308) 0:00:38.907 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.056) 0:00:38.964 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.055) 0:00:39.020 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.055) 0:00:39.075 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003701", "end": "2022-08-03 16:47:15.717315", "rc": 0, "start": "2022-08-03 16:47:15.713614" } STDOUT: 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.350) 0:00:39.425 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.058) 0:00:39.484 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003924", "end": "2022-08-03 16:47:16.085080", "rc": 0, "start": "2022-08-03 16:47:16.081156" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 2001:db8::/64 dev veth0 proto kernel metric 256 mtu 1500 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 fe80::/64 dev veth0 proto kernel metric 256 mtu 1500 fe80::/64 dev peerveth0 proto kernel metric 256 mtu 1500 fec0::/64 dev eth0 proto kernel metric 256 expires 86313sec mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 default via fe80::2 dev eth0 proto kernel metric 1024 expires 1739sec mtu 1500 hoplimit 64 TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 16:47:17 +0000 (0:00:00.314) 0:00:39.799 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 16:47:17 +0000 (0:00:00.044) 0:00:39.843 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:47:17 +0000 (0:00:00.053) 0:00:39.897 ****** included: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:47:17 +0000 (0:00:00.060) 0:00:39.958 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:47:17 +0000 (0:00:00.390) 0:00:40.348 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:47:18 +0000 (0:00:01.025) 0:00:41.374 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:47:19 +0000 (0:00:00.634) 0:00:42.008 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:47:19 +0000 (0:00:00.143) 0:00:42.152 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:47:19 +0000 (0:00:00.047) 0:00:42.199 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:47:19 +0000 (0:00:00.046) 0:00:42.246 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:47:19 +0000 (0:00:00.072) 0:00:42.319 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:47:19 +0000 (0:00:00.047) 0:00:42.366 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:47:19 +0000 (0:00:00.048) 0:00:42.415 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:47:19 +0000 (0:00:00.051) 0:00:42.466 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:47:19 +0000 (0:00:00.048) 0:00:42.515 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:47:20 +0000 (0:00:00.047) 0:00:42.562 ****** ok: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:47:20 +0000 (0:00:00.362) 0:00:42.925 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-129873friev62d/tmpp1xp91po" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:47:20 +0000 (0:00:00.320) 0:00:43.245 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-6.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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:47:21 +0000 (0:00:00.517) 0:00:43.763 ****** skipping: [/cache/centos-6.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:47:21 +0000 (0:00:00.044) 0:00:43.807 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:47:21 +0000 (0:00:00.056) 0:00:43.863 ****** ok: [/cache/centos-6.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": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:47:21 +0000 (0:00:00.054) 0:00:43.917 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:47:21 +0000 (0:00:00.046) 0:00:43.964 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 16:47:21 +0000 (0:00:00.371) 0:00:44.336 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:47:21 +0000 (0:00:00.090) 0:00:44.426 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:47:21 +0000 (0:00:00.064) 0:00:44.491 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:47:22 +0000 (0:00:00.052) 0:00:44.544 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:47:22 +0000 (0:00:00.065) 0:00:44.609 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:47:22 +0000 (0:00:00.059) 0:00:44.668 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004103", "end": "2022-08-03 16:47:21.272569", "rc": 0, "start": "2022-08-03 16:47:21.268466" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:47:22 +0000 (0:00:00.318) 0:00:44.986 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:47:22 +0000 (0:00:00.055) 0:00:45.042 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:47:22 +0000 (0:00:00.053) 0:00:45.096 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:47:23 +0000 (0:00:00.515) 0:00:45.612 ****** skipping: [/cache/centos-6.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-6.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-6.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/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:47:23 +0000 (0:00:00.059) 0:00:45.671 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:47:23 +0000 (0:00:00.045) 0:00:45.717 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.038207", "end": "2022-08-03 16:47:22.359015", "rc": 0, "start": "2022-08-03 16:47:22.320808" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:47:23 +0000 (0:00:00.405) 0:00:46.123 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:47:23 +0000 (0:00:00.045) 0:00:46.168 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:47:23 +0000 (0:00:00.045) 0:00:46.214 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:47:23 +0000 (0:00:00.051) 0:00:46.265 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=135 changed=11 unreachable=0 failed=0 skipped=77 rescued=0 ignored=4 Wednesday 03 August 2022 16:47:23 +0000 (0:00:00.070) 0:00:46.336 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.73s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 4.53s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.28s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.06s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.05s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.05s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.03s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmp2w2t0usz/tests/tests_auto_gateway_initscripts.yml:4 ------------------- linux-system-roles.network : Check which packages are installed --------- 0.89s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 0.88s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Create veth interface veth0 --------------------------------------------- 0.85s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable network service --------------------- 0.76s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Install iproute --------------------------------------------------------- 0.76s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:3 --------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.67s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.65s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- Fix CentOS6 Base repo --------------------------------------------------- 0.64s /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:2 ------------------------------ linux-system-roles.network : Check which packages are installed --------- 0.63s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.56s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.55s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp2w2t0usz/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp2w2t0usz/tests/_restore.yml:4 Wednesday 03 August 2022 16:47:23 +0000 (0:00:00.034) 0:00:46.371 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006003", "end": "2022-08-03 16:47:22.959157", "rc": 0, "start": "2022-08-03 16:47:22.953154" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=136 changed=12 unreachable=0 failed=0 skipped=77 rescued=0 ignored=4 Wednesday 03 August 2022 16:47:24 +0000 (0:00:00.317) 0:00:46.688 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.73s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 4.53s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.28s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.06s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.05s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.05s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.03s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmp2w2t0usz/tests/tests_auto_gateway_initscripts.yml:4 ------------------- linux-system-roles.network : Check which packages are installed --------- 0.89s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 0.88s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Create veth interface veth0 --------------------------------------------- 0.85s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable network service --------------------- 0.76s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Install iproute --------------------------------------------------------- 0.76s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmp2w2t0usz/tests/playbooks/tests_auto_gateway.yml:3 --------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.67s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.65s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- Fix CentOS6 Base repo --------------------------------------------------- 0.64s /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:2 ------------------------------ linux-system-roles.network : Check which packages are installed --------- 0.63s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.56s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.55s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.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/tmpb95mhbnh 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/tmpa_fzm6o2/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:56:07 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-6.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659545765.3846192, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545765.385004, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545746.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744073481209329", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. TASK [Check if system files exist] ********************************************* task path: /tmp/tmpa_fzm6o2/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:56:07 +0000 (0:00:00.465) 0:00:00.483 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-6.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': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659545746.0, 'block_size': 4096, 'inode': 25, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744073481209329', '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': 1659545765.3846192, 'isdir': False, 'ctime': 1659545765.385004, 'isblk': False, 'wgrp': False, 'checksum': '2c55cc8324e731161638aa365379c1c147546a87', 'dev': 64513, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': ['extents']}, '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": 1659545765.3846192, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545765.385004, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545746.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744073481209329", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:56:07 +0000 (0:00:00.035) 0:00:00.519 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005437", "end": "2022-08-03 16:56:06.943423", "rc": 0, "start": "2022-08-03 16:56:06.937986" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:56:08 +0000 (0:00:00.415) 0:00:00.935 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.47s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.42s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /tmp/tmpa_fzm6o2/tests/network/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/tests_auto_gateway_initscripts.yml:4 Wednesday 03 August 2022 16:56:08 +0000 (0:00:00.070) 0:00:01.005 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tests_auto_gateway_initscripts.yml:7 Wednesday 03 August 2022 16:56:09 +0000 (0:00:00.942) 0:00:01.948 ****** included: /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml for /cache/centos-6.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:56:09 +0000 (0:00:00.030) 0:00:01.978 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "checksum": "b0aa488e4736bbd208461d247c4869d2ba0c95cd", "dest": "/etc/yum.repos.d/CentOS-Base.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/CentOS-Base.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 480, "state": "file", "uid": 0 } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:56:09 +0000 (0:00:00.654) 0:00:02.633 ****** included: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml for /cache/centos-6.qcow2c.snap TASK [Create EPEL 6] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:56:09 +0000 (0:00:00.033) 0:00:02.666 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:56:09 +0000 (0:00:00.024) 0:00:02.690 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:56:09 +0000 (0:00:00.023) 0:00:02.714 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:56:09 +0000 (0:00:00.023) 0:00:02.737 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/tests_auto_gateway_initscripts.yml:8 Wednesday 03 August 2022 16:56:10 +0000 (0:00:00.538) 0:00:03.276 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 16:56:10 +0000 (0:00:00.055) 0:00:03.331 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 16:56:11 +0000 (0:00:00.718) 0:00:04.049 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:56:11 +0000 (0:00:00.068) 0:00:04.117 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:56:11 +0000 (0:00:00.047) 0:00:04.165 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004482", "end": "2022-08-03 16:56:10.507099", "rc": 0, "start": "2022-08-03 16:56:10.502617" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:56:11 +0000 (0:00:00.343) 0:00:04.508 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:56:11 +0000 (0:00:00.120) 0:00:04.629 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 16:56:11 +0000 (0:00:00.074) 0:00:04.704 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:56:11 +0000 (0:00:00.112) 0:00:04.817 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:56:12 +0000 (0:00:00.094) 0:00:04.911 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:56:12 +0000 (0:00:00.044) 0:00:04.955 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:56:12 +0000 (0:00:00.053) 0:00:05.009 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:56:12 +0000 (0:00:00.048) 0:00:05.057 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003919", "end": "2022-08-03 16:56:11.364487", "rc": 0, "start": "2022-08-03 16:56:11.360568" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:56:12 +0000 (0:00:00.294) 0:00:05.351 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:56:12 +0000 (0:00:00.048) 0:00:05.399 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:56:12 +0000 (0:00:00.048) 0:00:05.448 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:56:13 +0000 (0:00:00.803) 0:00:06.252 ****** changed: [/cache/centos-6.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.050971", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:56:12.618013", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:56:12.567042" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004816", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:56:12.877743", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:56:12.872927" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005197", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:56:13.132287", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:56:13.127090" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:56:14 +0000 (0:00:00.870) 0:00:07.122 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli d set veth0 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:56:14 +0000 (0:00:00.302) 0:00:07.424 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:56:14 +0000 (0:00:00.038) 0:00:07.462 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:56:14 +0000 (0:00:00.038) 0:00:07.501 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:56:14 +0000 (0:00:00.036) 0:00:07.538 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:56:14 +0000 (0:00:00.037) 0:00:07.576 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 16:56:14 +0000 (0:00:00.042) 0:00:07.618 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:56:14 +0000 (0:00:00.067) 0:00:07.685 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-6.qcow2c.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:56:14 +0000 (0:00:00.046) 0:00:07.731 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545772.739, "block_size": 4096, "blocks": 0, "ctime": 1659545772.729, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7950, "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": 1659545772.729, "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/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:56:15 +0000 (0:00:00.300) 0:00:08.031 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 16:56:15 +0000 (0:00:00.047) 0:00:08.080 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:56:15 +0000 (0:00:00.048) 0:00:08.128 ****** included: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:56:15 +0000 (0:00:00.051) 0:00:08.180 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:56:15 +0000 (0:00:00.397) 0:00:08.577 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:56:17 +0000 (0:00:01.284) 0:00:09.862 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:56:17 +0000 (0:00:00.947) 0:00:10.809 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:56:18 +0000 (0:00:00.056) 0:00:10.865 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:56:18 +0000 (0:00:00.049) 0:00:10.914 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:56:18 +0000 (0:00:00.048) 0:00:10.963 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:56:18 +0000 (0:00:00.069) 0:00:11.032 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:56:18 +0000 (0:00:00.045) 0:00:11.078 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:56:18 +0000 (0:00:00.046) 0:00:11.124 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:56:18 +0000 (0:00:00.050) 0:00:11.175 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:56:18 +0000 (0:00:00.044) 0:00:11.219 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:56:18 +0000 (0:00:00.043) 0:00:11.262 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:56:18 +0000 (0:00:00.515) 0:00:11.778 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1502590h_wwmfh/tmp5tvdsqnf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:56:19 +0000 (0:00:00.315) 0:00:12.094 ****** changed: [/cache/centos-6.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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0... ', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:56:23 +0000 (0:00:04.742) 0:00:16.836 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:56:24 +0000 (0:00:00.047) 0:00:16.884 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:56:24 +0000 (0:00:00.124) 0:00:17.008 ****** ok: [/cache/centos-6.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": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:56:24 +0000 (0:00:00.059) 0:00:17.068 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:56:24 +0000 (0:00:00.075) 0:00:17.144 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 16:56:24 +0000 (0:00:00.415) 0:00:17.559 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:56:24 +0000 (0:00:00.079) 0:00:17.639 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-6.qcow2c.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:56:24 +0000 (0:00:00.056) 0:00:17.695 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545772.739, "block_size": 4096, "blocks": 0, "ctime": 1659545772.729, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7950, "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": 1659545772.729, "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/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:56:25 +0000 (0:00:00.298) 0:00:17.993 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 16:56:25 +0000 (0:00:00.055) 0:00:18.048 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:56:25 +0000 (0:00:00.074) 0:00:18.123 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-6.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:56:25 +0000 (0:00:00.064) 0:00:18.188 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:56:25 +0000 (0:00:00.052) 0:00:18.240 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545778.707, "block_size": 4096, "blocks": 8, "ctime": 1659545778.695, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1166, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545778.695, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 242, "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/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:56:25 +0000 (0:00:00.317) 0:00:18.558 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:56:25 +0000 (0:00:00.163) 0:00:18.721 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004557", "end": "2022-08-03 16:56:25.034773", "rc": 1, "start": "2022-08-03 16:56:25.030216" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:56:26 +0000 (0:00:00.306) 0:00:19.027 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:56:26 +0000 (0:00:00.043) 0:00:19.070 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003592", "end": "2022-08-03 16:56:25.375417", "rc": 0, "start": "2022-08-03 16:56:25.371825" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:56:26 +0000 (0:00:00.295) 0:00:19.366 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:56:26 +0000 (0:00:00.053) 0:00:19.420 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:56:26 +0000 (0:00:00.052) 0:00:19.472 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 16:56:26 +0000 (0:00:00.051) 0:00:19.523 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003958", "end": "2022-08-03 16:56:25.837120", "rc": 0, "start": "2022-08-03 16:56:25.833162" } STDOUT: 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 default via 203.0.113.1 dev veth0 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 16:56:26 +0000 (0:00:00.314) 0:00:19.838 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 16:56:27 +0000 (0:00:00.055) 0:00:19.894 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003681", "end": "2022-08-03 16:56:26.201164", "rc": 0, "start": "2022-08-03 16:56:26.197483" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 2001:db8::/64 dev veth0 proto kernel metric 256 mtu 1500 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 fe80::/64 dev veth0 proto kernel metric 256 mtu 1500 fe80::/64 dev peerveth0 proto kernel metric 256 mtu 1500 fec0::/64 dev eth0 proto kernel metric 256 expires 86329sec mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 default via fe80::2 dev eth0 proto kernel metric 1024 expires 1755sec mtu 1500 hoplimit 64 TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 16:56:27 +0000 (0:00:00.295) 0:00:20.189 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 16:56:27 +0000 (0:00:00.042) 0:00:20.232 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:56:27 +0000 (0:00:00.049) 0:00:20.282 ****** included: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:56:27 +0000 (0:00:00.060) 0:00:20.342 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:56:27 +0000 (0:00:00.384) 0:00:20.727 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:56:28 +0000 (0:00:01.065) 0:00:21.792 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:56:29 +0000 (0:00:00.569) 0:00:22.361 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:56:29 +0000 (0:00:00.055) 0:00:22.417 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:56:29 +0000 (0:00:00.051) 0:00:22.469 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:56:29 +0000 (0:00:00.047) 0:00:22.516 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:56:29 +0000 (0:00:00.069) 0:00:22.586 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:56:29 +0000 (0:00:00.044) 0:00:22.630 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:56:29 +0000 (0:00:00.042) 0:00:22.673 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:56:29 +0000 (0:00:00.046) 0:00:22.719 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:56:29 +0000 (0:00:00.042) 0:00:22.762 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:56:29 +0000 (0:00:00.044) 0:00:22.806 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:56:30 +0000 (0:00:00.386) 0:00:23.193 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1502590h_wwmfh/tmpreygnzh2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:56:30 +0000 (0:00:00.357) 0:00:23.551 ****** changed: [/cache/centos-6.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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.551) 0:00:24.102 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.045) 0:00:24.148 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.054) 0:00:24.203 ****** ok: [/cache/centos-6.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": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.071) 0:00:24.275 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.051) 0:00:24.327 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.345) 0:00:24.672 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.082) 0:00:24.754 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.045) 0:00:24.800 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:56:32 +0000 (0:00:00.050) 0:00:24.850 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:56:32 +0000 (0:00:00.064) 0:00:24.915 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:56:32 +0000 (0:00:00.062) 0:00:24.978 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004055", "end": "2022-08-03 16:56:31.347859", "rc": 0, "start": "2022-08-03 16:56:31.343804" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:56:32 +0000 (0:00:00.361) 0:00:25.339 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:56:32 +0000 (0:00:00.056) 0:00:25.396 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:56:32 +0000 (0:00:00.051) 0:00:25.447 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.504) 0:00:25.951 ****** skipping: [/cache/centos-6.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-6.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-6.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/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.057) 0:00:26.009 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.041) 0:00:26.050 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.049966", "end": "2022-08-03 16:56:32.397835", "rc": 0, "start": "2022-08-03 16:56:32.347869" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.340) 0:00:26.391 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.041) 0:00:26.433 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.043) 0:00:26.477 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.042) 0:00:26.519 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.038) 0:00:26.558 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.048) 0:00:26.607 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.079) 0:00:26.686 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.043) 0:00:26.730 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.042) 0:00:26.772 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:56:33 +0000 (0:00:00.056) 0:00:26.829 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:56:34 +0000 (0:00:00.118) 0:00:26.948 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003912", "end": "2022-08-03 16:56:33.265613", "rc": 0, "start": "2022-08-03 16:56:33.261701" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:56:34 +0000 (0:00:00.312) 0:00:27.260 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:56:34 +0000 (0:00:00.050) 0:00:27.310 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:56:34 +0000 (0:00:00.050) 0:00:27.360 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:56:35 +0000 (0:00:00.512) 0:00:27.873 ****** changed: [/cache/centos-6.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.004003", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:56:34.185148", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 16:56:34.181145" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.005014", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:56:34.443440", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 16:56:34.438426" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005976", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:56:34.722713", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 16:56:34.716737" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:56:35 +0000 (0:00:00.846) 0:00:28.720 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli d set veth0 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:56:36 +0000 (0:00:00.312) 0:00:29.033 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:56:36 +0000 (0:00:00.042) 0:00:29.075 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:56:36 +0000 (0:00:00.043) 0:00:29.119 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:56:36 +0000 (0:00:00.043) 0:00:29.162 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:56:36 +0000 (0:00:00.045) 0:00:29.208 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:56:36 +0000 (0:00:00.044) 0:00:29.252 ****** included: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:56:36 +0000 (0:00:00.095) 0:00:29.347 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:56:36 +0000 (0:00:00.399) 0:00:29.747 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:56:37 +0000 (0:00:01.068) 0:00:30.815 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.576) 0:00:31.391 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.058) 0:00:31.450 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.047) 0:00:31.497 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.044) 0:00:31.542 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.066) 0:00:31.608 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.048) 0:00:31.657 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.056) 0:00:31.714 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.051) 0:00:31.765 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.089) 0:00:31.855 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.042) 0:00:31.897 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.371) 0:00:32.269 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1502590h_wwmfh/tmp8uc407v4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.314) 0:00:32.583 ****** changed: [/cache/centos-6.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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0... ', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:56:44 +0000 (0:00:04.535) 0:00:37.119 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.044) 0:00:37.163 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.063) 0:00:37.226 ****** ok: [/cache/centos-6.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": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.058) 0:00:37.285 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.046) 0:00:37.331 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.327) 0:00:37.658 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.083) 0:00:37.741 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-6.qcow2c.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.061) 0:00:37.803 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545794.201, "block_size": 4096, "blocks": 0, "ctime": 1659545794.185, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7950, "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": 1659545794.185, "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/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:56:45 +0000 (0:00:00.361) 0:00:38.164 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 16:56:45 +0000 (0:00:00.055) 0:00:38.219 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:56:45 +0000 (0:00:00.082) 0:00:38.302 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-6.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:56:45 +0000 (0:00:00.061) 0:00:38.363 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:56:45 +0000 (0:00:00.067) 0:00:38.431 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545798.999, "block_size": 4096, "blocks": 8, "ctime": 1659545798.987, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1166, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545798.987, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 241, "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/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:56:45 +0000 (0:00:00.324) 0:00:38.756 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:56:45 +0000 (0:00:00.056) 0:00:38.812 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004790", "end": "2022-08-03 16:56:45.124785", "rc": 1, "start": "2022-08-03 16:56:45.119995" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:56:46 +0000 (0:00:00.307) 0:00:39.120 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:56:46 +0000 (0:00:00.046) 0:00:39.166 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003892", "end": "2022-08-03 16:56:45.472756", "rc": 0, "start": "2022-08-03 16:56:45.468864" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:56:46 +0000 (0:00:00.302) 0:00:39.468 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:56:46 +0000 (0:00:00.060) 0:00:39.529 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:56:46 +0000 (0:00:00.060) 0:00:39.590 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 16:56:46 +0000 (0:00:00.054) 0:00:39.644 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003914", "end": "2022-08-03 16:56:45.997942", "rc": 0, "start": "2022-08-03 16:56:45.994028" } STDOUT: 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 16:56:47 +0000 (0:00:00.347) 0:00:39.991 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 16:56:47 +0000 (0:00:00.053) 0:00:40.045 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003768", "end": "2022-08-03 16:56:46.364107", "rc": 0, "start": "2022-08-03 16:56:46.360339" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 2001:db8::/64 dev veth0 proto kernel metric 256 mtu 1500 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 fe80::/64 dev veth0 proto kernel metric 256 mtu 1500 fe80::/64 dev peerveth0 proto kernel metric 256 mtu 1500 fec0::/64 dev eth0 proto kernel metric 256 expires 86308sec mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 default via fe80::2 dev eth0 proto kernel metric 1024 expires 1734sec mtu 1500 hoplimit 64 TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 16:56:47 +0000 (0:00:00.314) 0:00:40.360 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 16:56:47 +0000 (0:00:00.044) 0:00:40.404 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:56:47 +0000 (0:00:00.053) 0:00:40.457 ****** included: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:56:47 +0000 (0:00:00.064) 0:00:40.522 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:56:48 +0000 (0:00:00.389) 0:00:40.911 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:56:49 +0000 (0:00:01.024) 0:00:41.936 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:56:49 +0000 (0:00:00.601) 0:00:42.537 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:56:49 +0000 (0:00:00.102) 0:00:42.639 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:56:49 +0000 (0:00:00.046) 0:00:42.686 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:56:49 +0000 (0:00:00.048) 0:00:42.734 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:56:49 +0000 (0:00:00.113) 0:00:42.847 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:56:50 +0000 (0:00:00.044) 0:00:42.892 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:56:50 +0000 (0:00:00.093) 0:00:42.985 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:56:50 +0000 (0:00:00.049) 0:00:43.034 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:56:50 +0000 (0:00:00.044) 0:00:43.079 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:56:50 +0000 (0:00:00.040) 0:00:43.119 ****** ok: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:56:50 +0000 (0:00:00.357) 0:00:43.477 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1502590h_wwmfh/tmpvh3ashu1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:56:50 +0000 (0:00:00.319) 0:00:43.796 ****** changed: [/cache/centos-6.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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:56:51 +0000 (0:00:00.514) 0:00:44.311 ****** skipping: [/cache/centos-6.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:56:51 +0000 (0:00:00.043) 0:00:44.354 ****** ok: [/cache/centos-6.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:56:51 +0000 (0:00:00.053) 0:00:44.408 ****** ok: [/cache/centos-6.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": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:56:51 +0000 (0:00:00.058) 0:00:44.467 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:56:51 +0000 (0:00:00.049) 0:00:44.516 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 16:56:52 +0000 (0:00:00.334) 0:00:44.851 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:56:52 +0000 (0:00:00.087) 0:00:44.939 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:56:52 +0000 (0:00:00.111) 0:00:45.051 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:56:52 +0000 (0:00:00.045) 0:00:45.096 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:56:52 +0000 (0:00:00.063) 0:00:45.159 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:56:52 +0000 (0:00:00.059) 0:00:45.219 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003823", "end": "2022-08-03 16:56:51.524520", "rc": 0, "start": "2022-08-03 16:56:51.520697" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:56:52 +0000 (0:00:00.299) 0:00:45.518 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:56:52 +0000 (0:00:00.055) 0:00:45.574 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:56:52 +0000 (0:00:00.053) 0:00:45.628 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:56:53 +0000 (0:00:00.515) 0:00:46.143 ****** skipping: [/cache/centos-6.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-6.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-6.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/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:56:53 +0000 (0:00:00.069) 0:00:46.212 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:56:53 +0000 (0:00:00.053) 0:00:46.265 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.043217", "end": "2022-08-03 16:56:52.625787", "rc": 0, "start": "2022-08-03 16:56:52.582570" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:56:53 +0000 (0:00:00.357) 0:00:46.623 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:56:53 +0000 (0:00:00.044) 0:00:46.667 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:56:53 +0000 (0:00:00.045) 0:00:46.713 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:56:53 +0000 (0:00:00.048) 0:00:46.761 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=135 changed=11 unreachable=0 failed=0 skipped=77 rescued=0 ignored=4 Wednesday 03 August 2022 16:56:53 +0000 (0:00:00.060) 0:00:46.822 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 4.74s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 4.54s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.28s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.07s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.02s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmpa_fzm6o2/tests/network/tests_auto_gateway_initscripts.yml:4 ----------- Create veth interface veth0 --------------------------------------------- 0.87s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Create veth interface veth0 --------------------------------------------- 0.85s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Install iproute --------------------------------------------------------- 0.80s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Enable network service -------------- 0.74s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:3 ------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.68s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.68s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Fix CentOS6 Base repo --------------------------------------------------- 0.65s /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:2 ---------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.60s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.58s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.57s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpa_fzm6o2/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:56:54 +0000 (0:00:00.082) 0:00:46.905 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006817", "end": "2022-08-03 16:56:53.210817", "rc": 0, "start": "2022-08-03 16:56:53.204000" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=136 changed=12 unreachable=0 failed=0 skipped=77 rescued=0 ignored=4 Wednesday 03 August 2022 16:56:54 +0000 (0:00:00.318) 0:00:47.223 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 4.74s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 4.54s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.28s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.07s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.02s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmpa_fzm6o2/tests/network/tests_auto_gateway_initscripts.yml:4 ----------- Create veth interface veth0 --------------------------------------------- 0.87s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Create veth interface veth0 --------------------------------------------- 0.85s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Install iproute --------------------------------------------------------- 0.80s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Enable network service -------------- 0.74s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_auto_gateway.yml:3 ------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.68s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.68s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Fix CentOS6 Base repo --------------------------------------------------- 0.65s /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:2 ---------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.60s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.58s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.57s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14