ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpk7x13fer executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpdb8ajfhr/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpdb8ajfhr/tests/_backup.yml:6 Wednesday 03 August 2022 15:15:30 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-6.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659539729.2568116, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659539729.2559924, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539613.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072843959776", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. TASK [Check if system files exist] ********************************************* task path: /tmp/tmpdb8ajfhr/tests/_backup.yml:13 Wednesday 03 August 2022 15:15:31 +0000 (0:00:00.442) 0:00:00.460 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-6.qcow2.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659539613.0, 'block_size': 4096, 'inode': 260120, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072843959776', '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': 1659539729.2568116, 'isdir': False, 'ctime': 1659539729.2559924, '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": 1659539729.2568116, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659539729.2559924, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539613.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072843959776", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpdb8ajfhr/tests/_backup.yml:19 Wednesday 03 August 2022 15:15:31 +0000 (0:00:00.035) 0:00:00.495 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003737", "end": "2022-08-03 11:15:30.689616", "rc": 0, "start": "2022-08-03 11:15:30.685879" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:15:31 +0000 (0:00:00.383) 0:00:00.878 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.44s /tmp/tmpdb8ajfhr/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.38s /tmp/tmpdb8ajfhr/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpdb8ajfhr/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_change_indication_on_repeat_run.yml **************************** 1 plays in /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml PLAY [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:4 Wednesday 03 August 2022 15:15:31 +0000 (0:00:00.014) 0:00:00.893 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:10 Wednesday 03 August 2022 15:15:32 +0000 (0:00:00.898) 0:00:01.791 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:15:32 +0000 (0:00:00.033) 0:00:01.824 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:15:32 +0000 (0:00:00.022) 0:00:01.847 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:15:32 +0000 (0:00:00.021) 0:00:01.868 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:15:32 +0000 (0:00:00.029) 0:00:01.897 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:15:32 +0000 (0:00:00.028) 0:00:01.926 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003332", "end": "2022-08-03 11:15:32.001847", "rc": 0, "start": "2022-08-03 11:15:31.998515" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:15:32 +0000 (0:00:00.262) 0:00:02.188 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:15:32 +0000 (0:00:00.031) 0:00:02.219 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:15:32 +0000 (0:00:00.030) 0:00:02.250 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:15:33 +0000 (0:00:00.631) 0:00:02.882 ****** changed: [/cache/rhel-6.qcow2.snap] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.003601", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:15:32.965347", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 11:15:32.961746" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003467", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:15:33.209911", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 11:15:33.206444" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.003416", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:15:33.445423", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 11:15:33.442007" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:15:34 +0000 (0:00:00.751) 0:00:03.634 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli d set testnic1 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:15:34 +0000 (0:00:00.266) 0:00:03.901 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:15:34 +0000 (0:00:00.022) 0:00:03.923 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:15:34 +0000 (0:00:00.020) 0:00:03.944 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:15:34 +0000 (0:00:00.020) 0:00:03.965 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:15:34 +0000 (0:00:00.020) 0:00:03.986 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:13 Wednesday 03 August 2022 15:15:34 +0000 (0:00:00.019) 0:00:04.005 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/assert_device_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:15:34 +0000 (0:00:00.029) 0:00:04.035 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:15:34 +0000 (0:00:00.037) 0:00:04.072 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659539732.98, "block_size": 4096, "blocks": 0, "ctime": 1659539732.967, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7730, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1659539732.967, "nlink": 1, "path": "/sys/class/net/testnic1", "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 testnic1 is present] ******************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:15:34 +0000 (0:00:00.294) 0:00:04.367 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:24 Wednesday 03 August 2022 15:15:34 +0000 (0:00:00.058) 0:00:04.425 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:15:35 +0000 (0:00:00.042) 0:00:04.468 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:15:35 +0000 (0:00:00.032) 0:00:04.501 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:15:35 +0000 (0:00:00.377) 0:00:04.878 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:15:36 +0000 (0:00:01.404) 0:00:06.283 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:15:37 +0000 (0:00:00.808) 0:00:07.092 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:15:37 +0000 (0:00:00.044) 0:00:07.136 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:15:37 +0000 (0:00:00.030) 0:00:07.166 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:15:37 +0000 (0:00:00.029) 0:00:07.196 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:15:37 +0000 (0:00:00.068) 0:00:07.264 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:15:37 +0000 (0:00:00.029) 0:00:07.294 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:15:37 +0000 (0:00:00.054) 0:00:07.349 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:15:37 +0000 (0:00:00.043) 0:00:07.392 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:15:38 +0000 (0:00:00.036) 0:00:07.429 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:15:38 +0000 (0:00:00.032) 0:00:07.462 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:15:38 +0000 (0:00:00.489) 0:00:07.952 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2938391l9b4zur/tmp_lckcl3t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:15:38 +0000 (0:00:00.287) 0:00:08.240 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='Determining if ip address 192.0.2.2 is already in use for device testnic1... ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:15:43 +0000 (0:00:04.661) 0:00:12.901 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:15:43 +0000 (0:00:00.033) 0:00:12.935 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='Determining if ip address 192.0.2.2 is already in use for device testnic1...", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:15:43 +0000 (0:00:00.038) 0:00:12.974 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='Determining if ip address 192.0.2.2 is already in use for device testnic1...\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='Determining if ip address 192.0.2.2 is already in use for device testnic1...", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:15:43 +0000 (0:00:00.039) 0:00:13.013 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:15:43 +0000 (0:00:00.030) 0:00:13.043 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Assert change:true] ****************************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:27 Wednesday 03 August 2022 15:15:44 +0000 (0:00:00.407) 0:00:13.451 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:30 Wednesday 03 August 2022 15:15:44 +0000 (0:00:00.044) 0:00:13.496 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:15:44 +0000 (0:00:00.050) 0:00:13.546 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:15:44 +0000 (0:00:00.043) 0:00:13.589 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:15:44 +0000 (0:00:00.374) 0:00:13.964 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:15:45 +0000 (0:00:01.316) 0:00:15.280 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:15:46 +0000 (0:00:00.577) 0:00:15.857 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:15:46 +0000 (0:00:00.044) 0:00:15.902 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:15:46 +0000 (0:00:00.031) 0:00:15.933 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:15:46 +0000 (0:00:00.031) 0:00:15.964 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:15:46 +0000 (0:00:00.068) 0:00:16.033 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:15:46 +0000 (0:00:00.031) 0:00:16.065 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:15:46 +0000 (0:00:00.031) 0:00:16.096 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:15:46 +0000 (0:00:00.045) 0:00:16.142 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:15:46 +0000 (0:00:00.037) 0:00:16.179 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:15:46 +0000 (0:00:00.033) 0:00:16.212 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:15:47 +0000 (0:00:00.350) 0:00:16.563 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2938391l9b4zur/tmp28hjxzmy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:15:47 +0000 (0:00:00.293) 0:00:16.856 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:15:47 +0000 (0:00:00.383) 0:00:17.239 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:15:47 +0000 (0:00:00.032) 0:00:17.271 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:15:47 +0000 (0:00:00.100) 0:00:17.372 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:15:47 +0000 (0:00:00.038) 0:00:17.410 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:15:48 +0000 (0:00:00.031) 0:00:17.442 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Assert change:false] ***************************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:33 Wednesday 03 August 2022 15:15:48 +0000 (0:00:00.284) 0:00:17.726 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:45 Wednesday 03 August 2022 15:15:48 +0000 (0:00:00.045) 0:00:17.772 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:15:48 +0000 (0:00:00.043) 0:00:17.815 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:15:48 +0000 (0:00:00.044) 0:00:17.860 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:15:48 +0000 (0:00:00.372) 0:00:18.233 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:15:50 +0000 (0:00:01.304) 0:00:19.537 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:15:50 +0000 (0:00:00.563) 0:00:20.100 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:15:50 +0000 (0:00:00.048) 0:00:20.149 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:15:50 +0000 (0:00:00.032) 0:00:20.181 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:15:50 +0000 (0:00:00.032) 0:00:20.213 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:15:50 +0000 (0:00:00.070) 0:00:20.283 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:15:50 +0000 (0:00:00.031) 0:00:20.315 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:15:50 +0000 (0:00:00.030) 0:00:20.345 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:15:50 +0000 (0:00:00.044) 0:00:20.390 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:15:50 +0000 (0:00:00.035) 0:00:20.426 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:15:51 +0000 (0:00:00.032) 0:00:20.458 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:15:51 +0000 (0:00:00.347) 0:00:20.806 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2938391l9b4zur/tmpd0vsmr8b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:15:51 +0000 (0:00:00.285) 0:00:21.091 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:15:52 +0000 (0:00:00.525) 0:00:21.617 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:15:52 +0000 (0:00:00.032) 0:00:21.650 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:15:52 +0000 (0:00:00.040) 0:00:21.690 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:15:52 +0000 (0:00:00.038) 0:00:21.728 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:15:52 +0000 (0:00:00.031) 0:00:21.760 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Assert change:true] ****************************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:48 Wednesday 03 August 2022 15:15:52 +0000 (0:00:00.282) 0:00:22.042 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:51 Wednesday 03 August 2022 15:15:52 +0000 (0:00:00.044) 0:00:22.087 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:15:52 +0000 (0:00:00.051) 0:00:22.138 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:15:52 +0000 (0:00:00.044) 0:00:22.183 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:15:53 +0000 (0:00:00.379) 0:00:22.562 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:15:54 +0000 (0:00:01.306) 0:00:23.869 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:15:54 +0000 (0:00:00.523) 0:00:24.392 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:15:55 +0000 (0:00:00.044) 0:00:24.437 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:15:55 +0000 (0:00:00.030) 0:00:24.468 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:15:55 +0000 (0:00:00.031) 0:00:24.499 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:15:55 +0000 (0:00:00.067) 0:00:24.567 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:15:55 +0000 (0:00:00.031) 0:00:24.598 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:15:55 +0000 (0:00:00.030) 0:00:24.628 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:15:55 +0000 (0:00:00.044) 0:00:24.673 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:15:55 +0000 (0:00:00.037) 0:00:24.710 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:15:55 +0000 (0:00:00.032) 0:00:24.743 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:15:55 +0000 (0:00:00.347) 0:00:25.091 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2938391l9b4zur/tmp9tyz0xgp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:15:55 +0000 (0:00:00.289) 0:00:25.380 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:15:56 +0000 (0:00:00.410) 0:00:25.791 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:15:56 +0000 (0:00:00.032) 0:00:25.823 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:15:56 +0000 (0:00:00.039) 0:00:25.863 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:15:56 +0000 (0:00:00.037) 0:00:25.900 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:15:56 +0000 (0:00:00.029) 0:00:25.930 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Assert change:false] ***************************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:54 Wednesday 03 August 2022 15:15:56 +0000 (0:00:00.283) 0:00:26.213 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:59 Wednesday 03 August 2022 15:15:56 +0000 (0:00:00.045) 0:00:26.259 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:15:56 +0000 (0:00:00.048) 0:00:26.307 ****** included: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:15:56 +0000 (0:00:00.044) 0:00:26.351 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:15:57 +0000 (0:00:00.369) 0:00:26.721 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:15:58 +0000 (0:00:01.313) 0:00:28.034 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:15:59 +0000 (0:00:00.532) 0:00:28.567 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:15:59 +0000 (0:00:00.044) 0:00:28.611 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:15:59 +0000 (0:00:00.031) 0:00:28.642 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:15:59 +0000 (0:00:00.031) 0:00:28.674 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:15:59 +0000 (0:00:00.065) 0:00:28.740 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:15:59 +0000 (0:00:00.031) 0:00:28.771 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:15:59 +0000 (0:00:00.030) 0:00:28.802 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:15:59 +0000 (0:00:00.043) 0:00:28.845 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:15:59 +0000 (0:00:00.036) 0:00:28.882 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:15:59 +0000 (0:00:00.033) 0:00:28.915 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:15:59 +0000 (0:00:00.344) 0:00:29.260 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2938391l9b4zur/tmpmy4grf8f" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:16:00 +0000 (0:00:00.313) 0:00:29.573 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active) [004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:16:00 +0000 (0:00:00.472) 0:00:30.046 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:16:00 +0000 (0:00:00.032) 0:00:30.079 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:16:00 +0000 (0:00:00.039) 0:00:30.118 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)\n[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:16:00 +0000 (0:00:00.045) 0:00:30.164 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:16:00 +0000 (0:00:00.034) 0:00:30.198 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:67 Wednesday 03 August 2022 15:16:01 +0000 (0:00:00.278) 0:00:30.477 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:16:01 +0000 (0:00:00.051) 0:00:30.528 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:16:01 +0000 (0:00:00.030) 0:00:30.558 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:16:01 +0000 (0:00:00.028) 0:00:30.587 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:16:01 +0000 (0:00:00.042) 0:00:30.630 ****** included: /tmp/tmpdb8ajfhr/tests/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:16:01 +0000 (0:00:00.043) 0:00:30.674 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003546", "end": "2022-08-03 11:16:00.754973", "rc": 0, "start": "2022-08-03 11:16:00.751427" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:16:01 +0000 (0:00:00.277) 0:00:30.952 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:16:01 +0000 (0:00:00.079) 0:00:31.031 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:16:01 +0000 (0:00:00.079) 0:00:31.110 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:16:02 +0000 (0:00:00.483) 0:00:31.594 ****** skipping: [/cache/rhel-6.qcow2.snap] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 15:16:02 +0000 (0:00:00.038) 0:00:31.633 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 15:16:02 +0000 (0:00:00.029) 0:00:31.662 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.054316", "end": "2022-08-03 11:16:01.796919", "rc": 0, "start": "2022-08-03 11:16:01.742603" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 15:16:02 +0000 (0:00:00.332) 0:00:31.995 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 15:16:02 +0000 (0:00:00.029) 0:00:32.024 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:16:02 +0000 (0:00:00.027) 0:00:32.051 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 15:16:02 +0000 (0:00:00.027) 0:00:32.079 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=84 changed=6 unreachable=0 failed=0 skipped=65 rescued=0 ignored=1 Wednesday 03 August 2022 15:16:02 +0000 (0:00:00.042) 0:00:32.122 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 5.98s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable network service --------------------- 1.54s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which services are running ----------- 1.40s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.32s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.31s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.31s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.30s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Re-test connectivity ----------------------- 1.26s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.16s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:4 ------------ linux-system-roles.network : Check which packages are installed --------- 0.81s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface testnic1 ------------------------------------------ 0.75s /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:21 --------------------- Install iproute --------------------------------------------------------- 0.63s /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:15 --------------------- linux-system-roles.network : Check which packages are installed --------- 0.58s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.56s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.53s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.52s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install iproute --------------------------------------------------------- 0.48s /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:15 --------------------- linux-system-roles.network : Configure networking connection profiles --- 0.47s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.44s /tmp/tmpdb8ajfhr/tests/_backup.yml:6 ------------------------------------------ PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpdb8ajfhr/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpdb8ajfhr/tests/_restore.yml:4 Wednesday 03 August 2022 15:16:02 +0000 (0:00:00.035) 0:00:32.158 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005150", "end": "2022-08-03 11:16:02.229526", "rc": 0, "start": "2022-08-03 11:16:02.224376" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=85 changed=7 unreachable=0 failed=0 skipped=65 rescued=0 ignored=1 Wednesday 03 August 2022 15:16:03 +0000 (0:00:00.288) 0:00:32.446 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 5.98s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable network service --------------------- 1.54s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which services are running ----------- 1.40s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.32s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.31s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.31s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.30s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Re-test connectivity ----------------------- 1.26s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.16s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpdb8ajfhr/tests/tests_change_indication_on_repeat_run.yml:4 ------------ linux-system-roles.network : Check which packages are installed --------- 0.81s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface testnic1 ------------------------------------------ 0.75s /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:21 --------------------- Install iproute --------------------------------------------------------- 0.63s /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:15 --------------------- linux-system-roles.network : Check which packages are installed --------- 0.58s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.56s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.53s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.52s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install iproute --------------------------------------------------------- 0.48s /tmp/tmpdb8ajfhr/tests/tasks/manage_test_interface.yml:15 --------------------- linux-system-roles.network : Configure networking connection profiles --- 0.47s /tmp/tmpdb8ajfhr/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.44s /tmp/tmpdb8ajfhr/tests/_backup.yml:6 ------------------------------------------ ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpk7x13fer executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmptjr_ga81/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmptjr_ga81/tests/network/_backup.yml:6 Wednesday 03 August 2022 15:24:13 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-6.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "item": "/etc/resolv.conf", "stat": { "atime": 1659540252.3809018, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540252.3810003, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659540132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072091882806", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. TASK [Check if system files exist] ********************************************* task path: /tmp/tmptjr_ga81/tests/network/_backup.yml:13 Wednesday 03 August 2022 15:24:14 +0000 (0:00:00.461) 0:00:00.479 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-6.qcow2.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': 'e', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659540132.0, 'block_size': 4096, 'inode': 260120, 'isgid': False, 'size': 57, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072091882806', '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': 1659540252.3809018, 'isdir': False, 'ctime': 1659540252.3810003, '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": 1659540252.3809018, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c55cc8324e731161638aa365379c1c147546a87", "ctime": 1659540252.3810003, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 260120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659540132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 57, "uid": 0, "version": "18446744072091882806", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmptjr_ga81/tests/network/_backup.yml:19 Wednesday 03 August 2022 15:24:14 +0000 (0:00:00.037) 0:00:00.516 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003980", "end": "2022-08-03 11:24:13.857140", "rc": 0, "start": "2022-08-03 11:24:13.853160" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:24:14 +0000 (0:00:00.391) 0:00:00.907 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.46s /tmp/tmptjr_ga81/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.39s /tmp/tmptjr_ga81/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmptjr_ga81/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_change_indication_on_repeat_run.yml **************************** 1 plays in /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml PLAY [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:4 Wednesday 03 August 2022 15:24:14 +0000 (0:00:00.013) 0:00:00.921 ****** ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:10 Wednesday 03 August 2022 15:24:15 +0000 (0:00:00.913) 0:00:01.834 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:24:15 +0000 (0:00:00.031) 0:00:01.866 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:24:15 +0000 (0:00:00.021) 0:00:01.887 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:24:15 +0000 (0:00:00.019) 0:00:01.907 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:24:15 +0000 (0:00:00.030) 0:00:01.938 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:24:15 +0000 (0:00:00.027) 0:00:01.965 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003309", "end": "2022-08-03 11:24:15.187105", "rc": 0, "start": "2022-08-03 11:24:15.183796" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:24:15 +0000 (0:00:00.266) 0:00:02.231 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:24:15 +0000 (0:00:00.030) 0:00:02.262 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:24:16 +0000 (0:00:00.030) 0:00:02.292 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:24:16 +0000 (0:00:00.625) 0:00:02.918 ****** changed: [/cache/rhel-6.qcow2.snap] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.004637", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:24:16.149236", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 11:24:16.144599" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003687", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:24:16.399452", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 11:24:16.395765" } changed: [/cache/rhel-6.qcow2.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.003390", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-08-03 11:24:16.646083", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 11:24:16.642693" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:24:17 +0000 (0:00:00.778) 0:00:03.696 ****** fatal: [/cache/rhel-6.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli d set testnic1 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:24:17 +0000 (0:00:00.273) 0:00:03.970 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:24:17 +0000 (0:00:00.022) 0:00:03.992 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:24:17 +0000 (0:00:00.021) 0:00:04.014 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:24:17 +0000 (0:00:00.022) 0:00:04.036 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:24:17 +0000 (0:00:00.023) 0:00:04.060 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:13 Wednesday 03 August 2022 15:24:17 +0000 (0:00:00.022) 0:00:04.082 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/assert_device_present.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:24:17 +0000 (0:00:00.034) 0:00:04.116 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/get_interface_stat.yml for /cache/rhel-6.qcow2.snap TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:24:17 +0000 (0:00:00.037) 0:00:04.154 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540256.259, "block_size": 4096, "blocks": 0, "ctime": 1659540256.249, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 7730, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1659540256.249, "nlink": 1, "path": "/sys/class/net/testnic1", "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 testnic1 is present] ******************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:24:18 +0000 (0:00:00.278) 0:00:04.433 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : fedora.linux_system_roles.network] ************************ task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:24 Wednesday 03 August 2022 15:24:18 +0000 (0:00:00.074) 0:00:04.507 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:24:18 +0000 (0:00:00.047) 0:00:04.555 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:24:18 +0000 (0:00:00.063) 0:00:04.619 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:24:18 +0000 (0:00:00.380) 0:00:04.999 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:24:20 +0000 (0:00:01.457) 0:00:06.457 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:24:20 +0000 (0:00:00.809) 0:00:07.267 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:24:21 +0000 (0:00:00.045) 0:00:07.312 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:24:21 +0000 (0:00:00.033) 0:00:07.345 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:24:21 +0000 (0:00:00.032) 0:00:07.378 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:24:21 +0000 (0:00:00.090) 0:00:07.469 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:24:21 +0000 (0:00:00.030) 0:00:07.499 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:24:21 +0000 (0:00:00.029) 0:00:07.529 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:24:21 +0000 (0:00:00.045) 0:00:07.575 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:24:21 +0000 (0:00:00.034) 0:00:07.609 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:24:21 +0000 (0:00:00.032) 0:00:07.642 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:24:21 +0000 (0:00:00.495) 0:00:08.138 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-313128k8jv6t21/tmppm5e8ikv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:24:22 +0000 (0:00:00.295) 0:00:08.433 ****** changed: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='Determining if ip address 192.0.2.2 is already in use for device testnic1... ', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:24:26 +0000 (0:00:04.682) 0:00:13.115 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:24:26 +0000 (0:00:00.032) 0:00:13.148 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='Determining if ip address 192.0.2.2 is already in use for device testnic1...", "', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:24:26 +0000 (0:00:00.073) 0:00:13.221 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='Determining if ip address 192.0.2.2 is already in use for device testnic1...\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='Determining if ip address 192.0.2.2 is already in use for device testnic1...", "', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:24:27 +0000 (0:00:00.070) 0:00:13.291 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:24:27 +0000 (0:00:00.033) 0:00:13.325 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Assert change:true] ****************************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:27 Wednesday 03 August 2022 15:24:27 +0000 (0:00:00.409) 0:00:13.734 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : fedora.linux_system_roles.network] ************************ task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:30 Wednesday 03 August 2022 15:24:27 +0000 (0:00:00.043) 0:00:13.778 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:24:27 +0000 (0:00:00.054) 0:00:13.833 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:24:27 +0000 (0:00:00.049) 0:00:13.882 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:24:27 +0000 (0:00:00.385) 0:00:14.268 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:24:29 +0000 (0:00:01.355) 0:00:15.623 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:24:29 +0000 (0:00:00.624) 0:00:16.247 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:24:30 +0000 (0:00:00.047) 0:00:16.295 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:24:30 +0000 (0:00:00.032) 0:00:16.327 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:24:30 +0000 (0:00:00.032) 0:00:16.360 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:24:30 +0000 (0:00:00.069) 0:00:16.429 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:24:30 +0000 (0:00:00.031) 0:00:16.461 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:24:30 +0000 (0:00:00.035) 0:00:16.496 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:24:30 +0000 (0:00:00.046) 0:00:16.543 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:24:30 +0000 (0:00:00.040) 0:00:16.583 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:24:30 +0000 (0:00:00.035) 0:00:16.619 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:24:30 +0000 (0:00:00.356) 0:00:16.975 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-313128k8jv6t21/tmpph0w75ml" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:24:30 +0000 (0:00:00.290) 0:00:17.266 ****** ok: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:24:31 +0000 (0:00:00.393) 0:00:17.659 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:24:31 +0000 (0:00:00.033) 0:00:17.692 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:24:31 +0000 (0:00:00.042) 0:00:17.735 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:24:31 +0000 (0:00:00.040) 0:00:17.775 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:24:31 +0000 (0:00:00.032) 0:00:17.808 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Assert change:false] ***************************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:33 Wednesday 03 August 2022 15:24:31 +0000 (0:00:00.308) 0:00:18.116 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : fedora.linux_system_roles.network] ************************ task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:45 Wednesday 03 August 2022 15:24:31 +0000 (0:00:00.046) 0:00:18.162 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:24:31 +0000 (0:00:00.045) 0:00:18.208 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:24:31 +0000 (0:00:00.047) 0:00:18.255 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:24:32 +0000 (0:00:00.370) 0:00:18.626 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:24:33 +0000 (0:00:01.355) 0:00:19.982 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:24:34 +0000 (0:00:00.580) 0:00:20.562 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:24:34 +0000 (0:00:00.046) 0:00:20.609 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:24:34 +0000 (0:00:00.033) 0:00:20.642 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:24:34 +0000 (0:00:00.034) 0:00:20.677 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:24:34 +0000 (0:00:00.077) 0:00:20.754 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:24:34 +0000 (0:00:00.037) 0:00:20.792 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:24:34 +0000 (0:00:00.034) 0:00:20.826 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:24:34 +0000 (0:00:00.049) 0:00:20.876 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:24:34 +0000 (0:00:00.039) 0:00:20.916 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:24:34 +0000 (0:00:00.034) 0:00:20.950 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:24:35 +0000 (0:00:00.353) 0:00:21.303 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-313128k8jv6t21/tmp9wyw16zb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:24:35 +0000 (0:00:00.294) 0:00:21.598 ****** changed: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:24:35 +0000 (0:00:00.459) 0:00:22.057 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:24:35 +0000 (0:00:00.079) 0:00:22.136 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:24:35 +0000 (0:00:00.042) 0:00:22.179 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:24:35 +0000 (0:00:00.043) 0:00:22.223 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:24:35 +0000 (0:00:00.032) 0:00:22.255 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Assert change:true] ****************************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:48 Wednesday 03 August 2022 15:24:36 +0000 (0:00:00.283) 0:00:22.538 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : fedora.linux_system_roles.network] ************************ task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:51 Wednesday 03 August 2022 15:24:36 +0000 (0:00:00.042) 0:00:22.581 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:24:36 +0000 (0:00:00.053) 0:00:22.635 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:24:36 +0000 (0:00:00.047) 0:00:22.682 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:24:36 +0000 (0:00:00.386) 0:00:23.068 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:24:38 +0000 (0:00:01.343) 0:00:24.411 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:24:38 +0000 (0:00:00.559) 0:00:24.971 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:24:38 +0000 (0:00:00.045) 0:00:25.016 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:24:38 +0000 (0:00:00.031) 0:00:25.047 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:24:38 +0000 (0:00:00.031) 0:00:25.078 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:24:38 +0000 (0:00:00.066) 0:00:25.145 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:24:38 +0000 (0:00:00.031) 0:00:25.177 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:24:38 +0000 (0:00:00.030) 0:00:25.207 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:24:38 +0000 (0:00:00.043) 0:00:25.251 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:24:39 +0000 (0:00:00.038) 0:00:25.289 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:24:39 +0000 (0:00:00.032) 0:00:25.322 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:24:39 +0000 (0:00:00.353) 0:00:25.676 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-313128k8jv6t21/tmpo9a5vi2t" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:24:39 +0000 (0:00:00.291) 0:00:25.968 ****** ok: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:24:40 +0000 (0:00:00.426) 0:00:26.395 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:24:40 +0000 (0:00:00.037) 0:00:26.433 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:24:40 +0000 (0:00:00.050) 0:00:26.483 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': ifcfg-rh profile 'testnic1' already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:24:40 +0000 (0:00:00.040) 0:00:26.523 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:24:40 +0000 (0:00:00.032) 0:00:26.556 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Assert change:false] ***************************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:54 Wednesday 03 August 2022 15:24:40 +0000 (0:00:00.292) 0:00:26.848 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : fedora.linux_system_roles.network] ************************ task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:59 Wednesday 03 August 2022 15:24:40 +0000 (0:00:00.048) 0:00:26.896 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:24:40 +0000 (0:00:00.059) 0:00:26.956 ****** included: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:24:40 +0000 (0:00:00.047) 0:00:27.004 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:24:41 +0000 (0:00:00.396) 0:00:27.401 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:24:42 +0000 (0:00:01.357) 0:00:28.758 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:24:43 +0000 (0:00:00.541) 0:00:29.299 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:24:43 +0000 (0:00:00.047) 0:00:29.347 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:24:43 +0000 (0:00:00.035) 0:00:29.382 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:24:43 +0000 (0:00:00.032) 0:00:29.415 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:24:43 +0000 (0:00:00.093) 0:00:29.508 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:24:43 +0000 (0:00:00.031) 0:00:29.540 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:24:43 +0000 (0:00:00.030) 0:00:29.571 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:24:43 +0000 (0:00:00.046) 0:00:29.617 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:24:43 +0000 (0:00:00.037) 0:00:29.654 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:24:43 +0000 (0:00:00.036) 0:00:29.691 ****** ok: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:24:43 +0000 (0:00:00.344) 0:00:30.036 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-313128k8jv6t21/tmpezqzryaa" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:24:44 +0000 (0:00:00.317) 0:00:30.353 ****** changed: [/cache/rhel-6.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active) [004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:24:44 +0000 (0:00:00.506) 0:00:30.860 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:24:44 +0000 (0:00:00.032) 0:00:30.892 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:24:44 +0000 (0:00:00.040) 0:00:30.933 ****** ok: [/cache/rhel-6.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)\n[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:24:44 +0000 (0:00:00.037) 0:00:30.970 ****** skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:24:44 +0000 (0:00:00.029) 0:00:30.999 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:67 Wednesday 03 August 2022 15:24:44 +0000 (0:00:00.283) 0:00:31.283 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml for /cache/rhel-6.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 15:24:45 +0000 (0:00:00.048) 0:00:31.331 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 15:24:45 +0000 (0:00:00.026) 0:00:31.358 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 15:24:45 +0000 (0:00:00.029) 0:00:31.388 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/show_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:24:45 +0000 (0:00:00.043) 0:00:31.431 ****** included: /tmp/tmptjr_ga81/tests/network/tasks/get_current_interfaces.yml for /cache/rhel-6.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:24:45 +0000 (0:00:00.041) 0:00:31.472 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003758", "end": "2022-08-03 11:24:44.696203", "rc": 0, "start": "2022-08-03 11:24:44.692445" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:24:45 +0000 (0:00:00.304) 0:00:31.777 ****** ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:24:45 +0000 (0:00:00.041) 0:00:31.818 ****** ok: [/cache/rhel-6.qcow2.snap] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 15:24:45 +0000 (0:00:00.046) 0:00:31.865 ****** ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 15:24:46 +0000 (0:00:00.501) 0:00:32.366 ****** skipping: [/cache/rhel-6.qcow2.snap] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 15:24:46 +0000 (0:00:00.040) 0:00:32.407 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 15:24:46 +0000 (0:00:00.030) 0:00:32.437 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.055730", "end": "2022-08-03 11:24:45.721669", "rc": 0, "start": "2022-08-03 11:24:45.665939" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 15:24:46 +0000 (0:00:00.347) 0:00:32.785 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 15:24:46 +0000 (0:00:00.031) 0:00:32.816 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 15:24:46 +0000 (0:00:00.032) 0:00:32.848 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 15:24:46 +0000 (0:00:00.031) 0:00:32.880 ****** skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=84 changed=6 unreachable=0 failed=0 skipped=65 rescued=0 ignored=1 Wednesday 03 August 2022 15:24:46 +0000 (0:00:00.045) 0:00:32.926 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 5.96s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable network service -------------- 1.56s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which services are running ---- 1.46s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.36s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.36s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.36s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.34s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.29s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 1.17s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:4 ---- fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface testnic1 ------------------------------------------ 0.78s /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:21 ------------- Install iproute --------------------------------------------------------- 0.63s /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:15 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.62s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.58s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.56s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.54s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.51s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install iproute --------------------------------------------------------- 0.50s /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:15 ------------- Get stats of system files ----------------------------------------------- 0.46s /tmp/tmptjr_ga81/tests/network/_backup.yml:6 ---------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmptjr_ga81/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmptjr_ga81/tests/network/_restore.yml:4 Wednesday 03 August 2022 15:24:46 +0000 (0:00:00.036) 0:00:32.962 ****** changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005251", "end": "2022-08-03 11:24:46.194506", "rc": 0, "start": "2022-08-03 11:24:46.189255" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=85 changed=7 unreachable=0 failed=0 skipped=65 rescued=0 ignored=1 Wednesday 03 August 2022 15:24:46 +0000 (0:00:00.304) 0:00:33.267 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 5.96s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable network service -------------- 1.56s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which services are running ---- 1.46s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.36s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.36s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.36s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.34s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.29s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 1.17s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmptjr_ga81/tests/network/tests_change_indication_on_repeat_run.yml:4 ---- fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface testnic1 ------------------------------------------ 0.78s /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:21 ------------- Install iproute --------------------------------------------------------- 0.63s /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:15 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.62s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.58s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.56s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.54s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.51s /tmp/tmpk7x13fer/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install iproute --------------------------------------------------------- 0.50s /tmp/tmptjr_ga81/tests/network/tasks/manage_test_interface.yml:15 ------------- Get stats of system files ----------------------------------------------- 0.46s /tmp/tmptjr_ga81/tests/network/_backup.yml:6 ----------------------------------