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/tmpk7x13fer 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/tmpdb8ajfhr/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpdb8ajfhr/tests/_backup.yml:6 Wednesday 03 August 2022 15:13:49 +0000 (0:00:00.016) 0:00:00.016 ****** ok: [/cache/rhel-6.qcow2.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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659539627.837196, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659539627.836, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539613.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072843959068", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. 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/tmpdb8ajfhr/tests/_backup.yml:13 Wednesday 03 August 2022 15:13:49 +0000 (0:00:00.450) 0:00:00.467 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-6.qcow2.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': 1659539613.0, 'block_size': 4096, 'inode': 260120, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072843959068', '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': 1659539627.837196, 'isdir': False, 'ctime': 1659539627.836, '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": 1659539627.837196, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659539627.836, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539613.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072843959068", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpdb8ajfhr/tests/_backup.yml:19 Wednesday 03 August 2022 15:13:49 +0000 (0:00:00.041) 0:00:00.508 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003780", "end": "2022-08-03 11:13:49.273384", "rc": 0, "start": "2022-08-03 11:13:49.269604" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:13:50 +0000 (0:00:00.384) 0:00:00.892 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.45s /tmp/tmpdb8ajfhr/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.38s /tmp/tmpdb8ajfhr/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpdb8ajfhr/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /tmp/tmpdb8ajfhr/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/tests_auto_gateway_initscripts.yml:4 Wednesday 03 August 2022 15:13:50 +0000 (0:00:00.050) 0:00:00.943 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_auto_gateway_initscripts.yml:7 Wednesday 03 August 2022 15:13:50 +0000 (0:00:00.910) 0:00:01.853 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml for /cache/rhel-6.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:13:51 +0000 (0:00:00.028) 0:00:01.881 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:13:51 +0000 (0:00:00.020) 0:00:01.901 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml for /cache/rhel-6.qcow2.snap TASK [Create EPEL 6] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:13:51 +0000 (0:00:00.031) 0:00:01.933 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:13:51 +0000 (0:00:00.023) 0:00:01.956 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:13:51 +0000 (0:00:00.021) 0:00:01.978 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:13:51 +0000 (0:00:00.021) 0:00:01.999 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 03 August 2022 15:13:51 +0000 (0:00:00.625) 0:00:02.625 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 15:13:51 +0000 (0:00:00.052) 0:00:02.677 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 15:13:52 +0000 (0:00:00.669) 0:00:03.346 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:13:52 +0000 (0:00:00.060) 0:00:03.407 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:13:52 +0000 (0:00:00.045) 0:00:03.453 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003532", "end": "2022-08-03 11:13:52.155913", "rc": 0, "start": "2022-08-03 11:13:52.152381" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:13:52 +0000 (0:00:00.329) 0:00:03.782 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:13:53 +0000 (0:00:00.084) 0:00:03.866 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 15:13:53 +0000 (0:00:00.072) 0:00:03.939 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:13:53 +0000 (0:00:00.065) 0:00:04.004 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:13:53 +0000 (0:00:00.035) 0:00:04.040 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:13:53 +0000 (0:00:00.037) 0:00:04.077 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:13:53 +0000 (0:00:00.078) 0:00:04.156 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:13:53 +0000 (0:00:00.045) 0:00:04.201 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003304", "end": "2022-08-03 11:13:52.868594", "rc": 0, "start": "2022-08-03 11:13:52.865290" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:13:53 +0000 (0:00:00.283) 0:00:04.485 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:13:53 +0000 (0:00:00.046) 0:00:04.531 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:13:53 +0000 (0:00:00.044) 0:00:04.575 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:13:54 +0000 (0:00:00.806) 0:00:05.382 ****** changed: [/cache/rhel-6.qcow2.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.048795", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:13:54.098815", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 11:13:54.050020" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003515", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:13:54.351304", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 11:13:54.347789" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003412", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:13:54.596364", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 11:13:54.592952" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:13:55 +0000 (0:00:00.831) 0:00:06.214 ****** fatal: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:13:55 +0000 (0:00:00.279) 0:00:06.494 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:13:55 +0000 (0:00:00.036) 0:00:06.530 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:13:55 +0000 (0:00:00.035) 0:00:06.566 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:13:55 +0000 (0:00:00.036) 0:00:06.602 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:13:55 +0000 (0:00:00.035) 0:00:06.638 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 15:13:55 +0000 (0:00:00.035) 0:00:06.674 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:13:55 +0000 (0:00:00.062) 0:00:06.736 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:13:55 +0000 (0:00:00.044) 0:00:06.781 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659539634.126, "block_size": 4096, "blocks": 0, "ctime": 1659539634.1, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7730, "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": 1659539634.1, "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/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:13:56 +0000 (0:00:00.280) 0:00:07.061 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 15:13:56 +0000 (0:00:00.046) 0:00:07.107 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:13:56 +0000 (0:00:00.042) 0:00:07.150 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:13:56 +0000 (0:00:00.047) 0:00:07.198 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:13:56 +0000 (0:00:00.362) 0:00:07.560 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:13:58 +0000 (0:00:01.584) 0:00:09.144 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:13:59 +0000 (0:00:00.904) 0:00:10.049 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:13:59 +0000 (0:00:00.054) 0:00:10.104 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:13:59 +0000 (0:00:00.043) 0:00:10.147 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:13:59 +0000 (0:00:00.043) 0:00:10.191 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:13:59 +0000 (0:00:00.063) 0:00:10.254 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:13:59 +0000 (0:00:00.043) 0:00:10.298 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:13:59 +0000 (0:00:00.042) 0:00:10.341 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:13:59 +0000 (0:00:00.048) 0:00:10.390 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:13:59 +0000 (0:00:00.043) 0:00:10.433 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:13:59 +0000 (0:00:00.041) 0:00:10.474 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:14:00 +0000 (0:00:00.483) 0:00:10.958 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-290167o_ebozx2/tmpysaju0ci" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:14:00 +0000 (0:00:00.299) 0:00:11.258 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:14:05 +0000 (0:00:04.707) 0:00:15.965 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:14:05 +0000 (0:00:00.046) 0:00:16.012 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:14:05 +0000 (0:00:00.051) 0:00:16.063 ****** ok: [/cache/rhel-6.qcow2.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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:14:05 +0000 (0:00:00.053) 0:00:16.117 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:14:05 +0000 (0:00:00.044) 0:00:16.161 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 15:14:05 +0000 (0:00:00.421) 0:00:16.582 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:14:05 +0000 (0:00:00.076) 0:00:16.658 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:14:05 +0000 (0:00:00.101) 0:00:16.760 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659539634.126, "block_size": 4096, "blocks": 0, "ctime": 1659539634.1, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7730, "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": 1659539634.1, "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/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:14:06 +0000 (0:00:00.286) 0:00:17.046 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 15:14:06 +0000 (0:00:00.053) 0:00:17.100 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:14:06 +0000 (0:00:00.076) 0:00:17.177 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-6.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:14:06 +0000 (0:00:00.060) 0:00:17.238 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:14:06 +0000 (0:00:00.050) 0:00:17.288 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659539640.225, "block_size": 4096, "blocks": 8, "ctime": 1659539640.213, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 270946, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659539640.213, "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/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:14:06 +0000 (0:00:00.289) 0:00:17.577 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:14:06 +0000 (0:00:00.052) 0:00:17.630 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004080", "end": "2022-08-03 11:14:06.290341", "rc": 1, "start": "2022-08-03 11:14:06.286261" } 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/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:14:07 +0000 (0:00:00.280) 0:00:17.911 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:14:07 +0000 (0:00:00.044) 0:00:17.955 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003291", "end": "2022-08-03 11:14:06.622334", "rc": 0, "start": "2022-08-03 11:14:06.619043" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:14:07 +0000 (0:00:00.295) 0:00:18.250 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:14:07 +0000 (0:00:00.057) 0:00:18.308 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:14:07 +0000 (0:00:00.090) 0:00:18.399 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 15:14:07 +0000 (0:00:00.087) 0:00:18.487 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002898", "end": "2022-08-03 11:14:07.157490", "rc": 0, "start": "2022-08-03 11:14:07.154592" } 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/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 15:14:07 +0000 (0:00:00.293) 0:00:18.780 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 15:14:07 +0000 (0:00:00.057) 0:00:18.838 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003207", "end": "2022-08-03 11:14:07.509214", "rc": 0, "start": "2022-08-03 11:14:07.506007" } 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 86337sec mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 default via fe80::2 dev eth0 proto kernel metric 1024 expires 1763sec mtu 1500 hoplimit 64 TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 15:14:08 +0000 (0:00:00.298) 0:00:19.136 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 15:14:08 +0000 (0:00:00.046) 0:00:19.182 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:14:08 +0000 (0:00:00.058) 0:00:19.240 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:14:08 +0000 (0:00:00.063) 0:00:19.304 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:14:08 +0000 (0:00:00.380) 0:00:19.685 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:14:10 +0000 (0:00:01.333) 0:00:21.019 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:14:10 +0000 (0:00:00.565) 0:00:21.584 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:14:10 +0000 (0:00:00.055) 0:00:21.639 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:14:10 +0000 (0:00:00.046) 0:00:21.686 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:14:10 +0000 (0:00:00.044) 0:00:21.730 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:14:10 +0000 (0:00:00.062) 0:00:21.793 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:14:10 +0000 (0:00:00.043) 0:00:21.836 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:14:11 +0000 (0:00:00.045) 0:00:21.881 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:14:11 +0000 (0:00:00.046) 0:00:21.927 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:14:11 +0000 (0:00:00.045) 0:00:21.973 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:14:11 +0000 (0:00:00.040) 0:00:22.013 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:14:11 +0000 (0:00:00.354) 0:00:22.368 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-290167o_ebozx2/tmptfldzf7r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:14:11 +0000 (0:00:00.282) 0:00:22.650 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:14:12 +0000 (0:00:00.569) 0:00:23.220 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:14:12 +0000 (0:00:00.045) 0:00:23.265 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:14:12 +0000 (0:00:00.051) 0:00:23.317 ****** ok: [/cache/rhel-6.qcow2.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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:14:12 +0000 (0:00:00.054) 0:00:23.372 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:14:12 +0000 (0:00:00.043) 0:00:23.416 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 15:14:12 +0000 (0:00:00.301) 0:00:23.717 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:14:12 +0000 (0:00:00.078) 0:00:23.795 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:14:12 +0000 (0:00:00.042) 0:00:23.837 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:14:13 +0000 (0:00:00.039) 0:00:23.877 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:14:13 +0000 (0:00:00.058) 0:00:23.936 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:14:13 +0000 (0:00:00.057) 0:00:23.993 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003419", "end": "2022-08-03 11:14:12.658722", "rc": 0, "start": "2022-08-03 11:14:12.655303" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:14:13 +0000 (0:00:00.289) 0:00:24.282 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:14:13 +0000 (0:00:00.134) 0:00:24.416 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:14:13 +0000 (0:00:00.053) 0:00:24.470 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:14:14 +0000 (0:00:00.502) 0:00:24.972 ****** skipping: [/cache/rhel-6.qcow2.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/rhel-6.qcow2.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/rhel-6.qcow2.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/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:14:14 +0000 (0:00:00.057) 0:00:25.030 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:14:14 +0000 (0:00:00.042) 0:00:25.072 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.058999", "end": "2022-08-03 11:14:13.804323", "rc": 0, "start": "2022-08-03 11:14:13.745324" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:14:14 +0000 (0:00:00.362) 0:00:25.435 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:14:14 +0000 (0:00:00.045) 0:00:25.480 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:14:14 +0000 (0:00:00.041) 0:00:25.522 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:14:14 +0000 (0:00:00.039) 0:00:25.562 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 15:14:14 +0000 (0:00:00.039) 0:00:25.601 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 15:14:14 +0000 (0:00:00.047) 0:00:25.649 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:14:14 +0000 (0:00:00.080) 0:00:25.729 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:14:14 +0000 (0:00:00.042) 0:00:25.771 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:14:14 +0000 (0:00:00.040) 0:00:25.811 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:14:15 +0000 (0:00:00.057) 0:00:25.869 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:14:15 +0000 (0:00:00.089) 0:00:25.959 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003438", "end": "2022-08-03 11:14:14.636280", "rc": 0, "start": "2022-08-03 11:14:14.632842" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:14:15 +0000 (0:00:00.303) 0:00:26.262 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:14:15 +0000 (0:00:00.053) 0:00:26.316 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:14:15 +0000 (0:00:00.050) 0:00:26.366 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:14:16 +0000 (0:00:00.503) 0:00:26.870 ****** changed: [/cache/rhel-6.qcow2.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.003426", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:14:15.542886", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 11:14:15.539460" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003509", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:14:15.795955", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 11:14:15.792446" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003474", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:14:16.040691", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 11:14:16.037217" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:14:16 +0000 (0:00:00.796) 0:00:27.667 ****** fatal: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:14:17 +0000 (0:00:00.303) 0:00:27.970 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:14:17 +0000 (0:00:00.048) 0:00:28.019 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:14:17 +0000 (0:00:00.043) 0:00:28.062 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:14:17 +0000 (0:00:00.045) 0:00:28.107 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:14:17 +0000 (0:00:00.042) 0:00:28.150 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:14:17 +0000 (0:00:00.044) 0:00:28.195 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:14:17 +0000 (0:00:00.061) 0:00:28.257 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:14:17 +0000 (0:00:00.434) 0:00:28.691 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:14:19 +0000 (0:00:01.402) 0:00:30.093 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:14:19 +0000 (0:00:00.562) 0:00:30.656 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:14:19 +0000 (0:00:00.055) 0:00:30.712 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:14:19 +0000 (0:00:00.044) 0:00:30.757 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:14:19 +0000 (0:00:00.044) 0:00:30.802 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:14:20 +0000 (0:00:00.066) 0:00:30.868 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:14:20 +0000 (0:00:00.044) 0:00:30.913 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:14:20 +0000 (0:00:00.044) 0:00:30.957 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:14:20 +0000 (0:00:00.079) 0:00:31.037 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:14:20 +0000 (0:00:00.044) 0:00:31.082 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:14:20 +0000 (0:00:00.042) 0:00:31.124 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:14:20 +0000 (0:00:00.353) 0:00:31.478 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-290167o_ebozx2/tmp5mu34ij0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:14:20 +0000 (0:00:00.297) 0:00:31.776 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:14:25 +0000 (0:00:04.495) 0:00:36.271 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:14:25 +0000 (0:00:00.046) 0:00:36.317 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:14:25 +0000 (0:00:00.051) 0:00:36.369 ****** ok: [/cache/rhel-6.qcow2.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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:14:25 +0000 (0:00:00.053) 0:00:36.422 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:14:25 +0000 (0:00:00.044) 0:00:36.467 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 15:14:25 +0000 (0:00:00.337) 0:00:36.805 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:14:26 +0000 (0:00:00.079) 0:00:36.884 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:14:26 +0000 (0:00:00.057) 0:00:36.942 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659539655.652, "block_size": 4096, "blocks": 0, "ctime": 1659539655.642, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7730, "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": 1659539655.642, "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/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:14:26 +0000 (0:00:00.284) 0:00:37.227 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 15:14:26 +0000 (0:00:00.054) 0:00:37.281 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:14:26 +0000 (0:00:00.081) 0:00:37.363 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-6.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:14:26 +0000 (0:00:00.059) 0:00:37.423 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:14:26 +0000 (0:00:00.049) 0:00:37.472 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659539660.533, "block_size": 4096, "blocks": 8, "ctime": 1659539660.522, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 270946, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659539660.522, "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/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:14:26 +0000 (0:00:00.296) 0:00:37.769 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:14:26 +0000 (0:00:00.052) 0:00:37.821 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004001", "end": "2022-08-03 11:14:26.487479", "rc": 1, "start": "2022-08-03 11:14:26.483478" } 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/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:14:27 +0000 (0:00:00.287) 0:00:38.109 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:14:27 +0000 (0:00:00.082) 0:00:38.191 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003305", "end": "2022-08-03 11:14:26.860647", "rc": 0, "start": "2022-08-03 11:14:26.857342" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:14:27 +0000 (0:00:00.295) 0:00:38.486 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:14:27 +0000 (0:00:00.058) 0:00:38.545 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:14:27 +0000 (0:00:00.054) 0:00:38.600 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 15:14:27 +0000 (0:00:00.054) 0:00:38.654 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003170", "end": "2022-08-03 11:14:27.316549", "rc": 0, "start": "2022-08-03 11:14:27.313379" } 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/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 15:14:28 +0000 (0:00:00.286) 0:00:38.941 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 15:14:28 +0000 (0:00:00.054) 0:00:38.995 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003274", "end": "2022-08-03 11:14:27.664578", "rc": 0, "start": "2022-08-03 11:14:27.661304" } 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 86317sec mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 default via fe80::2 dev eth0 proto kernel metric 1024 expires 1743sec mtu 1500 hoplimit 64 TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 15:14:28 +0000 (0:00:00.294) 0:00:39.290 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 15:14:28 +0000 (0:00:00.042) 0:00:39.333 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:14:28 +0000 (0:00:00.052) 0:00:39.385 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:14:28 +0000 (0:00:00.060) 0:00:39.445 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:14:28 +0000 (0:00:00.377) 0:00:39.823 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:14:30 +0000 (0:00:01.298) 0:00:41.121 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:14:30 +0000 (0:00:00.539) 0:00:41.660 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:14:30 +0000 (0:00:00.054) 0:00:41.714 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:14:30 +0000 (0:00:00.043) 0:00:41.758 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:14:30 +0000 (0:00:00.043) 0:00:41.801 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:14:31 +0000 (0:00:00.062) 0:00:41.864 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:14:31 +0000 (0:00:00.043) 0:00:41.907 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:14:31 +0000 (0:00:00.042) 0:00:41.950 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:14:31 +0000 (0:00:00.045) 0:00:41.995 ****** skipping: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:14:31 +0000 (0:00:00.042) 0:00:42.038 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:14:31 +0000 (0:00:00.040) 0:00:42.079 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:14:31 +0000 (0:00:00.388) 0:00:42.468 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-290167o_ebozx2/tmpk68r9d7c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:14:31 +0000 (0:00:00.303) 0:00:42.771 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:14:32 +0000 (0:00:00.504) 0:00:43.275 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:14:32 +0000 (0:00:00.047) 0:00:43.322 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:14:32 +0000 (0:00:00.051) 0:00:43.374 ****** ok: [/cache/rhel-6.qcow2.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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "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/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:14:32 +0000 (0:00:00.052) 0:00:43.426 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:14:32 +0000 (0:00:00.042) 0:00:43.469 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 15:14:32 +0000 (0:00:00.303) 0:00:43.773 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:14:32 +0000 (0:00:00.086) 0:00:43.859 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:14:33 +0000 (0:00:00.043) 0:00:43.903 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:14:33 +0000 (0:00:00.040) 0:00:43.943 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:14:33 +0000 (0:00:00.061) 0:00:44.005 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:14:33 +0000 (0:00:00.108) 0:00:44.113 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003452", "end": "2022-08-03 11:14:32.781018", "rc": 0, "start": "2022-08-03 11:14:32.777566" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:14:33 +0000 (0:00:00.293) 0:00:44.406 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:14:33 +0000 (0:00:00.053) 0:00:44.460 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:14:33 +0000 (0:00:00.051) 0:00:44.511 ****** ok: [/cache/rhel-6.qcow2.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/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:14:34 +0000 (0:00:00.490) 0:00:45.001 ****** skipping: [/cache/rhel-6.qcow2.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/rhel-6.qcow2.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/rhel-6.qcow2.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/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:14:34 +0000 (0:00:00.057) 0:00:45.058 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:14:34 +0000 (0:00:00.044) 0:00:45.103 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.054650", "end": "2022-08-03 11:14:33.826194", "rc": 0, "start": "2022-08-03 11:14:33.771544" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:14:34 +0000 (0:00:00.349) 0:00:45.452 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:14:34 +0000 (0:00:00.044) 0:00:45.496 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:14:34 +0000 (0:00:00.043) 0:00:45.540 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:14:34 +0000 (0:00:00.043) 0:00:45.583 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=134 changed=11 unreachable=0 failed=0 skipped=78 rescued=0 ignored=4 Wednesday 03 August 2022 15:14:34 +0000 (0:00:00.057) 0:00:45.641 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.71s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 4.50s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.58s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.40s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.33s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.30s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.07s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpdb8ajfhr/tests/tests_auto_gateway_initscripts.yml:4 ------------------- linux-system-roles.network : Check which packages are installed --------- 0.90s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 0.83s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Install iproute --------------------------------------------------------- 0.81s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Create veth interface veth0 --------------------------------------------- 0.80s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable network service --------------------- 0.74s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Gathering Facts --------------------------------------------------------- 0.67s /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:3 --------------------- Enable EPEL 6 ----------------------------------------------------------- 0.63s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:26 ------------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.61s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.59s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- linux-system-roles.network : Check which packages are installed --------- 0.57s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.56s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.54s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpdb8ajfhr/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpdb8ajfhr/tests/_restore.yml:4 Wednesday 03 August 2022 15:14:34 +0000 (0:00:00.033) 0:00:45.675 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005353", "end": "2022-08-03 11:14:34.378918", "rc": 0, "start": "2022-08-03 11:14:34.373565" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=135 changed=12 unreachable=0 failed=0 skipped=78 rescued=0 ignored=4 Wednesday 03 August 2022 15:14:35 +0000 (0:00:00.347) 0:00:46.023 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.71s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 4.50s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.58s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.40s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.33s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.30s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.07s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpdb8ajfhr/tests/tests_auto_gateway_initscripts.yml:4 ------------------- linux-system-roles.network : Check which packages are installed --------- 0.90s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface veth0 --------------------------------------------- 0.83s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Install iproute --------------------------------------------------------- 0.81s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Create veth interface veth0 --------------------------------------------- 0.80s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Enable network service --------------------- 0.74s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Gathering Facts --------------------------------------------------------- 0.67s /tmp/tmpdb8ajfhr/tests/playbooks/tests_auto_gateway.yml:3 --------------------- Enable EPEL 6 ----------------------------------------------------------- 0.63s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:26 ------------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.61s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.59s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- linux-system-roles.network : Check which packages are installed --------- 0.57s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.56s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.54s /tmp/tmpdb8ajfhr/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/tmpk7x13fer 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/tmptjr_ga81/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmptjr_ga81/tests/network/_backup.yml:6 Wednesday 03 August 2022 15:22:29 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-6.qcow2.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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659540148.2648213, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540148.265, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659540132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072091882098", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. 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/tmptjr_ga81/tests/network/_backup.yml:13 Wednesday 03 August 2022 15:22:30 +0000 (0:00:00.462) 0:00:00.480 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-6.qcow2.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': 1659540132.0, 'block_size': 4096, 'inode': 260120, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072091882098', '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': 1659540148.2648213, 'isdir': False, 'ctime': 1659540148.265, '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": 1659540148.2648213, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540148.265, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659540132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072091882098", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmptjr_ga81/tests/network/_backup.yml:19 Wednesday 03 August 2022 15:22:30 +0000 (0:00:00.035) 0:00:00.516 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004083", "end": "2022-08-03 11:22:29.717157", "rc": 0, "start": "2022-08-03 11:22:29.713074" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:22:30 +0000 (0:00:00.385) 0:00:00.901 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.46s /tmp/tmptjr_ga81/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.39s /tmp/tmptjr_ga81/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmptjr_ga81/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /tmp/tmptjr_ga81/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/tmptjr_ga81/tests/network/tests_auto_gateway_initscripts.yml:4 Wednesday 03 August 2022 15:22:30 +0000 (0:00:00.070) 0:00:00.971 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_auto_gateway_initscripts.yml:7 Wednesday 03 August 2022 15:22:31 +0000 (0:00:00.898) 0:00:01.870 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml for /cache/rhel-6.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:22:31 +0000 (0:00:00.029) 0:00:01.899 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:22:31 +0000 (0:00:00.021) 0:00:01.921 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml for /cache/rhel-6.qcow2.snap TASK [Create EPEL 6] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:22:31 +0000 (0:00:00.031) 0:00:01.953 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:22:31 +0000 (0:00:00.022) 0:00:01.975 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:22:31 +0000 (0:00:00.022) 0:00:01.998 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:22:31 +0000 (0:00:00.021) 0:00:02.019 ****** ok: [/cache/rhel-6.qcow2.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/tmptjr_ga81/tests/network/tests_auto_gateway_initscripts.yml:8 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.625) 0:00:02.645 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:3 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.050) 0:00:02.695 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:8 Wednesday 03 August 2022 15:22:32 +0000 (0:00:00.679) 0:00:03.375 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.062) 0:00:03.437 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.044) 0:00:03.481 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003716", "end": "2022-08-03 11:22:32.613768", "rc": 0, "start": "2022-08-03 11:22:32.610052" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.321) 0:00:03.803 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.095) 0:00:03.898 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:9 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.046) 0:00:03.945 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.067) 0:00:04.012 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.035) 0:00:04.047 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.092) 0:00:04.139 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.047) 0:00:04.187 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:22:33 +0000 (0:00:00.045) 0:00:04.232 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003373", "end": "2022-08-03 11:22:33.341313", "rc": 0, "start": "2022-08-03 11:22:33.337940" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:22:34 +0000 (0:00:00.291) 0:00:04.523 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:22:34 +0000 (0:00:00.046) 0:00:04.570 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:22:34 +0000 (0:00:00.044) 0:00:04.615 ****** ok: [/cache/rhel-6.qcow2.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/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:22:35 +0000 (0:00:00.822) 0:00:05.437 ****** changed: [/cache/rhel-6.qcow2.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.054237", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:22:34.600663", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 11:22:34.546426" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003534", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:22:34.853888", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 11:22:34.850354" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003769", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:22:35.095196", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 11:22:35.091427" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:22:35 +0000 (0:00:00.841) 0:00:06.278 ****** fatal: [/cache/rhel-6.qcow2.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/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.286) 0:00:06.565 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.037) 0:00:06.602 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.037) 0:00:06.639 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.036) 0:00:06.676 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.034) 0:00:06.710 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:12 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.035) 0:00:06.745 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.064) 0:00:06.809 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.044) 0:00:06.854 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540154.602, "block_size": 4096, "blocks": 0, "ctime": 1659540154.601, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7730, "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": 1659540154.601, "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/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.291) 0:00:07.145 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:13 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.048) 0:00:07.194 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.042) 0:00:07.237 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:22:36 +0000 (0:00:00.050) 0:00:07.287 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:22:37 +0000 (0:00:00.370) 0:00:07.658 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:22:38 +0000 (0:00:01.661) 0:00:09.320 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:22:39 +0000 (0:00:00.920) 0:00:10.240 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:22:39 +0000 (0:00:00.055) 0:00:10.296 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:22:39 +0000 (0:00:00.050) 0:00:10.346 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:22:39 +0000 (0:00:00.045) 0:00:10.392 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.067) 0:00:10.459 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.044) 0:00:10.504 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.047) 0:00:10.552 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.049) 0:00:10.602 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.049) 0:00:10.652 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.043) 0:00:10.695 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:22:40 +0000 (0:00:00.496) 0:00:11.191 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-3094567l_5iz12/tmp4bs52oi8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:22:41 +0000 (0:00:00.307) 0:00:11.499 ****** changed: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:22:45 +0000 (0:00:04.702) 0:00:16.202 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:22:45 +0000 (0:00:00.047) 0:00:16.250 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:22:45 +0000 (0:00:00.050) 0:00:16.300 ****** ok: [/cache/rhel-6.qcow2.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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:22:45 +0000 (0:00:00.052) 0:00:16.353 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:22:45 +0000 (0:00:00.041) 0:00:16.395 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:34 Wednesday 03 August 2022 15:22:46 +0000 (0:00:00.425) 0:00:16.821 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:22:46 +0000 (0:00:00.075) 0:00:16.896 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:22:46 +0000 (0:00:00.085) 0:00:16.982 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540154.602, "block_size": 4096, "blocks": 0, "ctime": 1659540154.601, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7730, "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": 1659540154.601, "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/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:22:46 +0000 (0:00:00.285) 0:00:17.267 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:35 Wednesday 03 August 2022 15:22:46 +0000 (0:00:00.052) 0:00:17.319 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:22:46 +0000 (0:00:00.074) 0:00:17.394 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-6.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:22:47 +0000 (0:00:00.058) 0:00:17.452 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:22:47 +0000 (0:00:00.048) 0:00:17.500 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540160.887, "block_size": 4096, "blocks": 8, "ctime": 1659540160.875, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 270946, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659540160.875, "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/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:22:47 +0000 (0:00:00.293) 0:00:17.794 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:22:47 +0000 (0:00:00.052) 0:00:17.846 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004360", "end": "2022-08-03 11:22:46.949729", "rc": 1, "start": "2022-08-03 11:22:46.945369" } 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/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:22:47 +0000 (0:00:00.288) 0:00:18.135 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:22:47 +0000 (0:00:00.042) 0:00:18.177 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.004018", "end": "2022-08-03 11:22:47.283919", "rc": 0, "start": "2022-08-03 11:22:47.279901" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.298) 0:00:18.475 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.058) 0:00:18.533 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.133) 0:00:18.667 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:38 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.054) 0:00:18.722 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.011242", "end": "2022-08-03 11:22:47.842629", "rc": 0, "start": "2022-08-03 11:22:47.831387" } 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/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:42 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.309) 0:00:19.031 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:48 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.053) 0:00:19.085 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003545", "end": "2022-08-03 11:22:48.178061", "rc": 0, "start": "2022-08-03 11:22:48.174516" } 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 86336sec mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 default via fe80::2 dev eth0 proto kernel metric 1024 expires 1762sec mtu 1500 hoplimit 64 TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:52 Wednesday 03 August 2022 15:22:48 +0000 (0:00:00.293) 0:00:19.378 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:59 Wednesday 03 August 2022 15:22:49 +0000 (0:00:00.051) 0:00:19.430 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:22:49 +0000 (0:00:00.055) 0:00:19.486 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:22:49 +0000 (0:00:00.067) 0:00:19.553 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:22:49 +0000 (0:00:00.392) 0:00:19.945 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:22:50 +0000 (0:00:01.399) 0:00:21.345 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.565) 0:00:21.911 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.054) 0:00:21.965 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.042) 0:00:22.008 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.045) 0:00:22.053 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.067) 0:00:22.121 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.045) 0:00:22.166 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.046) 0:00:22.213 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.050) 0:00:22.263 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.046) 0:00:22.309 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:22:51 +0000 (0:00:00.044) 0:00:22.354 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:22:52 +0000 (0:00:00.352) 0:00:22.707 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-3094567l_5iz12/tmp5urc76eu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:22:52 +0000 (0:00:00.339) 0:00:23.046 ****** changed: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:22:53 +0000 (0:00:00.545) 0:00:23.591 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:22:53 +0000 (0:00:00.044) 0:00:23.635 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:22:53 +0000 (0:00:00.052) 0:00:23.688 ****** ok: [/cache/rhel-6.qcow2.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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:22:53 +0000 (0:00:00.051) 0:00:23.740 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:22:53 +0000 (0:00:00.046) 0:00:23.787 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:71 Wednesday 03 August 2022 15:22:53 +0000 (0:00:00.293) 0:00:24.080 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:22:53 +0000 (0:00:00.081) 0:00:24.161 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:22:53 +0000 (0:00:00.039) 0:00:24.200 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:22:53 +0000 (0:00:00.039) 0:00:24.240 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:22:53 +0000 (0:00:00.055) 0:00:24.296 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:22:53 +0000 (0:00:00.055) 0:00:24.351 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.009160", "end": "2022-08-03 11:22:53.462707", "rc": 0, "start": "2022-08-03 11:22:53.453547" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:22:54 +0000 (0:00:00.334) 0:00:24.685 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:22:54 +0000 (0:00:00.051) 0:00:24.737 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:22:54 +0000 (0:00:00.049) 0:00:24.787 ****** ok: [/cache/rhel-6.qcow2.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/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:22:54 +0000 (0:00:00.514) 0:00:25.302 ****** skipping: [/cache/rhel-6.qcow2.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/rhel-6.qcow2.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/rhel-6.qcow2.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/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:22:54 +0000 (0:00:00.053) 0:00:25.356 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:22:54 +0000 (0:00:00.045) 0:00:25.401 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.052312", "end": "2022-08-03 11:22:54.554896", "rc": 0, "start": "2022-08-03 11:22:54.502584" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.354) 0:00:25.756 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.042) 0:00:25.798 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.040) 0:00:25.838 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.040) 0:00:25.879 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:74 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.038) 0:00:25.918 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:78 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.050) 0:00:25.968 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.079) 0:00:26.048 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.043) 0:00:26.091 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.045) 0:00:26.137 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.093) 0:00:26.231 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:22:55 +0000 (0:00:00.060) 0:00:26.292 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003155", "end": "2022-08-03 11:22:55.406521", "rc": 0, "start": "2022-08-03 11:22:55.403366" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:22:56 +0000 (0:00:00.302) 0:00:26.594 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:22:56 +0000 (0:00:00.062) 0:00:26.657 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:22:56 +0000 (0:00:00.051) 0:00:26.709 ****** ok: [/cache/rhel-6.qcow2.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/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:22:56 +0000 (0:00:00.507) 0:00:27.216 ****** changed: [/cache/rhel-6.qcow2.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.003462", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:22:56.327090", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-08-03 11:22:56.323628" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003531", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:22:56.585350", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-08-03 11:22:56.581819" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003461", "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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:22:56.840675", "item": "ip link set veth0 up", "rc": 0, "start": "2022-08-03 11:22:56.837214" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:22:57 +0000 (0:00:00.814) 0:00:28.031 ****** fatal: [/cache/rhel-6.qcow2.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/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:22:57 +0000 (0:00:00.296) 0:00:28.327 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:22:57 +0000 (0:00:00.046) 0:00:28.373 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:22:57 +0000 (0:00:00.043) 0:00:28.417 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.043) 0:00:28.461 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.045) 0:00:28.506 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.076) 0:00:28.582 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.073) 0:00:28.656 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:22:58 +0000 (0:00:00.399) 0:00:29.055 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:23:00 +0000 (0:00:01.446) 0:00:30.502 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:23:00 +0000 (0:00:00.561) 0:00:31.063 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:23:00 +0000 (0:00:00.081) 0:00:31.144 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:23:00 +0000 (0:00:00.051) 0:00:31.195 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:23:00 +0000 (0:00:00.049) 0:00:31.245 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:23:00 +0000 (0:00:00.072) 0:00:31.318 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:23:00 +0000 (0:00:00.089) 0:00:31.407 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.044) 0:00:31.452 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.048) 0:00:31.500 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.045) 0:00:31.546 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.046) 0:00:31.593 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.359) 0:00:31.952 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-3094567l_5iz12/tmpxxcyk7lr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:23:01 +0000 (0:00:00.306) 0:00:32.259 ****** changed: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:23:06 +0000 (0:00:04.518) 0:00:36.778 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:23:06 +0000 (0:00:00.043) 0:00:36.822 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:23:06 +0000 (0:00:00.132) 0:00:36.954 ****** ok: [/cache/rhel-6.qcow2.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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:23:06 +0000 (0:00:00.058) 0:00:37.013 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:23:06 +0000 (0:00:00.046) 0:00:37.060 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:98 Wednesday 03 August 2022 15:23:06 +0000 (0:00:00.314) 0:00:37.374 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:23:07 +0000 (0:00:00.091) 0:00:37.466 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:23:07 +0000 (0:00:00.062) 0:00:37.528 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540176.437, "block_size": 4096, "blocks": 0, "ctime": 1659540176.427, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7730, "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": 1659540176.427, "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/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:23:07 +0000 (0:00:00.306) 0:00:37.835 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:99 Wednesday 03 August 2022 15:23:07 +0000 (0:00:00.058) 0:00:37.893 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:23:07 +0000 (0:00:00.093) 0:00:37.987 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-6.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:23:07 +0000 (0:00:00.064) 0:00:38.051 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:23:07 +0000 (0:00:00.054) 0:00:38.106 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540181.476, "block_size": 4096, "blocks": 8, "ctime": 1659540181.463, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 270946, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659540181.463, "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/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:23:07 +0000 (0:00:00.301) 0:00:38.407 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:23:08 +0000 (0:00:00.142) 0:00:38.549 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004659", "end": "2022-08-03 11:23:07.666880", "rc": 1, "start": "2022-08-03 11:23:07.662221" } 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/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:23:08 +0000 (0:00:00.309) 0:00:38.859 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:23:08 +0000 (0:00:00.047) 0:00:38.906 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003416", "end": "2022-08-03 11:23:08.016838", "rc": 0, "start": "2022-08-03 11:23:08.013422" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:23:08 +0000 (0:00:00.303) 0:00:39.210 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:23:08 +0000 (0:00:00.058) 0:00:39.269 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'veth0' is present] *************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:23:08 +0000 (0:00:00.056) 0:00:39.325 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:102 Wednesday 03 August 2022 15:23:08 +0000 (0:00:00.059) 0:00:39.385 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003447", "end": "2022-08-03 11:23:08.494790", "rc": 0, "start": "2022-08-03 11:23:08.491343" } 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/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:106 Wednesday 03 August 2022 15:23:09 +0000 (0:00:00.301) 0:00:39.686 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:112 Wednesday 03 August 2022 15:23:09 +0000 (0:00:00.052) 0:00:39.738 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004012", "end": "2022-08-03 11:23:08.860559", "rc": 0, "start": "2022-08-03 11:23:08.856547" } 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 86316sec mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 default via fe80::2 dev eth0 proto kernel metric 1024 expires 1741sec mtu 1500 hoplimit 64 TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:116 Wednesday 03 August 2022 15:23:09 +0000 (0:00:00.316) 0:00:40.055 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:123 Wednesday 03 August 2022 15:23:09 +0000 (0:00:00.041) 0:00:40.097 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:23:09 +0000 (0:00:00.055) 0:00:40.152 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:23:09 +0000 (0:00:00.062) 0:00:40.214 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:23:10 +0000 (0:00:00.431) 0:00:40.646 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:23:11 +0000 (0:00:01.378) 0:00:42.024 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:23:12 +0000 (0:00:00.557) 0:00:42.582 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:23:12 +0000 (0:00:00.058) 0:00:42.640 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:23:12 +0000 (0:00:00.046) 0:00:42.687 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:23:12 +0000 (0:00:00.047) 0:00:42.734 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:23:12 +0000 (0:00:00.068) 0:00:42.803 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:23:12 +0000 (0:00:00.048) 0:00:42.851 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:23:12 +0000 (0:00:00.047) 0:00:42.899 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:23:12 +0000 (0:00:00.090) 0:00:42.989 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:23:12 +0000 (0:00:00.047) 0:00:43.037 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:23:12 +0000 (0:00:00.044) 0:00:43.082 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:23:13 +0000 (0:00:00.352) 0:00:43.434 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-3094567l_5iz12/tmpi6oucite" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:23:13 +0000 (0:00:00.304) 0:00:43.739 ****** changed: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:23:13 +0000 (0:00:00.517) 0:00:44.256 ****** skipping: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:23:13 +0000 (0:00:00.049) 0:00:44.305 ****** ok: [/cache/rhel-6.qcow2.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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:23:13 +0000 (0:00:00.056) 0:00:44.362 ****** ok: [/cache/rhel-6.qcow2.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, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "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/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:23:14 +0000 (0:00:00.060) 0:00:44.423 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:23:14 +0000 (0:00:00.047) 0:00:44.471 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:135 Wednesday 03 August 2022 15:23:14 +0000 (0:00:00.317) 0:00:44.788 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:23:14 +0000 (0:00:00.088) 0:00:44.877 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:23:14 +0000 (0:00:00.111) 0:00:44.989 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:23:14 +0000 (0:00:00.044) 0:00:45.033 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:23:14 +0000 (0:00:00.063) 0:00:45.096 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:23:14 +0000 (0:00:00.070) 0:00:45.167 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003548", "end": "2022-08-03 11:23:14.288938", "rc": 0, "start": "2022-08-03 11:23:14.285390" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:23:15 +0000 (0:00:00.316) 0:00:45.483 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:23:15 +0000 (0:00:00.055) 0:00:45.539 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:23:15 +0000 (0:00:00.057) 0:00:45.596 ****** ok: [/cache/rhel-6.qcow2.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/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:23:15 +0000 (0:00:00.522) 0:00:46.119 ****** skipping: [/cache/rhel-6.qcow2.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/rhel-6.qcow2.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/rhel-6.qcow2.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/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:23:15 +0000 (0:00:00.056) 0:00:46.176 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:23:15 +0000 (0:00:00.046) 0:00:46.222 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.056113", "end": "2022-08-03 11:23:15.388099", "rc": 0, "start": "2022-08-03 11:23:15.331986" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:23:16 +0000 (0:00:00.363) 0:00:46.586 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:23:16 +0000 (0:00:00.045) 0:00:46.631 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:23:16 +0000 (0:00:00.043) 0:00:46.675 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:23:16 +0000 (0:00:00.105) 0:00:46.780 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=134 changed=11 unreachable=0 failed=0 skipped=78 rescued=0 ignored=4 Wednesday 03 August 2022 15:23:16 +0000 (0:00:00.062) 0:00:46.843 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 4.70s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 4.52s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.45s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.40s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.38s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.06s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmptjr_ga81/tests/network/tests_auto_gateway_initscripts.yml:4 ----------- Create veth interface veth0 --------------------------------------------- 0.84s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Install iproute --------------------------------------------------------- 0.82s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Create veth interface veth0 --------------------------------------------- 0.81s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Enable network service -------------- 0.71s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Gathering Facts --------------------------------------------------------- 0.68s /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:3 ------------- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.64s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Enable EPEL 6 ----------------------------------------------------------- 0.63s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 ----------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.61s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Check which packages are installed --- 0.57s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.56s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.56s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmptjr_ga81/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmptjr_ga81/tests/network/_restore.yml:4 Wednesday 03 August 2022 15:23:16 +0000 (0:00:00.037) 0:00:46.880 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005536", "end": "2022-08-03 11:23:15.979894", "rc": 0, "start": "2022-08-03 11:23:15.974358" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=135 changed=12 unreachable=0 failed=0 skipped=78 rescued=0 ignored=4 Wednesday 03 August 2022 15:23:16 +0000 (0:00:00.308) 0:00:47.189 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 4.70s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 4.52s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.45s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.40s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.38s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.06s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmptjr_ga81/tests/network/tests_auto_gateway_initscripts.yml:4 ----------- Create veth interface veth0 --------------------------------------------- 0.84s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Install iproute --------------------------------------------------------- 0.82s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Create veth interface veth0 --------------------------------------------- 0.81s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Enable network service -------------- 0.71s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Gathering Facts --------------------------------------------------------- 0.68s /tmp/tmptjr_ga81/tests/network/playbooks/tests_auto_gateway.yml:3 ------------- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.64s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Enable EPEL 6 ----------------------------------------------------------- 0.63s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 ----------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.61s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Check which packages are installed --- 0.57s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.56s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.56s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14