ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpb95mhbnh executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp2w2t0usz/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp2w2t0usz/tests/_backup.yml:6 Wednesday 03 August 2022 16:49:41 +0000 (0:00:00.020) 0:00:00.020 ****** ok: [/cache/centos-6.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659545379.4899487, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545379.4899945, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545178.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "1928925575", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. TASK [Check if system files exist] ********************************************* task path: /tmp/tmp2w2t0usz/tests/_backup.yml:13 Wednesday 03 August 2022 16:49:41 +0000 (0:00:00.503) 0:00:00.524 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-6.qcow2c.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659545178.0, 'block_size': 4096, 'inode': 25, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '1928925575', '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': 1659545379.4899487, 'isdir': False, 'ctime': 1659545379.4899945, '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": 1659545379.4899487, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545379.4899945, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545178.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "1928925575", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp2w2t0usz/tests/_backup.yml:19 Wednesday 03 August 2022 16:49:41 +0000 (0:00:00.037) 0:00:00.562 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004660", "end": "2022-08-03 16:49:41.079333", "rc": 0, "start": "2022-08-03 16:49:41.074673" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:49:42 +0000 (0:00:00.412) 0:00:00.975 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.50s /tmp/tmp2w2t0usz/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.41s /tmp/tmp2w2t0usz/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp2w2t0usz/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_ethernet_initscripts.yml *************************************** 9 plays in /tmp/tmp2w2t0usz/tests/tests_ethernet_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethernet.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/tests_ethernet_initscripts.yml:4 Wednesday 03 August 2022 16:49:42 +0000 (0:00:00.043) 0:00:01.018 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tests_ethernet_initscripts.yml:7 Wednesday 03 August 2022 16:49:43 +0000 (0:00:00.952) 0:00:01.971 ****** included: /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml for /cache/centos-6.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:49:43 +0000 (0:00:00.030) 0:00:02.001 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "checksum": "b0aa488e4736bbd208461d247c4869d2ba0c95cd", "dest": "/etc/yum.repos.d/CentOS-Base.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/CentOS-Base.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 480, "state": "file", "uid": 0 } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:49:43 +0000 (0:00:00.652) 0:00:02.654 ****** included: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml for /cache/centos-6.qcow2c.snap TASK [Create EPEL 6] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:49:43 +0000 (0:00:00.032) 0:00:02.686 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:49:43 +0000 (0:00:00.023) 0:00:02.710 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:49:44 +0000 (0:00:00.024) 0:00:02.734 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:49:44 +0000 (0:00:00.021) 0:00:02.756 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp2w2t0usz/tests/tests_ethernet_initscripts.yml:8 Wednesday 03 August 2022 16:49:44 +0000 (0:00:00.537) 0:00:03.293 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:3 Wednesday 03 August 2022 16:49:44 +0000 (0:00:00.047) 0:00:03.341 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Show inside ethernet tests] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:5 Wednesday 03 August 2022 16:49:45 +0000 (0:00:00.738) 0:00:04.080 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Inside ethernet tests TASK [Show network_provider] *************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:8 Wednesday 03 August 2022 16:49:45 +0000 (0:00:00.048) 0:00:04.128 ****** ok: [/cache/centos-6.qcow2c.snap] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:12 Wednesday 03 August 2022 16:49:45 +0000 (0:00:00.096) 0:00:04.225 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [set type=veth and interface=lsr27] *************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:19 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.739) 0:00:04.964 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "interface": "lsr27", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:23 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.076) 0:00:05.041 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.045) 0:00:05.086 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.047) 0:00:05.133 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004671", "end": "2022-08-03 16:49:45.570839", "rc": 0, "start": "2022-08-03 16:49:45.566168" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.333) 0:00:05.467 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.046) 0:00:05.513 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:24 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.045) 0:00:05.559 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.051) 0:00:05.610 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.038) 0:00:05.648 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:49:46 +0000 (0:00:00.039) 0:00:05.688 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:49:47 +0000 (0:00:00.051) 0:00:05.739 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:49:47 +0000 (0:00:00.046) 0:00:05.786 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003907", "end": "2022-08-03 16:49:46.187919", "rc": 0, "start": "2022-08-03 16:49:46.184012" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:49:47 +0000 (0:00:00.295) 0:00:06.081 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:49:47 +0000 (0:00:00.047) 0:00:06.129 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:49:47 +0000 (0:00:00.047) 0:00:06.176 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface lsr27] ********************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:49:48 +0000 (0:00:00.693) 0:00:06.870 ****** changed: [/cache/centos-6.qcow2c.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.005070", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:49:47.285240", "item": "ip link add lsr27 type veth peer name peerlsr27", "rc": 0, "start": "2022-08-03 16:49:47.280170" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set peerlsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerlsr27", "up" ], "delta": "0:00:00.005807", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:49:47.548194", "item": "ip link set peerlsr27 up", "rc": 0, "start": "2022-08-03 16:49:47.542387" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set lsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "lsr27", "up" ], "delta": "0:00:00.004100", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:49:47.811812", "item": "ip link set lsr27 up", "rc": 0, "start": "2022-08-03 16:49:47.807712" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:49:48 +0000 (0:00:00.838) 0:00:07.708 ****** fatal: [/cache/centos-6.qcow2c.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/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:49:49 +0000 (0:00:00.304) 0:00:08.012 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr27] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:49:49 +0000 (0:00:00.037) 0:00:08.050 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr27] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:49:49 +0000 (0:00:00.036) 0:00:08.087 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr27] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:49:49 +0000 (0:00:00.035) 0:00:08.123 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr27] ********************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:49:49 +0000 (0:00:00.040) 0:00:08.163 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:27 Wednesday 03 August 2022 16:49:49 +0000 (0:00:00.034) 0:00:08.198 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:49:49 +0000 (0:00:00.049) 0:00:08.248 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-6.qcow2c.snap TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:49:49 +0000 (0:00:00.046) 0:00:08.294 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545387.395, "block_size": 4096, "blocks": 0, "ctime": 1659545387.385, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7950, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr27", "lnk_target": "../../devices/virtual/net/lsr27", "mode": "0777", "mtime": 1659545387.385, "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/tmp2w2t0usz/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:49:49 +0000 (0:00:00.312) 0:00:08.607 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Test static interface up] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:29 Wednesday 03 August 2022 16:49:49 +0000 (0:00:00.073) 0:00:08.681 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:49:50 +0000 (0:00:00.786) 0:00:09.467 ****** included: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:49:50 +0000 (0:00:00.048) 0:00:09.516 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:49:51 +0000 (0:00:00.418) 0:00:09.934 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:49:52 +0000 (0:00:01.141) 0:00:11.076 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.838) 0:00:11.915 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.055) 0:00:11.970 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.043) 0:00:12.013 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.047) 0:00:12.061 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.066) 0:00:12.127 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.046) 0:00:12.174 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.096) 0:00:12.270 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.046) 0:00:12.317 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.047) 0:00:12.364 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:49:53 +0000 (0:00:00.043) 0:00:12.407 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:49:54 +0000 (0:00:00.518) 0:00:12.926 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-136235g5x5c2ec/tmp6_48in8c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:49:54 +0000 (0:00:00.328) 0:00:13.255 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:49:59 +0000 (0:00:04.686) 0:00:17.942 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:49:59 +0000 (0:00:00.047) 0:00:17.989 ****** ok: [/cache/centos-6.qcow2c.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:49:59 +0000 (0:00:00.054) 0:00:18.044 ****** ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:49:59 +0000 (0:00:00.134) 0:00:18.178 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:49:59 +0000 (0:00:00.043) 0:00:18.222 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:43 Wednesday 03 August 2022 16:49:59 +0000 (0:00:00.424) 0:00:18.647 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml for /cache/centos-6.qcow2c.snap TASK [Assert that warnings is empty] ******************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:3 Wednesday 03 August 2022 16:49:59 +0000 (0:00:00.060) 0:00:18.708 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that there is output in stderr] *********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:8 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.053) 0:00:18.761 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:45 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.089) 0:00:18.851 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Show network_provider] *************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:47 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.760) 0:00:19.611 ****** ok: [/cache/centos-6.qcow2c.snap] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/down_profile.yml:3 Wednesday 03 August 2022 16:50:00 +0000 (0:00:00.089) 0:00:19.701 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:50:01 +0000 (0:00:00.775) 0:00:20.476 ****** included: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:50:01 +0000 (0:00:00.069) 0:00:20.546 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:50:02 +0000 (0:00:00.418) 0:00:20.964 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:50:03 +0000 (0:00:01.009) 0:00:21.974 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:50:03 +0000 (0:00:00.571) 0:00:22.545 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:50:03 +0000 (0:00:00.131) 0:00:22.677 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.045) 0:00:22.722 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.045) 0:00:22.767 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.070) 0:00:22.838 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.046) 0:00:22.885 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.048) 0:00:22.934 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.049) 0:00:22.983 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.047) 0:00:23.030 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.052) 0:00:23.082 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:50:04 +0000 (0:00:00.362) 0:00:23.445 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-136235g5x5c2ec/tmpe0yv2ksw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:50:05 +0000 (0:00:00.320) 0:00:23.765 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:50:05 +0000 (0:00:00.482) 0:00:24.248 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:50:05 +0000 (0:00:00.046) 0:00:24.294 ****** ok: [/cache/centos-6.qcow2c.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:50:05 +0000 (0:00:00.054) 0:00:24.348 ****** ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:50:05 +0000 (0:00:00.051) 0:00:24.400 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:50:05 +0000 (0:00:00.051) 0:00:24.452 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 16:50:06 +0000 (0:00:00.374) 0:00:24.827 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 16:50:06 +0000 (0:00:00.764) 0:00:25.591 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/delete_interface.yml for /cache/centos-6.qcow2c.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 16:50:06 +0000 (0:00:00.060) 0:00:25.652 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr27" ], "delta": "0:00:00.039897", "end": "2022-08-03 16:50:06.106476", "rc": 0, "start": "2022-08-03 16:50:06.066579" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 16:50:07 +0000 (0:00:00.405) 0:00:26.058 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:50:08 +0000 (0:00:00.747) 0:00:26.805 ****** included: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:50:08 +0000 (0:00:00.091) 0:00:26.897 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:50:08 +0000 (0:00:00.400) 0:00:27.298 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:50:09 +0000 (0:00:01.077) 0:00:28.375 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:50:10 +0000 (0:00:00.773) 0:00:29.149 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:50:10 +0000 (0:00:00.052) 0:00:29.201 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:50:10 +0000 (0:00:00.042) 0:00:29.244 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:50:10 +0000 (0:00:00.042) 0:00:29.287 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:50:10 +0000 (0:00:00.121) 0:00:29.408 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:50:10 +0000 (0:00:00.044) 0:00:29.453 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:50:10 +0000 (0:00:00.045) 0:00:29.499 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:50:10 +0000 (0:00:00.047) 0:00:29.547 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:50:10 +0000 (0:00:00.045) 0:00:29.592 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:50:10 +0000 (0:00:00.043) 0:00:29.636 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:50:11 +0000 (0:00:00.362) 0:00:29.999 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-136235g5x5c2ec/tmpz9co8bqa" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:50:11 +0000 (0:00:00.316) 0:00:30.315 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-6.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:50:12 +0000 (0:00:00.435) 0:00:30.751 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:50:12 +0000 (0:00:00.045) 0:00:30.797 ****** ok: [/cache/centos-6.qcow2c.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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:50:12 +0000 (0:00:00.054) 0:00:30.851 ****** ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:50:12 +0000 (0:00:00.051) 0:00:30.903 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:50:12 +0000 (0:00:00.045) 0:00:30.949 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:60 Wednesday 03 August 2022 16:50:12 +0000 (0:00:00.367) 0:00:31.316 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:63 Wednesday 03 August 2022 16:50:13 +0000 (0:00:00.745) 0:00:32.061 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_profile_absent.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 16:50:13 +0000 (0:00:00.060) 0:00:32.122 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-6.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:50:13 +0000 (0:00:00.059) 0:00:32.181 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:50:13 +0000 (0:00:00.048) 0:00:32.230 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:50:13 +0000 (0:00:00.299) 0:00:32.530 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:50:13 +0000 (0:00:00.044) 0:00:32.575 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr27 | grep /etc", "delta": "0:00:00.005014", "end": "2022-08-03 16:50:12.984040", "rc": 1, "start": "2022-08-03 16:50:12.979026" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:50:14 +0000 (0:00:00.309) 0:00:32.884 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr27] ************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:50:14 +0000 (0:00:00.044) 0:00:32.929 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr27] *********************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:50:14 +0000 (0:00:00.043) 0:00:32.972 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'lsr27' is absent] *********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 16:50:14 +0000 (0:00:00.042) 0:00:33.015 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:66 Wednesday 03 August 2022 16:50:14 +0000 (0:00:00.062) 0:00:33.078 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:50:14 +0000 (0:00:00.091) 0:00:33.169 ****** included: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-6.qcow2c.snap TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:50:14 +0000 (0:00:00.063) 0:00:33.232 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface lsr27 is absent] *********************************** task path: /tmp/tmp2w2t0usz/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:50:14 +0000 (0:00:00.304) 0:00:33.537 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=87 changed=5 unreachable=0 failed=0 skipped=44 rescued=0 ignored=2 Wednesday 03 August 2022 16:50:14 +0000 (0:00:00.072) 0:00:33.610 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.69s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.14s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.08s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.01s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmp2w2t0usz/tests/tests_ethernet_initscripts.yml:4 ----------------------- linux-system-roles.network : Check which packages are installed --------- 0.84s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface lsr27 --------------------------------------------- 0.84s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:29 ------------------------ Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmp2w2t0usz/tests/playbooks/down_profile.yml:3 --------------------------- linux-system-roles.network : Check which packages are installed --------- 0.77s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmp2w2t0usz/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:45 ------------------------ Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmp2w2t0usz/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:60 ------------------------ Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:12 ------------------------ Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:3 ------------------------- Install iproute --------------------------------------------------------- 0.69s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Fix CentOS6 Base repo --------------------------------------------------- 0.65s /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:2 ------------------------------ linux-system-roles.network : Check which packages are installed --------- 0.57s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Enable EPEL 6 ----------------------------------------------------------- 0.54s /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:26 ------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp2w2t0usz/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp2w2t0usz/tests/_restore.yml:4 Wednesday 03 August 2022 16:50:14 +0000 (0:00:00.044) 0:00:33.654 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007971", "end": "2022-08-03 16:50:14.046838", "rc": 0, "start": "2022-08-03 16:50:14.038867" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=88 changed=6 unreachable=0 failed=0 skipped=44 rescued=0 ignored=2 Wednesday 03 August 2022 16:50:15 +0000 (0:00:00.310) 0:00:33.964 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.69s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.14s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.08s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.01s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmp2w2t0usz/tests/tests_ethernet_initscripts.yml:4 ----------------------- linux-system-roles.network : Check which packages are installed --------- 0.84s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface lsr27 --------------------------------------------- 0.84s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:29 ------------------------ Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmp2w2t0usz/tests/playbooks/down_profile.yml:3 --------------------------- linux-system-roles.network : Check which packages are installed --------- 0.77s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmp2w2t0usz/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:45 ------------------------ Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmp2w2t0usz/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:60 ------------------------ Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:12 ------------------------ Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmp2w2t0usz/tests/playbooks/tests_ethernet.yml:3 ------------------------- Install iproute --------------------------------------------------------- 0.69s /tmp/tmp2w2t0usz/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Fix CentOS6 Base repo --------------------------------------------------- 0.65s /tmp/tmp2w2t0usz/tests/tasks/el_repo_setup.yml:2 ------------------------------ linux-system-roles.network : Check which packages are installed --------- 0.57s /tmp/tmp2w2t0usz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Enable EPEL 6 ----------------------------------------------------------- 0.54s /tmp/tmp2w2t0usz/tests/tasks/enable_epel.yml:26 ------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpb95mhbnh executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpa_fzm6o2/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:59:11 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/centos-6.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659545949.6844134, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545949.685, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545746.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744073481210694", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. TASK [Check if system files exist] ********************************************* task path: /tmp/tmpa_fzm6o2/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:59:11 +0000 (0:00:00.479) 0:00:00.497 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-6.qcow2c.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659545746.0, 'block_size': 4096, 'inode': 25, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744073481210694', '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': 1659545949.6844134, 'isdir': False, 'ctime': 1659545949.685, '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": 1659545949.6844134, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659545949.685, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545746.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744073481210694", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:59:11 +0000 (0:00:00.035) 0:00:00.532 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005238", "end": "2022-08-03 16:59:11.215587", "rc": 0, "start": "2022-08-03 16:59:11.210349" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.418) 0:00:00.951 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.48s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.42s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpa_fzm6o2/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_ethernet_initscripts.yml *************************************** 9 plays in /tmp/tmpa_fzm6o2/tests/network/tests_ethernet_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethernet.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/tests_ethernet_initscripts.yml:4 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.058) 0:00:01.010 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tests_ethernet_initscripts.yml:7 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.963) 0:00:01.973 ****** included: /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml for /cache/centos-6.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.029) 0:00:02.003 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "checksum": "b0aa488e4736bbd208461d247c4869d2ba0c95cd", "dest": "/etc/yum.repos.d/CentOS-Base.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/CentOS-Base.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 480, "state": "file", "uid": 0 } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.663) 0:00:02.666 ****** included: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml for /cache/centos-6.qcow2c.snap TASK [Create EPEL 6] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.031) 0:00:02.698 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.021) 0:00:02.720 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.021) 0:00:02.741 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.022) 0:00:02.764 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/tests_ethernet_initscripts.yml:8 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.526) 0:00:03.290 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:3 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.051) 0:00:03.342 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Show inside ethernet tests] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:5 Wednesday 03 August 2022 16:59:15 +0000 (0:00:00.715) 0:00:04.058 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Inside ethernet tests TASK [Show network_provider] *************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:8 Wednesday 03 August 2022 16:59:15 +0000 (0:00:00.081) 0:00:04.139 ****** ok: [/cache/centos-6.qcow2c.snap] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:12 Wednesday 03 August 2022 16:59:15 +0000 (0:00:00.077) 0:00:04.216 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [set type=veth and interface=lsr27] *************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:19 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.728) 0:00:04.945 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "interface": "lsr27", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:23 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.081) 0:00:05.027 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.046) 0:00:05.073 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.047) 0:00:05.121 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004911", "end": "2022-08-03 16:59:15.746875", "rc": 0, "start": "2022-08-03 16:59:15.741964" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.357) 0:00:05.479 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.046) 0:00:05.526 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:24 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.046) 0:00:05.572 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-6.qcow2c.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:59:17 +0000 (0:00:00.053) 0:00:05.626 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:59:17 +0000 (0:00:00.034) 0:00:05.661 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:59:17 +0000 (0:00:00.035) 0:00:05.697 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:59:17 +0000 (0:00:00.044) 0:00:05.741 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-6.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:59:17 +0000 (0:00:00.043) 0:00:05.785 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004019", "end": "2022-08-03 16:59:16.352296", "rc": 0, "start": "2022-08-03 16:59:16.348277" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:59:17 +0000 (0:00:00.298) 0:00:06.083 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:59:17 +0000 (0:00:00.046) 0:00:06.129 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:59:17 +0000 (0:00:00.044) 0:00:06.174 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface lsr27] ********************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:59:18 +0000 (0:00:00.654) 0:00:06.829 ****** changed: [/cache/centos-6.qcow2c.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.004381", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:59:17.399985", "item": "ip link add lsr27 type veth peer name peerlsr27", "rc": 0, "start": "2022-08-03 16:59:17.395604" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set peerlsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerlsr27", "up" ], "delta": "0:00:00.006440", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:59:17.672714", "item": "ip link set peerlsr27 up", "rc": 0, "start": "2022-08-03 16:59:17.666274" } changed: [/cache/centos-6.qcow2c.snap] => (item=ip link set lsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "lsr27", "up" ], "delta": "0:00:00.005324", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-08-03 16:59:17.943622", "item": "ip link set lsr27 up", "rc": 0, "start": "2022-08-03 16:59:17.938298" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 16:59:19 +0000 (0:00:00.847) 0:00:07.676 ****** fatal: [/cache/centos-6.qcow2c.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/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 16:59:19 +0000 (0:00:00.305) 0:00:07.981 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr27] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 16:59:19 +0000 (0:00:00.038) 0:00:08.020 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr27] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 16:59:19 +0000 (0:00:00.039) 0:00:08.059 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr27] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 16:59:19 +0000 (0:00:00.037) 0:00:08.097 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr27] ********************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:59:19 +0000 (0:00:00.037) 0:00:08.134 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:27 Wednesday 03 August 2022 16:59:19 +0000 (0:00:00.034) 0:00:08.168 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:59:19 +0000 (0:00:00.048) 0:00:08.217 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-6.qcow2c.snap TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:59:19 +0000 (0:00:00.046) 0:00:08.264 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659545957.51, "block_size": 4096, "blocks": 0, "ctime": 1659545957.5, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7950, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr27", "lnk_target": "../../devices/virtual/net/lsr27", "mode": "0777", "mtime": 1659545957.5, "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/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:59:19 +0000 (0:00:00.300) 0:00:08.564 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Test static interface up] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:29 Wednesday 03 August 2022 16:59:20 +0000 (0:00:00.071) 0:00:08.636 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:59:20 +0000 (0:00:00.770) 0:00:09.406 ****** included: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:59:20 +0000 (0:00:00.051) 0:00:09.458 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:59:21 +0000 (0:00:00.417) 0:00:09.876 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:59:22 +0000 (0:00:01.144) 0:00:11.021 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.809) 0:00:11.830 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.054) 0:00:11.885 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.045) 0:00:11.931 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.043) 0:00:11.975 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.070) 0:00:12.045 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.047) 0:00:12.092 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.046) 0:00:12.139 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.048) 0:00:12.187 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.046) 0:00:12.233 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.072) 0:00:12.306 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:59:24 +0000 (0:00:00.478) 0:00:12.784 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1566215viee_hw/tmpk_yrjkfw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:59:24 +0000 (0:00:00.323) 0:00:13.108 ****** changed: [/cache/centos-6.qcow2c.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:59:29 +0000 (0:00:04.678) 0:00:17.786 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:59:29 +0000 (0:00:00.047) 0:00:17.833 ****** ok: [/cache/centos-6.qcow2c.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:59:29 +0000 (0:00:00.055) 0:00:17.889 ****** ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:59:29 +0000 (0:00:00.054) 0:00:17.943 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:59:29 +0000 (0:00:00.042) 0:00:17.986 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:43 Wednesday 03 August 2022 16:59:29 +0000 (0:00:00.440) 0:00:18.427 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_output_in_stderr_without_warnings.yml for /cache/centos-6.qcow2c.snap TASK [Assert that warnings is empty] ******************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:3 Wednesday 03 August 2022 16:59:29 +0000 (0:00:00.116) 0:00:18.543 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that there is output in stderr] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:8 Wednesday 03 August 2022 16:59:30 +0000 (0:00:00.055) 0:00:18.599 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:45 Wednesday 03 August 2022 16:59:30 +0000 (0:00:00.089) 0:00:18.688 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Show network_provider] *************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:47 Wednesday 03 August 2022 16:59:30 +0000 (0:00:00.773) 0:00:19.462 ****** ok: [/cache/centos-6.qcow2c.snap] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/down_profile.yml:3 Wednesday 03 August 2022 16:59:30 +0000 (0:00:00.089) 0:00:19.552 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:59:31 +0000 (0:00:00.806) 0:00:20.358 ****** included: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:59:31 +0000 (0:00:00.116) 0:00:20.475 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:59:32 +0000 (0:00:00.451) 0:00:20.926 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:59:33 +0000 (0:00:01.065) 0:00:21.991 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:59:33 +0000 (0:00:00.560) 0:00:22.552 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.055) 0:00:22.608 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.044) 0:00:22.653 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.044) 0:00:22.697 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.067) 0:00:22.765 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.045) 0:00:22.811 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.045) 0:00:22.856 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.101) 0:00:22.957 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.046) 0:00:23.004 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.046) 0:00:23.051 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:59:34 +0000 (0:00:00.372) 0:00:23.423 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1566215viee_hw/tmp55ryah_9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:59:35 +0000 (0:00:00.321) 0:00:23.745 ****** changed: [/cache/centos-6.qcow2c.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:59:35 +0000 (0:00:00.507) 0:00:24.253 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:59:35 +0000 (0:00:00.046) 0:00:24.299 ****** ok: [/cache/centos-6.qcow2c.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:59:35 +0000 (0:00:00.057) 0:00:24.357 ****** ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:59:35 +0000 (0:00:00.052) 0:00:24.409 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:59:35 +0000 (0:00:00.042) 0:00:24.451 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 16:59:36 +0000 (0:00:00.333) 0:00:24.785 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 16:59:36 +0000 (0:00:00.798) 0:00:25.583 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/delete_interface.yml for /cache/centos-6.qcow2c.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 16:59:37 +0000 (0:00:00.063) 0:00:25.647 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr27" ], "delta": "0:00:00.043895", "end": "2022-08-03 16:59:36.248485", "rc": 0, "start": "2022-08-03 16:59:36.204590" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 16:59:37 +0000 (0:00:00.383) 0:00:26.030 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:59:38 +0000 (0:00:00.771) 0:00:26.802 ****** included: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:59:38 +0000 (0:00:00.062) 0:00:26.864 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:59:38 +0000 (0:00:00.419) 0:00:27.284 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:59:39 +0000 (0:00:01.075) 0:00:28.359 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:59:40 +0000 (0:00:00.573) 0:00:28.933 ****** ok: [/cache/centos-6.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:59:40 +0000 (0:00:00.056) 0:00:28.990 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:59:40 +0000 (0:00:00.046) 0:00:29.037 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:59:40 +0000 (0:00:00.046) 0:00:29.083 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:59:40 +0000 (0:00:00.068) 0:00:29.151 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:59:40 +0000 (0:00:00.042) 0:00:29.194 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:59:40 +0000 (0:00:00.044) 0:00:29.238 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:59:40 +0000 (0:00:00.047) 0:00:29.285 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:59:40 +0000 (0:00:00.048) 0:00:29.333 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:59:40 +0000 (0:00:00.042) 0:00:29.376 ****** ok: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:59:41 +0000 (0:00:00.382) 0:00:29.759 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1566215viee_hw/tmp0kvsremk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:59:41 +0000 (0:00:00.317) 0:00:30.077 ****** changed: [/cache/centos-6.qcow2c.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:59:41 +0000 (0:00:00.416) 0:00:30.493 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:59:41 +0000 (0:00:00.049) 0:00:30.543 ****** ok: [/cache/centos-6.qcow2c.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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:59:42 +0000 (0:00:00.060) 0:00:30.603 ****** ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:59:42 +0000 (0:00:00.060) 0:00:30.664 ****** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:59:42 +0000 (0:00:00.044) 0:00:30.709 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-6.qcow2c.snap META: ran handlers META: ran handlers PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:60 Wednesday 03 August 2022 16:59:42 +0000 (0:00:00.344) 0:00:31.053 ****** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:63 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.758) 0:00:31.811 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.061) 0:00:31.872 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-6.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.061) 0:00:31.934 ****** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.053) 0:00:31.988 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.302) 0:00:32.291 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:59:43 +0000 (0:00:00.045) 0:00:32.336 ****** fatal: [/cache/centos-6.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr27 | grep /etc", "delta": "0:00:00.004817", "end": "2022-08-03 16:59:42.909395", "rc": 1, "start": "2022-08-03 16:59:42.904578" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.310) 0:00:32.647 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr27] ************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.044) 0:00:32.692 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr27] *********************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.047) 0:00:32.739 ****** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'lsr27' is absent] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.045) 0:00:32.785 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:66 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.057) 0:00:32.842 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-6.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.061) 0:00:32.904 ****** included: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-6.qcow2c.snap TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.059) 0:00:32.964 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface lsr27 is absent] *********************************** task path: /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.302) 0:00:33.266 ****** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=87 changed=5 unreachable=0 failed=0 skipped=44 rescued=0 ignored=2 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.071) 0:00:33.338 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 4.68s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.14s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.08s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmpa_fzm6o2/tests/network/tests_ethernet_initscripts.yml:4 --------------- Create veth interface lsr27 --------------------------------------------- 0.85s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpa_fzm6o2/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpa_fzm6o2/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:45 ---------------- Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmpa_fzm6o2/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:29 ---------------- Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:60 ---------------- Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:12 ---------------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:3 ----------------- Fix CentOS6 Base repo --------------------------------------------------- 0.66s /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:2 ---------------------- Install iproute --------------------------------------------------------- 0.65s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.57s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.56s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Enable EPEL 6 ----------------------------------------------------------- 0.53s /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:26 ----------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpa_fzm6o2/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpa_fzm6o2/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:59:44 +0000 (0:00:00.067) 0:00:33.406 ****** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007873", "end": "2022-08-03 16:59:43.966381", "rc": 0, "start": "2022-08-03 16:59:43.958508" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=88 changed=6 unreachable=0 failed=0 skipped=44 rescued=0 ignored=2 Wednesday 03 August 2022 16:59:45 +0000 (0:00:00.316) 0:00:33.722 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 4.68s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.14s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.08s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmpa_fzm6o2/tests/network/tests_ethernet_initscripts.yml:4 --------------- Create veth interface lsr27 --------------------------------------------- 0.85s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpa_fzm6o2/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpa_fzm6o2/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:45 ---------------- Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmpa_fzm6o2/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:29 ---------------- Gathering Facts --------------------------------------------------------- 0.76s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:60 ---------------- Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:12 ---------------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpa_fzm6o2/tests/network/playbooks/tests_ethernet.yml:3 ----------------- Fix CentOS6 Base repo --------------------------------------------------- 0.66s /tmp/tmpa_fzm6o2/tests/network/tasks/el_repo_setup.yml:2 ---------------------- Install iproute --------------------------------------------------------- 0.65s /tmp/tmpa_fzm6o2/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.57s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.56s /tmp/tmpb95mhbnh/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Enable EPEL 6 ----------------------------------------------------------- 0.53s /tmp/tmpa_fzm6o2/tests/network/tasks/enable_epel.yml:26 -----------------------