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:16:38 +0000 (0:00:00.017) 0:00:00.017 ****** 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": 1659539796.815352, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659539796.815, "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": "18446744072843960286", "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:16:38 +0000 (0:00:00.453) 0:00:00.470 ****** [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': '18446744072843960286', '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': 1659539796.815352, 'isdir': False, 'ctime': 1659539796.815, '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": 1659539796.815352, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659539796.815, "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": "18446744072843960286", "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:16:38 +0000 (0:00:00.034) 0:00:00.505 ****** 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.004084", "end": "2022-08-03 11:16:38.234360", "rc": 0, "start": "2022-08-03 11:16:38.230276" } 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:16:39 +0000 (0:00:00.384) 0:00:00.889 ****** =============================================================================== 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.03s /tmp/tmpdb8ajfhr/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_ethernet_initscripts.yml *************************************** 9 plays in /tmp/tmpdb8ajfhr/tests/tests_ethernet_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethernet.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/tests_ethernet_initscripts.yml:4 Wednesday 03 August 2022 15:16:39 +0000 (0:00:00.042) 0:00:00.932 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_ethernet_initscripts.yml:7 Wednesday 03 August 2022 15:16:39 +0000 (0:00:00.914) 0:00:01.847 ****** 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:16:39 +0000 (0:00:00.029) 0:00:01.877 ****** 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:16:40 +0000 (0:00:00.022) 0:00:01.899 ****** 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:16:40 +0000 (0:00:00.030) 0:00:01.930 ****** 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:16:40 +0000 (0:00:00.021) 0:00:01.951 ****** 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:16:40 +0000 (0:00:00.020) 0:00:01.972 ****** 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:16:40 +0000 (0:00:00.021) 0:00:01.994 ****** 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_ethernet_initscripts.yml:8 Wednesday 03 August 2022 15:16:40 +0000 (0:00:00.628) 0:00:02.622 ****** 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_ethernet.yml:3 Wednesday 03 August 2022 15:16:40 +0000 (0:00:00.048) 0:00:02.670 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [Show inside ethernet tests] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:5 Wednesday 03 August 2022 15:16:41 +0000 (0:00:00.682) 0:00:03.353 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: Inside ethernet tests TASK [Show network_provider] *************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:8 Wednesday 03 August 2022 15:16:41 +0000 (0:00:00.042) 0:00:03.396 ****** ok: [/cache/rhel-6.qcow2.snap] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:12 Wednesday 03 August 2022 15:16:41 +0000 (0:00:00.063) 0:00:03.460 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [set type=veth and interface=lsr27] *************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:19 Wednesday 03 August 2022 15:16:42 +0000 (0:00:00.674) 0:00:04.135 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "interface": "lsr27", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:23 Wednesday 03 August 2022 15:16:42 +0000 (0:00:00.051) 0:00:04.186 ****** 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:16:42 +0000 (0:00:00.047) 0:00:04.234 ****** 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:16:42 +0000 (0:00:00.044) 0:00:04.278 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003119", "end": "2022-08-03 11:16:41.952738", "rc": 0, "start": "2022-08-03 11:16:41.949619" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:16:42 +0000 (0:00:00.322) 0:00:04.601 ****** 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:16:42 +0000 (0:00:00.045) 0:00:04.647 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:24 Wednesday 03 August 2022 15:16:42 +0000 (0:00:00.044) 0:00:04.691 ****** 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:16:42 +0000 (0:00:00.047) 0:00:04.738 ****** 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:16:42 +0000 (0:00:00.035) 0:00:04.774 ****** 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:16:42 +0000 (0:00:00.033) 0:00:04.807 ****** 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:16:42 +0000 (0:00:00.043) 0:00:04.850 ****** 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:16:43 +0000 (0:00:00.042) 0:00:04.892 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003588", "end": "2022-08-03 11:16:42.527106", "rc": 0, "start": "2022-08-03 11:16:42.523518" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:16:43 +0000 (0:00:00.286) 0:00:05.179 ****** 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:16:43 +0000 (0:00:00.045) 0:00:05.225 ****** 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:16:43 +0000 (0:00:00.044) 0:00:05.270 ****** 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 lsr27] ********************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:16:44 +0000 (0:00:00.655) 0:00:05.925 ****** changed: [/cache/rhel-6.qcow2.snap] => (item=ip link add lsr27 type veth peer name peerlsr27) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "lsr27", "type", "veth", "peer", "name", "peerlsr27" ], "delta": "0:00:00.003364", "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:16:43.562431", "item": "ip link add lsr27 type veth peer name peerlsr27", "rc": 0, "start": "2022-08-03 11:16:43.559067" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set peerlsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerlsr27", "up" ], "delta": "0:00:00.003471", "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:16:43.814888", "item": "ip link set peerlsr27 up", "rc": 0, "start": "2022-08-03 11:16:43.811417" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set lsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "lsr27", "up" ], "delta": "0:00:00.003360", "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:16:44.052348", "item": "ip link set lsr27 up", "rc": 0, "start": "2022-08-03 11:16:44.048988" } 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:16:44 +0000 (0:00:00.777) 0:00:06.703 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli d set lsr27 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface lsr27] ********************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:16:45 +0000 (0:00:00.281) 0:00:06.985 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr27] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:16:45 +0000 (0:00:00.037) 0:00:07.022 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr27] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:16:45 +0000 (0:00:00.035) 0:00:07.058 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr27] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:16:45 +0000 (0:00:00.035) 0:00:07.093 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr27] ********************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:16:45 +0000 (0:00:00.033) 0:00:07.127 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:27 Wednesday 03 August 2022 15:16:45 +0000 (0:00:00.034) 0:00:07.162 ****** 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:16:45 +0000 (0:00:00.044) 0:00:07.206 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:16:45 +0000 (0:00:00.042) 0:00:07.249 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659539803.565, "block_size": 4096, "blocks": 0, "ctime": 1659539803.564, "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/lsr27", "lnk_target": "../../devices/virtual/net/lsr27", "mode": "0777", "mtime": 1659539803.564, "nlink": 1, "path": "/sys/class/net/lsr27", "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 lsr27 is present] ********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:16:45 +0000 (0:00:00.279) 0:00:07.529 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Test static interface up] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:29 Wednesday 03 August 2022 15:16:45 +0000 (0:00:00.068) 0:00:07.597 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers 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:16:46 +0000 (0:00:00.729) 0:00:08.326 ****** 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:16:46 +0000 (0:00:00.046) 0:00:08.372 ****** 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:16:46 +0000 (0:00:00.374) 0:00:08.747 ****** 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:16:48 +0000 (0:00:01.387) 0:00:10.135 ****** 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:16:49 +0000 (0:00:00.796) 0:00:10.932 ****** 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:16:49 +0000 (0:00:00.052) 0:00:10.984 ****** 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:16:49 +0000 (0:00:00.043) 0:00:11.028 ****** 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:16:49 +0000 (0:00:00.043) 0:00:11.071 ****** 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:16:49 +0000 (0:00:00.062) 0:00:11.134 ****** 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:16:49 +0000 (0:00:00.066) 0:00:11.201 ****** 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:16:49 +0000 (0:00:00.043) 0:00:11.244 ****** 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:16:49 +0000 (0:00:00.045) 0:00:11.290 ****** 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:16:49 +0000 (0:00:00.041) 0:00:11.332 ****** 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:16:49 +0000 (0:00:00.042) 0:00:11.374 ****** 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:16:49 +0000 (0:00:00.486) 0:00:11.861 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-296151l85471f6/tmphywuvhs5" } 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:16:50 +0000 (0:00:00.291) 0:00:12.152 ****** 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": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27' [004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified) [005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='Determining if ip address 192.0.2.1 is already in use for device lsr27... ', 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:16:54 +0000 (0:00:04.646) 0:00:16.799 ****** 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:16:54 +0000 (0:00:00.045) 0:00:16.844 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='Determining if ip address 192.0.2.1 is already in use for device lsr27...", "', 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:16:55 +0000 (0:00:00.106) 0:00:16.950 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "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, 'lsr27': add ifcfg-rh profile 'lsr27'\n[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)\n[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='Determining if ip address 192.0.2.1 is already in use for device lsr27...\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='Determining if ip address 192.0.2.1 is already in use for device lsr27...", "', 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:16:55 +0000 (0:00:00.053) 0:00:17.004 ****** 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:16:55 +0000 (0:00:00.044) 0:00:17.049 ****** 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_ethernet.yml:43 Wednesday 03 August 2022 15:16:55 +0000 (0:00:00.384) 0:00:17.433 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml for /cache/rhel-6.qcow2.snap TASK [Assert that warnings is empty] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:3 Wednesday 03 August 2022 15:16:55 +0000 (0:00:00.056) 0:00:17.489 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that there is output in stderr] *********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:8 Wednesday 03 August 2022 15:16:55 +0000 (0:00:00.047) 0:00:17.537 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:45 Wednesday 03 August 2022 15:16:55 +0000 (0:00:00.086) 0:00:17.623 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [Show network_provider] *************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:47 Wednesday 03 August 2022 15:16:56 +0000 (0:00:00.716) 0:00:18.340 ****** ok: [/cache/rhel-6.qcow2.snap] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/down_profile.yml:3 Wednesday 03 August 2022 15:16:56 +0000 (0:00:00.091) 0:00:18.432 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers 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:16:57 +0000 (0:00:00.746) 0:00:19.178 ****** 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:16:57 +0000 (0:00:00.060) 0:00:19.239 ****** 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:16:57 +0000 (0:00:00.376) 0:00:19.615 ****** 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:16:59 +0000 (0:00:01.337) 0:00:20.952 ****** 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:16:59 +0000 (0:00:00.636) 0:00:21.589 ****** 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:16:59 +0000 (0:00:00.052) 0:00:21.641 ****** 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:16:59 +0000 (0:00:00.046) 0:00:21.688 ****** 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:16:59 +0000 (0:00:00.042) 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:16:59 +0000 (0:00:00.064) 0:00:21.795 ****** 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:16:59 +0000 (0:00:00.041) 0:00:21.837 ****** 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:16:59 +0000 (0:00:00.043) 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:17:00 +0000 (0:00:00.045) 0:00:21.926 ****** 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:17:00 +0000 (0:00:00.044) 0:00:21.970 ****** 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:17:00 +0000 (0:00:00.040) 0:00:22.011 ****** 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:17:00 +0000 (0:00:00.342) 0:00:22.354 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-296151l85471f6/tmpjpsum_4b" } 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:17:00 +0000 (0:00:00.283) 0:00:22.637 ****** 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": "lsr27", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active) [003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='', 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:17:01 +0000 (0:00:00.493) 0:00:23.131 ****** 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:17:01 +0000 (0:00:00.045) 0:00:23.177 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='', 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:17:01 +0000 (0:00:00.050) 0:00:23.227 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "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": "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)\n[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='', 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:17:01 +0000 (0:00:00.110) 0:00:23.337 ****** 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:17:01 +0000 (0:00:00.044) 0:00:23.382 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 15:17:01 +0000 (0:00:00.326) 0:00:23.708 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 15:17:02 +0000 (0:00:00.721) 0:00:24.430 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/delete_interface.yml for /cache/rhel-6.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 15:17:02 +0000 (0:00:00.058) 0:00:24.488 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr27" ], "delta": "0:00:00.045256", "end": "2022-08-03 11:17:02.155294", "rc": 0, "start": "2022-08-03 11:17:02.110038" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 15:17:02 +0000 (0:00:00.377) 0:00:24.866 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers 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:17:03 +0000 (0:00:00.750) 0:00:25.616 ****** 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:17:03 +0000 (0:00:00.059) 0:00:25.676 ****** 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:17:04 +0000 (0:00:00.379) 0:00:26.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 [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:17:05 +0000 (0:00:01.400) 0:00:27.456 ****** 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:17:06 +0000 (0:00:00.599) 0:00:28.055 ****** 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:17:06 +0000 (0:00:00.052) 0:00:28.108 ****** 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:17:06 +0000 (0:00:00.044) 0:00:28.152 ****** 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:17:06 +0000 (0:00:00.043) 0:00:28.195 ****** 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:17:06 +0000 (0:00:00.065) 0:00:28.260 ****** 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:17:06 +0000 (0:00:00.042) 0:00:28.303 ****** 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:17:06 +0000 (0:00:00.041) 0:00:28.345 ****** 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:17:06 +0000 (0:00:00.046) 0:00:28.391 ****** 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:17:06 +0000 (0:00:00.042) 0:00:28.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:17:06 +0000 (0:00:00.039) 0:00:28.473 ****** 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:17:06 +0000 (0:00:00.330) 0:00:28.804 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-296151l85471f6/tmpr3d4ukki" } 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:17:07 +0000 (0:00:00.297) 0:00:29.102 ****** 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": "lsr27", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27' 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:17:07 +0000 (0:00:00.377) 0:00:29.479 ****** 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:17:07 +0000 (0:00:00.044) 0:00:29.524 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'" ] } 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:17:07 +0000 (0:00:00.052) 0:00:29.577 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "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": "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'" ] } } 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:17:07 +0000 (0:00:00.118) 0:00:29.696 ****** 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:17:07 +0000 (0:00:00.044) 0:00:29.740 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:60 Wednesday 03 August 2022 15:17:08 +0000 (0:00:00.322) 0:00:30.063 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:63 Wednesday 03 August 2022 15:17:08 +0000 (0:00:00.731) 0:00:30.795 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_profile_absent.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 15:17:08 +0000 (0:00:00.061) 0:00:30.856 ****** 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:17:09 +0000 (0:00:00.059) 0:00:30.916 ****** 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:17:09 +0000 (0:00:00.063) 0:00:30.979 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "exists": 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:17:09 +0000 (0:00:00.281) 0:00:31.261 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:17:09 +0000 (0:00:00.042) 0:00:31.303 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr27 | grep /etc", "delta": "0:00:00.004343", "end": "2022-08-03 11:17:08.968727", "rc": 1, "start": "2022-08-03 11:17:08.964384" } 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:17:09 +0000 (0:00:00.322) 0:00:31.626 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr27] ************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:17:09 +0000 (0:00:00.044) 0:00:31.670 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr27] *********************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:17:09 +0000 (0:00:00.043) 0:00:31.713 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'lsr27' is absent] *********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 15:17:09 +0000 (0:00:00.041) 0:00:31.755 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:66 Wednesday 03 August 2022 15:17:09 +0000 (0:00:00.054) 0:00:31.810 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_absent.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 15:17:09 +0000 (0:00:00.056) 0:00:31.866 ****** included: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:17:10 +0000 (0:00:00.057) 0:00:31.923 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface lsr27 is absent] *********************************** task path: /tmp/tmpdb8ajfhr/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 15:17:10 +0000 (0:00:00.284) 0:00:32.208 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=86 changed=5 unreachable=0 failed=0 skipped=45 rescued=0 ignored=2 Wednesday 03 August 2022 15:17:10 +0000 (0:00:00.070) 0:00:32.278 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.65s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- 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.39s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.34s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmpdb8ajfhr/tests/tests_ethernet_initscripts.yml:4 ----------------------- linux-system-roles.network : Check which packages are installed --------- 0.80s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface lsr27 --------------------------------------------- 0.78s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmpdb8ajfhr/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmpdb8ajfhr/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:60 ------------------------ Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:29 ------------------------ Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpdb8ajfhr/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:45 ------------------------ Gathering Facts --------------------------------------------------------- 0.68s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.67s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:12 ------------------------ Install iproute --------------------------------------------------------- 0.66s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which packages are installed --------- 0.64s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Enable EPEL 6 ----------------------------------------------------------- 0.63s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:26 ------------------------------- linux-system-roles.network : Check which packages are installed --------- 0.60s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.49s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- 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:17:10 +0000 (0:00:00.036) 0:00:32.315 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.004967", "end": "2022-08-03 11:17:09.926541", "rc": 0, "start": "2022-08-03 11:17:09.921574" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=87 changed=6 unreachable=0 failed=0 skipped=45 rescued=0 ignored=2 Wednesday 03 August 2022 15:17:10 +0000 (0:00:00.296) 0:00:32.612 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.65s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- 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.39s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.34s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmpdb8ajfhr/tests/tests_ethernet_initscripts.yml:4 ----------------------- linux-system-roles.network : Check which packages are installed --------- 0.80s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface lsr27 --------------------------------------------- 0.78s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmpdb8ajfhr/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmpdb8ajfhr/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:60 ------------------------ Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:29 ------------------------ Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpdb8ajfhr/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:45 ------------------------ Gathering Facts --------------------------------------------------------- 0.68s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.67s /tmp/tmpdb8ajfhr/tests/playbooks/tests_ethernet.yml:12 ------------------------ Install iproute --------------------------------------------------------- 0.66s /tmp/tmpdb8ajfhr/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- linux-system-roles.network : Check which packages are installed --------- 0.64s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Enable EPEL 6 ----------------------------------------------------------- 0.63s /tmp/tmpdb8ajfhr/tests/tasks/enable_epel.yml:26 ------------------------------- linux-system-roles.network : Check which packages are installed --------- 0.60s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.49s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/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:25:23 +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": 1659540322.15335, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540322.153, "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": "18446744072091883316", "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:25:23 +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': '18446744072091883316', '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': 1659540322.15335, 'isdir': False, 'ctime': 1659540322.153, '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": 1659540322.15335, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540322.153, "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": "18446744072091883316", "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:25:23 +0000 (0:00:00.034) 0:00:00.514 ****** 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.004082", "end": "2022-08-03 11:25:23.613829", "rc": 0, "start": "2022-08-03 11:25:23.609747" } 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:25:24 +0000 (0:00:00.397) 0:00:00.912 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.46s /tmp/tmptjr_ga81/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.40s /tmp/tmptjr_ga81/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmptjr_ga81/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_ethernet_initscripts.yml *************************************** 9 plays in /tmp/tmptjr_ga81/tests/network/tests_ethernet_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethernet.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/tests_ethernet_initscripts.yml:4 Wednesday 03 August 2022 15:25:24 +0000 (0:00:00.060) 0:00:00.972 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_ethernet_initscripts.yml:7 Wednesday 03 August 2022 15:25:25 +0000 (0:00:00.934) 0:00:01.907 ****** 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:25:25 +0000 (0:00:00.029) 0:00:01.936 ****** 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:25:25 +0000 (0:00:00.022) 0:00:01.959 ****** 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:25:25 +0000 (0:00:00.032) 0:00:01.992 ****** 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:25:25 +0000 (0:00:00.023) 0:00:02.015 ****** 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:25:25 +0000 (0:00:00.022) 0:00:02.037 ****** 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:25:25 +0000 (0:00:00.022) 0:00:02.060 ****** 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_ethernet_initscripts.yml:8 Wednesday 03 August 2022 15:25:26 +0000 (0:00:00.625) 0:00:02.686 ****** 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_ethernet.yml:3 Wednesday 03 August 2022 15:25:26 +0000 (0:00:00.048) 0:00:02.734 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [Show inside ethernet tests] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:5 Wednesday 03 August 2022 15:25:26 +0000 (0:00:00.696) 0:00:03.431 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: Inside ethernet tests TASK [Show network_provider] *************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:8 Wednesday 03 August 2022 15:25:26 +0000 (0:00:00.042) 0:00:03.473 ****** ok: [/cache/rhel-6.qcow2.snap] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:12 Wednesday 03 August 2022 15:25:27 +0000 (0:00:00.062) 0:00:03.536 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [set type=veth and interface=lsr27] *************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:19 Wednesday 03 August 2022 15:25:27 +0000 (0:00:00.690) 0:00:04.226 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "interface": "lsr27", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:23 Wednesday 03 August 2022 15:25:27 +0000 (0:00:00.093) 0:00:04.319 ****** 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:25:27 +0000 (0:00:00.042) 0:00:04.362 ****** 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:25:27 +0000 (0:00:00.041) 0:00:04.403 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003622", "end": "2022-08-03 11:25:27.425730", "rc": 0, "start": "2022-08-03 11:25:27.422108" } 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:25:28 +0000 (0:00:00.306) 0:00:04.710 ****** 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:25:28 +0000 (0:00:00.070) 0:00:04.780 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:24 Wednesday 03 August 2022 15:25:28 +0000 (0:00:00.100) 0:00:04.881 ****** 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:25:28 +0000 (0:00:00.049) 0:00:04.930 ****** 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:25:28 +0000 (0:00:00.035) 0:00:04.966 ****** 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:25:28 +0000 (0:00:00.034) 0:00:05.001 ****** 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:25:28 +0000 (0:00:00.047) 0:00:05.048 ****** 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:25:28 +0000 (0:00:00.046) 0:00:05.094 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003498", "end": "2022-08-03 11:25:28.088579", "rc": 0, "start": "2022-08-03 11:25:28.085081" } 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:25:28 +0000 (0:00:00.279) 0:00:05.374 ****** 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:25:28 +0000 (0:00:00.045) 0:00:05.420 ****** 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:25:28 +0000 (0:00:00.046) 0:00:05.466 ****** 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 lsr27] ********************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:25:29 +0000 (0:00:00.673) 0:00:06.139 ****** changed: [/cache/rhel-6.qcow2.snap] => (item=ip link add lsr27 type veth peer name peerlsr27) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "lsr27", "type", "veth", "peer", "name", "peerlsr27" ], "delta": "0:00:00.004116", "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:25:29.139776", "item": "ip link add lsr27 type veth peer name peerlsr27", "rc": 0, "start": "2022-08-03 11:25:29.135660" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set peerlsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerlsr27", "up" ], "delta": "0:00:00.003538", "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:25:29.383266", "item": "ip link set peerlsr27 up", "rc": 0, "start": "2022-08-03 11:25:29.379728" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set lsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "lsr27", "up" ], "delta": "0:00:00.003448", "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:25:29.621291", "item": "ip link set lsr27 up", "rc": 0, "start": "2022-08-03 11:25:29.617843" } 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:25:30 +0000 (0:00:00.768) 0:00:06.908 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli d set lsr27 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface lsr27] ********************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:25:30 +0000 (0:00:00.282) 0:00:07.190 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr27] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:25:30 +0000 (0:00:00.037) 0:00:07.228 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr27] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:25:30 +0000 (0:00:00.035) 0:00:07.264 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr27] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:25:30 +0000 (0:00:00.035) 0:00:07.300 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr27] ********************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:25:30 +0000 (0:00:00.035) 0:00:07.335 ****** 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_ethernet.yml:27 Wednesday 03 August 2022 15:25:30 +0000 (0:00:00.032) 0:00:07.367 ****** 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:25:30 +0000 (0:00:00.044) 0:00:07.412 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:25:30 +0000 (0:00:00.041) 0:00:07.453 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540329.255, "block_size": 4096, "blocks": 0, "ctime": 1659540329.243, "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/lsr27", "lnk_target": "../../devices/virtual/net/lsr27", "mode": "0777", "mtime": 1659540329.243, "nlink": 1, "path": "/sys/class/net/lsr27", "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 lsr27 is present] ********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:25:31 +0000 (0:00:00.308) 0:00:07.762 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Test static interface up] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:29 Wednesday 03 August 2022 15:25:31 +0000 (0:00:00.088) 0:00:07.851 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers 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:25:32 +0000 (0:00:00.748) 0:00:08.600 ****** 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:25:32 +0000 (0:00:00.077) 0:00:08.677 ****** 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:25:32 +0000 (0:00:00.378) 0:00:09.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:25:34 +0000 (0:00:01.506) 0:00:10.562 ****** 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:25:34 +0000 (0:00:00.853) 0:00:11.415 ****** 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:25:34 +0000 (0:00:00.051) 0:00:11.467 ****** 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:25:34 +0000 (0:00:00.043) 0:00:11.510 ****** 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:25:35 +0000 (0:00:00.041) 0:00:11.551 ****** 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:25:35 +0000 (0:00:00.063) 0:00:11.614 ****** 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:25:35 +0000 (0:00:00.042) 0:00:11.657 ****** 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:25:35 +0000 (0:00:00.067) 0:00:11.724 ****** 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:25:35 +0000 (0:00:00.045) 0:00:11.770 ****** 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:25:35 +0000 (0:00:00.041) 0:00:11.812 ****** 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:25:35 +0000 (0:00:00.039) 0:00:11.851 ****** 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:25:35 +0000 (0:00:00.477) 0:00:12.328 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-315440huzswteo/tmpcjn1t083" } 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:25:36 +0000 (0:00:00.302) 0:00:12.631 ****** changed: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27' [004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified) [005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='Determining if ip address 192.0.2.1 is already in use for device lsr27... ', 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:25:40 +0000 (0:00:04.677) 0:00:17.308 ****** 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:25:40 +0000 (0:00:00.106) 0:00:17.414 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='Determining if ip address 192.0.2.1 is already in use for device lsr27...", "', 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:25:40 +0000 (0:00:00.054) 0:00:17.468 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "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, 'lsr27': add ifcfg-rh profile 'lsr27'\n[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)\n[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='Determining if ip address 192.0.2.1 is already in use for device lsr27...\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='Determining if ip address 192.0.2.1 is already in use for device lsr27...", "', 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:25:41 +0000 (0:00:00.053) 0:00:17.522 ****** 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:25:41 +0000 (0:00:00.042) 0:00:17.564 ****** 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_ethernet.yml:43 Wednesday 03 August 2022 15:25:41 +0000 (0:00:00.402) 0:00:17.966 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_output_in_stderr_without_warnings.yml for /cache/rhel-6.qcow2.snap TASK [Assert that warnings is empty] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:3 Wednesday 03 August 2022 15:25:41 +0000 (0:00:00.057) 0:00:18.024 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that there is output in stderr] *********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:8 Wednesday 03 August 2022 15:25:41 +0000 (0:00:00.051) 0:00:18.076 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:45 Wednesday 03 August 2022 15:25:41 +0000 (0:00:00.086) 0:00:18.162 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [Show network_provider] *************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:47 Wednesday 03 August 2022 15:25:42 +0000 (0:00:00.740) 0:00:18.902 ****** ok: [/cache/rhel-6.qcow2.snap] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/down_profile.yml:3 Wednesday 03 August 2022 15:25:42 +0000 (0:00:00.157) 0:00:19.059 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers 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:25:43 +0000 (0:00:00.723) 0:00:19.783 ****** 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:25:43 +0000 (0:00:00.064) 0:00:19.847 ****** 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:25:43 +0000 (0:00:00.379) 0:00:20.227 ****** 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:25:45 +0000 (0:00:01.351) 0:00:21.579 ****** 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:25:45 +0000 (0:00:00.596) 0:00:22.175 ****** 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:25:45 +0000 (0:00:00.057) 0:00:22.233 ****** 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:25:45 +0000 (0:00:00.045) 0:00:22.278 ****** 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:25:45 +0000 (0:00:00.048) 0:00:22.326 ****** 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:25:45 +0000 (0:00:00.064) 0:00:22.391 ****** 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:25:45 +0000 (0:00:00.047) 0:00:22.438 ****** 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:25:45 +0000 (0:00:00.045) 0:00:22.484 ****** 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:25:46 +0000 (0:00:00.048) 0:00:22.533 ****** 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:25:46 +0000 (0:00:00.044) 0:00:22.577 ****** 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:25:46 +0000 (0:00:00.044) 0:00:22.621 ****** 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:25:46 +0000 (0:00:00.355) 0:00:22.977 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-315440huzswteo/tmpyb39s3zl" } 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:25:46 +0000 (0:00:00.307) 0:00:23.285 ****** changed: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active) [003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='', 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:25:47 +0000 (0:00:00.536) 0:00:23.822 ****** 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:25:47 +0000 (0:00:00.045) 0:00:23.867 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='', 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:25:47 +0000 (0:00:00.054) 0:00:23.922 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "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": "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)\n[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='', 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:25:47 +0000 (0:00:00.055) 0:00:23.977 ****** 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:25:47 +0000 (0:00:00.046) 0:00:24.023 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 15:25:47 +0000 (0:00:00.350) 0:00:24.374 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 15:25:48 +0000 (0:00:00.762) 0:00:25.136 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/delete_interface.yml for /cache/rhel-6.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 15:25:48 +0000 (0:00:00.060) 0:00:25.197 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr27" ], "delta": "0:00:00.042503", "end": "2022-08-03 11:25:48.269721", "rc": 0, "start": "2022-08-03 11:25:48.227218" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 15:25:49 +0000 (0:00:00.411) 0:00:25.609 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers 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:25:49 +0000 (0:00:00.739) 0:00:26.349 ****** 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:25:49 +0000 (0:00:00.061) 0:00:26.410 ****** 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:25:50 +0000 (0:00:00.390) 0:00:26.801 ****** 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:25:51 +0000 (0:00:01.460) 0:00:28.262 ****** 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:25:52 +0000 (0:00:00.591) 0:00:28.854 ****** 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:25:52 +0000 (0:00:00.052) 0:00:28.906 ****** 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:25:52 +0000 (0:00:00.046) 0:00:28.953 ****** 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:25:52 +0000 (0:00:00.045) 0:00:28.999 ****** 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:25:52 +0000 (0:00:00.068) 0:00:29.067 ****** 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:25:52 +0000 (0:00:00.045) 0:00:29.113 ****** 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:25:52 +0000 (0:00:00.046) 0:00:29.160 ****** 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:25:52 +0000 (0:00:00.048) 0:00:29.208 ****** 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:25:52 +0000 (0:00:00.045) 0:00:29.254 ****** 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:25:52 +0000 (0:00:00.042) 0:00:29.296 ****** 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:25:53 +0000 (0:00:00.372) 0:00:29.669 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-315440huzswteo/tmpb5cuqr2o" } 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:25:53 +0000 (0:00:00.301) 0:00:29.971 ****** changed: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27' 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:25:53 +0000 (0:00:00.407) 0:00:30.379 ****** 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:25:53 +0000 (0:00:00.043) 0:00:30.422 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'" ] } 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:25:53 +0000 (0:00:00.057) 0:00:30.480 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "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": "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'" ] } } 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:25:54 +0000 (0:00:00.050) 0:00:30.531 ****** 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:25:54 +0000 (0:00:00.050) 0:00:30.582 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:60 Wednesday 03 August 2022 15:25:54 +0000 (0:00:00.339) 0:00:30.922 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:63 Wednesday 03 August 2022 15:25:55 +0000 (0:00:00.748) 0:00:31.670 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 15:25:55 +0000 (0:00:00.058) 0:00:31.729 ****** 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:25:55 +0000 (0:00:00.064) 0:00:31.793 ****** 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:25:55 +0000 (0:00:00.055) 0:00:31.848 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "exists": 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:25:55 +0000 (0:00:00.307) 0:00:32.156 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was 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:25:55 +0000 (0:00:00.043) 0:00:32.200 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr27 | grep /etc", "delta": "0:00:00.005501", "end": "2022-08-03 11:25:55.202675", "rc": 1, "start": "2022-08-03 11:25:55.197174" } 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:25:55 +0000 (0:00:00.299) 0:00:32.499 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr27] ************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:25:56 +0000 (0:00:00.047) 0:00:32.546 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr27] *********************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:25:56 +0000 (0:00:00.044) 0:00:32.591 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'lsr27' is absent] *********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 15:25:56 +0000 (0:00:00.045) 0:00:32.636 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:66 Wednesday 03 August 2022 15:25:56 +0000 (0:00:00.055) 0:00:32.692 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 15:25:56 +0000 (0:00:00.062) 0:00:32.754 ****** included: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:25:56 +0000 (0:00:00.067) 0:00:32.822 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface lsr27 is absent] *********************************** task path: /tmp/tmptjr_ga81/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 15:25:56 +0000 (0:00:00.329) 0:00:33.151 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=86 changed=5 unreachable=0 failed=0 skipped=45 rescued=0 ignored=2 Wednesday 03 August 2022 15:25:56 +0000 (0:00:00.074) 0:00:33.226 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 4.68s /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.51s /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.46s /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.35s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmptjr_ga81/tests/network/tests_ethernet_initscripts.yml:4 --------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface lsr27 --------------------------------------------- 0.77s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmptjr_ga81/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:29 ---------------- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:60 ---------------- Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:45 ---------------- Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmptjr_ga81/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmptjr_ga81/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.70s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.69s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:12 ---------------- Install iproute --------------------------------------------------------- 0.67s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Enable EPEL 6 ----------------------------------------------------------- 0.63s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 ----------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.60s /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.59s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.54s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 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:25:56 +0000 (0:00:00.036) 0:00:33.263 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005772", "end": "2022-08-03 11:25:56.258385", "rc": 0, "start": "2022-08-03 11:25:56.252613" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=87 changed=6 unreachable=0 failed=0 skipped=45 rescued=0 ignored=2 Wednesday 03 August 2022 15:25:57 +0000 (0:00:00.306) 0:00:33.569 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 4.68s /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.51s /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.46s /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.35s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmptjr_ga81/tests/network/tests_ethernet_initscripts.yml:4 --------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface lsr27 --------------------------------------------- 0.77s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmptjr_ga81/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:29 ---------------- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:60 ---------------- Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:45 ---------------- Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmptjr_ga81/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmptjr_ga81/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.70s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.69s /tmp/tmptjr_ga81/tests/network/playbooks/tests_ethernet.yml:12 ---------------- Install iproute --------------------------------------------------------- 0.67s /tmp/tmptjr_ga81/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Enable EPEL 6 ----------------------------------------------------------- 0.63s /tmp/tmptjr_ga81/tests/network/tasks/enable_epel.yml:26 ----------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.60s /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.59s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.54s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106