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/tmp4wbeq7zn 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 03 August 2022 17:14:03 +0000 (0:00:00.020) 0:00:00.020 ****** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.202608", "end": "2022-08-03 17:14:02.928225", "rc": 0, "start": "2022-08-03 17:14:02.725617" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:14:03 +0000 (0:00:00.802) 0:00:00.822 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp650e3cfh/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp650e3cfh/tests/_backup.yml:6 Wednesday 03 August 2022 17:14:03 +0000 (0:00:00.016) 0:00:00.839 ****** ok: [/cache/centos-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659546842.466285, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546841.464285, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19212, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545238.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "4030667804", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp650e3cfh/tests/_backup.yml:13 Wednesday 03 August 2022 17:14:04 +0000 (0:00:00.521) 0:00:01.360 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-8.qcow2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 19212, 'dev': 64513, 'nlink': 1, 'atime': 1659546842.466285, 'mtime': 1659545238.0, 'ctime': 1659546841.464285, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '4030667804', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, '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_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": 1659546842.466285, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546841.464285, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19212, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545238.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "4030667804", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp650e3cfh/tests/_backup.yml:19 Wednesday 03 August 2022 17:14:04 +0000 (0:00:00.084) 0:00:01.445 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004900", "end": "2022-08-03 17:14:03.936569", "rc": 0, "start": "2022-08-03 17:14:03.931669" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=4 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:14:04 +0000 (0:00:00.383) 0:00:01.829 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- Get stats of system files ----------------------------------------------- 0.52s /tmp/tmp650e3cfh/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.38s /tmp/tmp650e3cfh/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.08s /tmp/tmp650e3cfh/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_provider_nm.yml ************************************************ 2 plays in /tmp/tmp650e3cfh/tests/tests_provider_nm.yml PLAY [Run playbook 'playbooks/tests_provider.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp650e3cfh/tests/tests_provider_nm.yml:5 Wednesday 03 August 2022 17:14:04 +0000 (0:00:00.013) 0:00:01.843 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tests_provider_nm.yml:8 Wednesday 03 August 2022 17:14:06 +0000 (0:00:01.064) 0:00:02.907 ****** included: /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml for /cache/centos-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:14:06 +0000 (0:00:00.026) 0:00:02.934 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:14:06 +0000 (0:00:00.022) 0:00:02.956 ****** included: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml for /cache/centos-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:14:06 +0000 (0:00:00.027) 0:00:02.983 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:14:06 +0000 (0:00:00.379) 0:00:03.363 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:14:06 +0000 (0:00:00.021) 0:00:03.384 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.221439", "end": "2022-08-03 17:14:06.089053", "rc": 0, "start": "2022-08-03 17:14:05.867614" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:14:07 +0000 (0:00:00.597) 0:00:03.981 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp650e3cfh/tests/tests_provider_nm.yml:9 Wednesday 03 August 2022 17:14:07 +0000 (0:00:00.021) 0:00:04.002 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** task path: /tmp/tmp650e3cfh/tests/tests_provider_nm.yml:16 Wednesday 03 August 2022 17:14:07 +0000 (0:00:00.027) 0:00:04.030 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmp650e3cfh/tests/tests_provider_nm.yml:20 Wednesday 03 August 2022 17:14:09 +0000 (0:00:02.766) 0:00:06.796 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.010423", "end": "2022-08-03 17:14:09.298899", "rc": 0, "start": "2022-08-03 17:14:09.288476" } STDOUT: 1.39.10 META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tests_provider.yml:3 Wednesday 03 August 2022 17:14:10 +0000 (0:00:00.412) 0:00:07.209 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_provider.yml:10 Wednesday 03 August 2022 17:14:12 +0000 (0:00:01.830) 0:00:09.039 ****** ok: [/cache/centos-8.qcow2] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_provider.yml:18 Wednesday 03 August 2022 17:14:12 +0000 (0:00:00.049) 0:00:09.089 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I can manage a veth interface with NM after I managed it with initscripts.] *** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:14:12 +0000 (0:00:00.054) 0:00:09.143 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I can manage a veth interface with NM after I managed it with initscripts. ########## TASK [Show item] *************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:14:12 +0000 (0:00:00.049) 0:00:09.192 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can manage a veth interface with NM after I managed it with initscripts." } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/setup_test_interface.yml", "tasks/provider/default_with_nm.yml", "tasks/provider/create_and_remove_with_initscripts.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/provider/create_with_nm.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/centos-8.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:14:12 +0000 (0:00:00.190) 0:00:09.383 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:14:12 +0000 (0:00:00.046) 0:00:09.429 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:14:12 +0000 (0:00:00.047) 0:00:09.477 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004156", "end": "2022-08-03 17:14:12.010663", "rc": 0, "start": "2022-08-03 17:14:12.006507" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:14:13 +0000 (0:00:00.422) 0:00:09.899 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:14:13 +0000 (0:00:00.047) 0:00:09.947 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [setup] ******************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:14:13 +0000 (0:00:00.044) 0:00:09.992 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_test_interface.yml for /cache/centos-8.qcow2 => (item=tasks/setup_test_interface.yml) included: /tmp/tmp650e3cfh/tests/playbooks/tasks/provider/default_with_nm.yml for /cache/centos-8.qcow2 => (item=tasks/provider/default_with_nm.yml) included: /tmp/tmp650e3cfh/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml for /cache/centos-8.qcow2 => (item=tasks/provider/create_and_remove_with_initscripts.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_test_interface.yml:3 Wednesday 03 August 2022 17:14:13 +0000 (0:00:00.071) 0:00:10.064 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:14:13 +0000 (0:00:00.049) 0:00:10.113 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:14:13 +0000 (0:00:00.039) 0:00:10.152 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:14:13 +0000 (0:00:00.039) 0:00:10.191 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:14:13 +0000 (0:00:00.051) 0:00:10.243 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:14:13 +0000 (0:00:00.047) 0:00:10.290 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003269", "end": "2022-08-03 17:14:12.817445", "rc": 0, "start": "2022-08-03 17:14:12.814176" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:14:13 +0000 (0:00:00.415) 0:00:10.705 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:14:13 +0000 (0:00:00.091) 0:00:10.797 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:14:14 +0000 (0:00:00.073) 0:00:10.870 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:14:16 +0000 (0:00:02.067) 0:00:12.938 ****** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. changed: [/cache/centos-8.qcow2] => (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.005649", "end": "2022-08-03 17:14:15.444562", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 17:14:15.438913" } changed: [/cache/centos-8.qcow2] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.008359", "end": "2022-08-03 17:14:15.823039", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 17:14:15.814680" } changed: [/cache/centos-8.qcow2] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.005764", "end": "2022-08-03 17:14:16.202812", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 17:14:16.197048" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 17:14:17 +0000 (0:00:01.152) 0:00:14.091 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.020617", "end": "2022-08-03 17:14:16.600490", "rc": 0, "start": "2022-08-03 17:14:16.579873" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 17:14:17 +0000 (0:00:00.396) 0:00:14.488 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 17:14:17 +0000 (0:00:00.038) 0:00:14.526 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 17:14:17 +0000 (0:00:00.038) 0:00:14.564 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:14:17 +0000 (0:00:00.040) 0:00:14.605 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 17:14:17 +0000 (0:00:00.038) 0:00:14.644 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/provider/default_with_nm.yml:3 Wednesday 03 August 2022 17:14:17 +0000 (0:00:00.040) 0:00:14.684 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:14:17 +0000 (0:00:00.066) 0:00:14.751 ****** included: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:14:17 +0000 (0:00:00.055) 0:00:14.807 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:14:18 +0000 (0:00:00.526) 0:00:15.333 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:14:20 +0000 (0:00:01.714) 0:00:17.048 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:14:21 +0000 (0:00:01.602) 0:00:18.651 ****** ok: [/cache/centos-8.qcow2] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:14:21 +0000 (0:00:00.061) 0:00:18.712 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:14:21 +0000 (0:00:00.056) 0:00:18.768 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:14:21 +0000 (0:00:00.057) 0:00:18.826 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:14:22 +0000 (0:00:00.081) 0:00:18.907 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:14:22 +0000 (0:00:00.054) 0:00:18.961 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:14:22 +0000 (0:00:00.050) 0:00:19.012 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:14:22 +0000 (0:00:00.061) 0:00:19.073 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:14:23 +0000 (0:00:00.805) 0:00:19.879 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:14:23 +0000 (0:00:00.057) 0:00:19.937 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:14:23 +0000 (0:00:00.056) 0:00:19.993 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:14:23 +0000 (0:00:00.050) 0:00:20.044 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:14:23 +0000 (0:00:00.769) 0:00:20.814 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:14:24 +0000 (0:00:00.054) 0:00:20.868 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:14:24 +0000 (0:00:00.062) 0:00:20.930 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:14:24 +0000 (0:00:00.060) 0:00:20.991 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:14:24 +0000 (0:00:00.058) 0:00:21.050 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:3 Wednesday 03 August 2022 17:14:24 +0000 (0:00:00.566) 0:00:21.616 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:14:24 +0000 (0:00:00.084) 0:00:21.700 ****** included: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:14:24 +0000 (0:00:00.112) 0:00:21.812 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:14:25 +0000 (0:00:00.546) 0:00:22.359 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:14:27 +0000 (0:00:01.552) 0:00:23.912 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:14:28 +0000 (0:00:01.208) 0:00:25.121 ****** ok: [/cache/centos-8.qcow2] => {} 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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:14:28 +0000 (0:00:00.149) 0:00:25.270 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:14:28 +0000 (0:00:00.057) 0:00:25.328 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:14:28 +0000 (0:00:00.056) 0:00:25.385 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:14:28 +0000 (0:00:00.077) 0:00:25.463 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:14:28 +0000 (0:00:00.057) 0:00:25.520 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:14:28 +0000 (0:00:00.054) 0:00:25.575 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:14:28 +0000 (0:00:00.057) 0:00:25.632 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:14:28 +0000 (0:00:00.057) 0:00:25.689 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:14:28 +0000 (0:00:00.053) 0:00:25.743 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:14:29 +0000 (0:00:00.569) 0:00:26.312 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-115100hbvpu3tg/tmpw3jxd6or" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:14:29 +0000 (0:00:00.428) 0:00:26.741 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:14:34 +0000 (0:00:04.728) 0:00:31.469 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:14:34 +0000 (0:00:00.073) 0:00:31.543 ****** ok: [/cache/centos-8.qcow2] => { "__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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:14:34 +0000 (0:00:00.073) 0:00:31.616 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:14:34 +0000 (0:00:00.067) 0:00:31.684 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:14:34 +0000 (0:00:00.052) 0:00:31.736 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:16 Wednesday 03 August 2022 17:14:35 +0000 (0:00:00.471) 0:00:32.208 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:14:35 +0000 (0:00:00.103) 0:00:32.312 ****** included: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:14:35 +0000 (0:00:00.087) 0:00:32.400 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:14:36 +0000 (0:00:00.554) 0:00:32.955 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:14:37 +0000 (0:00:01.626) 0:00:34.582 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:14:38 +0000 (0:00:01.180) 0:00:35.762 ****** ok: [/cache/centos-8.qcow2] => {} 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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:14:38 +0000 (0:00:00.069) 0:00:35.832 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:14:39 +0000 (0:00:00.053) 0:00:35.886 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:14:39 +0000 (0:00:00.055) 0:00:35.942 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:14:39 +0000 (0:00:00.075) 0:00:36.017 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:14:39 +0000 (0:00:00.050) 0:00:36.068 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:14:39 +0000 (0:00:00.052) 0:00:36.120 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:14:39 +0000 (0:00:00.089) 0:00:36.209 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:14:39 +0000 (0:00:00.055) 0:00:36.265 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:14:39 +0000 (0:00:00.058) 0:00:36.323 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:14:40 +0000 (0:00:00.564) 0:00:36.888 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-115100hbvpu3tg/tmpdbfofkn3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:14:40 +0000 (0:00:00.419) 0:00:37.307 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-8.qcow2] => { "_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='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:14:41 +0000 (0:00:00.645) 0:00:37.953 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:14:41 +0000 (0:00:00.055) 0:00:38.009 ****** ok: [/cache/centos-8.qcow2] => { "__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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:14:41 +0000 (0:00:00.063) 0:00:38.072 ****** ok: [/cache/centos-8.qcow2] => { "__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, "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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:14:41 +0000 (0:00:00.068) 0:00:38.140 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:14:41 +0000 (0:00:00.083) 0:00:38.223 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [test] ******************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:14:41 +0000 (0:00:00.439) 0:00:38.663 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/provider/create_with_nm.yml for /cache/centos-8.qcow2 => (item=tasks/provider/create_with_nm.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/provider/create_with_nm.yml:3 Wednesday 03 August 2022 17:14:41 +0000 (0:00:00.089) 0:00:38.752 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:14:41 +0000 (0:00:00.094) 0:00:38.846 ****** included: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:14:42 +0000 (0:00:00.089) 0:00:38.936 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:14:42 +0000 (0:00:00.542) 0:00:39.479 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:14:45 +0000 (0:00:02.582) 0:00:42.061 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:14:46 +0000 (0:00:01.151) 0:00:43.213 ****** ok: [/cache/centos-8.qcow2] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:14:46 +0000 (0:00:00.132) 0:00:43.345 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:14:46 +0000 (0:00:00.055) 0:00:43.401 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:14:46 +0000 (0:00:00.056) 0:00:43.458 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:14:46 +0000 (0:00:00.079) 0:00:43.537 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:14:46 +0000 (0:00:00.055) 0:00:43.592 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:14:46 +0000 (0:00:00.053) 0:00:43.646 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:14:46 +0000 (0:00:00.058) 0:00:43.704 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:14:47 +0000 (0:00:00.567) 0:00:44.272 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:14:47 +0000 (0:00:00.061) 0:00:44.333 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:14:47 +0000 (0:00:00.053) 0:00:44.387 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:14:47 +0000 (0:00:00.054) 0:00:44.441 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, cd7f0976-1eae-434e-840c-3368421c4a0f [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, cd7f0976-1eae-434e-840c-3368421c4a0f (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:14:48 +0000 (0:00:00.688) 0:00:45.129 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:14:48 +0000 (0:00:00.053) 0:00:45.183 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, cd7f0976-1eae-434e-840c-3368421c4a0f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, cd7f0976-1eae-434e-840c-3368421c4a0f (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:14:48 +0000 (0:00:00.066) 0:00:45.249 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, cd7f0976-1eae-434e-840c-3368421c4a0f\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, cd7f0976-1eae-434e-840c-3368421c4a0f (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, cd7f0976-1eae-434e-840c-3368421c4a0f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, cd7f0976-1eae-434e-840c-3368421c4a0f (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:14:48 +0000 (0:00:00.067) 0:00:45.317 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:14:48 +0000 (0:00:00.056) 0:00:45.373 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [asserts] ***************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:14:48 +0000 (0:00:00.437) 0:00:45.811 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-8.qcow2 => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:14:49 +0000 (0:00:00.094) 0:00:45.906 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:14:49 +0000 (0:00:00.077) 0:00:45.983 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:14:49 +0000 (0:00:00.065) 0:00:46.049 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659546887.181285, "block_size": 4096, "blocks": 8, "ctime": 1659546887.1532848, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4202197, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546887.1532848, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:14:49 +0000 (0:00:00.409) 0:00:46.459 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:14:49 +0000 (0:00:00.103) 0:00:46.562 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep testnic1 | grep /etc", "delta": "0:00:00.019699", "end": "2022-08-03 17:14:49.083501", "rc": 0, "start": "2022-08-03 17:14:49.063802" } STDOUT: testnic1 /etc/sysconfig/network-scripts/ifcfg-testnic1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:14:50 +0000 (0:00:00.425) 0:00:46.988 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-testnic1] *********************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:14:50 +0000 (0:00:00.069) 0:00:47.057 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-testnic1] ******************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:14:50 +0000 (0:00:00.058) 0:00:47.115 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'testnic1' is present] ******************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:14:50 +0000 (0:00:00.058) 0:00:47.174 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'testnic1' is present] ************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:14:50 +0000 (0:00:00.069) 0:00:47.243 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:14:50 +0000 (0:00:00.072) 0:00:47.316 ****** TASK [Success in test 'I can manage a veth interface with NM after I managed it with initscripts.'] *** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:14:50 +0000 (0:00:00.047) 0:00:47.363 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I can manage a veth interface with NM after I managed it with initscripts.' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:14:50 +0000 (0:00:00.065) 0:00:47.429 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-8.qcow2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:14:50 +0000 (0:00:00.090) 0:00:47.519 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli con delete testnic1\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-testnic1\nrm -f /etc/sysconfig/network-scripts/ifcfg-testnic1\nip link del testnic1\n", "delta": "0:00:00.045117", "end": "2022-08-03 17:14:50.077295", "rc": 0, "start": "2022-08-03 17:14:50.032178" } STDOUT: Connection 'testnic1' (cd7f0976-1eae-434e-840c-3368421c4a0f) successfully deleted. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=89 changed=9 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Wednesday 03 August 2022 17:14:51 +0000 (0:00:00.541) 0:00:48.061 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.73s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Install NetworkManager -------------------------------------------------- 2.77s /tmp/tmp650e3cfh/tests/tests_provider_nm.yml:16 ------------------------------- linux-system-roles.network : Check which services are running ----------- 2.58s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 2.07s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Gathering Facts --------------------------------------------------------- 1.83s /tmp/tmp650e3cfh/tests/playbooks/tests_provider.yml:3 ------------------------- linux-system-roles.network : Check which services are running ----------- 1.71s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.63s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.60s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.55s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.21s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.18s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface testnic1 ------------------------------------------ 1.15s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 1.15s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmp650e3cfh/tests/tests_provider_nm.yml:5 -------------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.81s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.77s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.69s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.65s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Enable EPEL 8 ----------------------------------------------------------- 0.60s /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:17 ------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp650e3cfh/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp650e3cfh/tests/_restore.yml:4 Wednesday 03 August 2022 17:14:51 +0000 (0:00:00.047) 0:00:48.109 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007438", "end": "2022-08-03 17:14:50.612672", "rc": 0, "start": "2022-08-03 17:14:50.605234" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=90 changed=10 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Wednesday 03 August 2022 17:14:51 +0000 (0:00:00.441) 0:00:48.550 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.73s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Install NetworkManager -------------------------------------------------- 2.77s /tmp/tmp650e3cfh/tests/tests_provider_nm.yml:16 ------------------------------- linux-system-roles.network : Check which services are running ----------- 2.58s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install iproute --------------------------------------------------------- 2.07s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Gathering Facts --------------------------------------------------------- 1.83s /tmp/tmp650e3cfh/tests/playbooks/tests_provider.yml:3 ------------------------- linux-system-roles.network : Check which services are running ----------- 1.71s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.63s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.60s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.55s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.21s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.18s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Create veth interface testnic1 ------------------------------------------ 1.15s /tmp/tmp650e3cfh/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 1.15s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmp650e3cfh/tests/tests_provider_nm.yml:5 -------------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.81s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.77s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.69s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.65s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Enable EPEL 8 ----------------------------------------------------------- 0.60s /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:17 ------------------------------- 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/tmp4wbeq7zn 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 03 August 2022 17:53:11 +0000 (0:00:00.020) 0:00:00.020 ****** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.229014", "end": "2022-08-03 17:53:11.015465", "rc": 0, "start": "2022-08-03 17:53:10.786451" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:53:12 +0000 (0:00:00.846) 0:00:00.866 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.85s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpjloc5qmw/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpjloc5qmw/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:53:12 +0000 (0:00:00.017) 0:00:00.883 ****** ok: [/cache/centos-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659549190.5170772, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549189.5160773, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19274, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659547587.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2299847713", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:53:12 +0000 (0:00:00.502) 0:00:01.386 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-8.qcow2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 19274, 'dev': 64513, 'nlink': 1, 'atime': 1659549190.5170772, 'mtime': 1659547587.0, 'ctime': 1659549189.5160773, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '2299847713', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, '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_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": 1659549190.5170772, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549189.5160773, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19274, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659547587.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2299847713", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:53:12 +0000 (0:00:00.055) 0:00:01.441 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004060", "end": "2022-08-03 17:53:11.968244", "rc": 0, "start": "2022-08-03 17:53:11.964184" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=4 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:53:13 +0000 (0:00:00.371) 0:00:01.813 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.85s /cache/centos-8_setup.yml:5 --------------------------------------------------- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmpjloc5qmw/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.37s /tmp/tmpjloc5qmw/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.06s /tmp/tmpjloc5qmw/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_provider_nm.yml ************************************************ 2 plays in /tmp/tmpjloc5qmw/tests/network/tests_provider_nm.yml PLAY [Run playbook 'playbooks/tests_provider.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/tests_provider_nm.yml:5 Wednesday 03 August 2022 17:53:13 +0000 (0:00:00.013) 0:00:01.826 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tests_provider_nm.yml:8 Wednesday 03 August 2022 17:53:14 +0000 (0:00:01.008) 0:00:02.834 ****** included: /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml for /cache/centos-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:53:14 +0000 (0:00:00.025) 0:00:02.860 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:53:14 +0000 (0:00:00.019) 0:00:02.880 ****** included: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml for /cache/centos-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:53:14 +0000 (0:00:00.027) 0:00:02.908 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:53:14 +0000 (0:00:00.368) 0:00:03.276 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:53:14 +0000 (0:00:00.021) 0:00:03.298 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.202480", "end": "2022-08-03 17:53:14.021865", "rc": 0, "start": "2022-08-03 17:53:13.819385" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:53:15 +0000 (0:00:00.567) 0:00:03.865 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/tests_provider_nm.yml:9 Wednesday 03 August 2022 17:53:15 +0000 (0:00:00.021) 0:00:03.887 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tests_provider_nm.yml:16 Wednesday 03 August 2022 17:53:15 +0000 (0:00:00.027) 0:00:03.914 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/tests_provider_nm.yml:20 Wednesday 03 August 2022 17:53:18 +0000 (0:00:02.675) 0:00:06.589 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.010986", "end": "2022-08-03 17:53:17.127696", "rc": 0, "start": "2022-08-03 17:53:17.116710" } STDOUT: 1.39.10 META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_provider.yml:3 Wednesday 03 August 2022 17:53:18 +0000 (0:00:00.407) 0:00:06.997 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_provider.yml:10 Wednesday 03 August 2022 17:53:19 +0000 (0:00:00.803) 0:00:07.801 ****** ok: [/cache/centos-8.qcow2] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_provider.yml:18 Wednesday 03 August 2022 17:53:19 +0000 (0:00:00.047) 0:00:07.849 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I can manage a veth interface with NM after I managed it with initscripts.] *** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:53:19 +0000 (0:00:00.051) 0:00:07.900 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I can manage a veth interface with NM after I managed it with initscripts. ########## TASK [Show item] *************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:53:19 +0000 (0:00:00.077) 0:00:07.978 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can manage a veth interface with NM after I managed it with initscripts." } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/setup_test_interface.yml", "tasks/provider/default_with_nm.yml", "tasks/provider/create_and_remove_with_initscripts.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/provider/create_with_nm.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/centos-8.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:53:19 +0000 (0:00:00.183) 0:00:08.161 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:53:19 +0000 (0:00:00.049) 0:00:08.210 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:53:19 +0000 (0:00:00.045) 0:00:08.256 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003660", "end": "2022-08-03 17:53:18.808651", "rc": 0, "start": "2022-08-03 17:53:18.804991" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.395) 0:00:08.651 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.048) 0:00:08.700 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [setup] ******************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.048) 0:00:08.748 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_test_interface.yml for /cache/centos-8.qcow2 => (item=tasks/setup_test_interface.yml) included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/provider/default_with_nm.yml for /cache/centos-8.qcow2 => (item=tasks/provider/default_with_nm.yml) included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/provider/create_and_remove_with_initscripts.yml for /cache/centos-8.qcow2 => (item=tasks/provider/create_and_remove_with_initscripts.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_test_interface.yml:3 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.076) 0:00:08.824 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/centos-8.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.054) 0:00:08.879 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.038) 0:00:08.918 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.039) 0:00:08.957 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.049) 0:00:09.006 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.056) 0:00:09.062 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003478", "end": "2022-08-03 17:53:19.628804", "rc": 0, "start": "2022-08-03 17:53:19.625326" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:53:20 +0000 (0:00:00.406) 0:00:09.468 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:53:21 +0000 (0:00:00.049) 0:00:09.518 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:53:21 +0000 (0:00:00.047) 0:00:09.565 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:53:23 +0000 (0:00:01.951) 0:00:11.516 ****** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. changed: [/cache/centos-8.qcow2] => (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.009131", "end": "2022-08-03 17:53:22.078110", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 17:53:22.068979" } changed: [/cache/centos-8.qcow2] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.013389", "end": "2022-08-03 17:53:22.448621", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 17:53:22.435232" } changed: [/cache/centos-8.qcow2] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.005810", "end": "2022-08-03 17:53:22.814266", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 17:53:22.808456" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:53:24 +0000 (0:00:01.143) 0:00:12.659 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.024266", "end": "2022-08-03 17:53:23.244347", "rc": 0, "start": "2022-08-03 17:53:23.220081" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.431) 0:00:13.091 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.040) 0:00:13.131 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.038) 0:00:13.170 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.038) 0:00:13.209 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.039) 0:00:13.248 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/provider/default_with_nm.yml:3 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.045) 0:00:13.294 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.068) 0:00:13.362 ****** included: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:53:24 +0000 (0:00:00.057) 0:00:13.419 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:53:25 +0000 (0:00:00.536) 0:00:13.956 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:53:27 +0000 (0:00:01.673) 0:00:15.629 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:53:28 +0000 (0:00:01.487) 0:00:17.117 ****** ok: [/cache/centos-8.qcow2] => {} MSG: Using network provider: nm 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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:53:28 +0000 (0:00:00.065) 0:00:17.183 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:53:28 +0000 (0:00:00.058) 0:00:17.242 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:53:28 +0000 (0:00:00.054) 0:00:17.296 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:53:28 +0000 (0:00:00.076) 0:00:17.373 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:53:28 +0000 (0:00:00.056) 0:00:17.429 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:53:28 +0000 (0:00:00.056) 0:00:17.485 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:53:29 +0000 (0:00:00.056) 0:00:17.542 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:53:29 +0000 (0:00:00.800) 0:00:18.342 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:53:29 +0000 (0:00:00.055) 0:00:18.398 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:53:29 +0000 (0:00:00.056) 0:00:18.455 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:53:30 +0000 (0:00:00.059) 0:00:18.515 ****** ok: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:53:30 +0000 (0:00:00.779) 0:00:19.295 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:53:30 +0000 (0:00:00.053) 0:00:19.348 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:53:30 +0000 (0:00:00.063) 0:00:19.412 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:53:30 +0000 (0:00:00.064) 0:00:19.477 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:53:31 +0000 (0:00:00.053) 0:00:19.531 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:3 Wednesday 03 August 2022 17:53:31 +0000 (0:00:00.558) 0:00:20.089 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:53:31 +0000 (0:00:00.100) 0:00:20.190 ****** included: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:53:31 +0000 (0:00:00.086) 0:00:20.277 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:53:32 +0000 (0:00:00.626) 0:00:20.904 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:53:33 +0000 (0:00:01.522) 0:00:22.426 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:53:35 +0000 (0:00:01.197) 0:00:23.624 ****** ok: [/cache/centos-8.qcow2] => {} 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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:53:35 +0000 (0:00:00.162) 0:00:23.786 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:53:35 +0000 (0:00:00.055) 0:00:23.842 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:53:35 +0000 (0:00:00.052) 0:00:23.894 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:53:35 +0000 (0:00:00.075) 0:00:23.970 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:53:35 +0000 (0:00:00.051) 0:00:24.022 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:53:35 +0000 (0:00:00.055) 0:00:24.077 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:53:35 +0000 (0:00:00.058) 0:00:24.136 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:53:35 +0000 (0:00:00.055) 0:00:24.191 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:53:35 +0000 (0:00:00.058) 0:00:24.250 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:53:36 +0000 (0:00:00.564) 0:00:24.815 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-164612343ihvq2/tmpd_awfbr7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:53:36 +0000 (0:00:00.413) 0:00:25.228 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:53:41 +0000 (0:00:04.702) 0:00:29.931 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:53:41 +0000 (0:00:00.054) 0:00:29.985 ****** ok: [/cache/centos-8.qcow2] => { "__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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:53:41 +0000 (0:00:00.062) 0:00:30.048 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:53:41 +0000 (0:00:00.068) 0:00:30.116 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:53:41 +0000 (0:00:00.091) 0:00:30.208 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:16 Wednesday 03 August 2022 17:53:42 +0000 (0:00:00.434) 0:00:30.643 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:53:42 +0000 (0:00:00.107) 0:00:30.751 ****** included: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:53:42 +0000 (0:00:00.081) 0:00:30.832 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:53:42 +0000 (0:00:00.545) 0:00:31.378 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:53:44 +0000 (0:00:01.496) 0:00:32.874 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:53:45 +0000 (0:00:01.156) 0:00:34.031 ****** ok: [/cache/centos-8.qcow2] => {} 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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.067) 0:00:34.098 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.056) 0:00:34.154 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.056) 0:00:34.210 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.081) 0:00:34.292 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.092) 0:00:34.384 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.057) 0:00:34.441 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.055) 0:00:34.497 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:53:46 +0000 (0:00:00.054) 0:00:34.552 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:53:46 +0000 (0:00:00.055) 0:00:34.607 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:53:46 +0000 (0:00:00.568) 0:00:35.176 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-164612343ihvq2/tmpydmb34hy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:53:47 +0000 (0:00:00.426) 0:00:35.603 ****** changed: [/cache/centos-8.qcow2] => { "_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='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:53:47 +0000 (0:00:00.645) 0:00:36.248 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:53:47 +0000 (0:00:00.056) 0:00:36.305 ****** ok: [/cache/centos-8.qcow2] => { "__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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:53:47 +0000 (0:00:00.144) 0:00:36.449 ****** ok: [/cache/centos-8.qcow2] => { "__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, "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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:53:48 +0000 (0:00:00.069) 0:00:36.518 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:53:48 +0000 (0:00:00.053) 0:00:36.572 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [test] ******************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:53:48 +0000 (0:00:00.412) 0:00:36.984 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/provider/create_with_nm.yml for /cache/centos-8.qcow2 => (item=tasks/provider/create_with_nm.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/provider/create_with_nm.yml:3 Wednesday 03 August 2022 17:53:48 +0000 (0:00:00.083) 0:00:37.068 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:53:48 +0000 (0:00:00.091) 0:00:37.160 ****** included: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:53:48 +0000 (0:00:00.087) 0:00:37.247 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:53:49 +0000 (0:00:00.555) 0:00:37.803 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:53:50 +0000 (0:00:01.572) 0:00:39.376 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:53:52 +0000 (0:00:01.160) 0:00:40.536 ****** ok: [/cache/centos-8.qcow2] => {} MSG: Using network provider: nm 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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.066) 0:00:40.603 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.090) 0:00:40.693 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.055) 0:00:40.749 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.077) 0:00:40.827 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.055) 0:00:40.883 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.054) 0:00:40.938 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.058) 0:00:40.996 ****** ok: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.556) 0:00:41.553 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.061) 0:00:41.614 ****** skipping: [/cache/centos-8.qcow2] => { "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/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.051) 0:00:41.666 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.054) 0:00:41.721 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 10b17a75-a26a-4021-87e7-f5822ad9a137 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 10b17a75-a26a-4021-87e7-f5822ad9a137 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.601) 0:00:42.322 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.092) 0:00:42.414 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 10b17a75-a26a-4021-87e7-f5822ad9a137", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 10b17a75-a26a-4021-87e7-f5822ad9a137 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.066) 0:00:42.480 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 10b17a75-a26a-4021-87e7-f5822ad9a137\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 10b17a75-a26a-4021-87e7-f5822ad9a137 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 10b17a75-a26a-4021-87e7-f5822ad9a137", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 10b17a75-a26a-4021-87e7-f5822ad9a137 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.067) 0:00:42.548 ****** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.054) 0:00:42.602 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [asserts] ***************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.422) 0:00:43.025 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-8.qcow2 => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.091) 0:00:43.116 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.083) 0:00:43.200 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.060) 0:00:43.260 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659549232.4520774, "block_size": 4096, "blocks": 8, "ctime": 1659549232.4210773, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4202060, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549232.4210773, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:53:55 +0000 (0:00:00.408) 0:00:43.669 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:53:55 +0000 (0:00:00.153) 0:00:43.822 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep testnic1 | grep /etc", "delta": "0:00:00.020036", "end": "2022-08-03 17:53:54.377343", "rc": 0, "start": "2022-08-03 17:53:54.357307" } STDOUT: testnic1 /etc/sysconfig/network-scripts/ifcfg-testnic1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:53:55 +0000 (0:00:00.423) 0:00:44.246 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-testnic1] *********************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:53:55 +0000 (0:00:00.067) 0:00:44.313 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-testnic1] ******************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:53:55 +0000 (0:00:00.061) 0:00:44.374 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'testnic1' is present] ******************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:53:55 +0000 (0:00:00.059) 0:00:44.433 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'testnic1' is present] ************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:53:56 +0000 (0:00:00.069) 0:00:44.503 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:53:56 +0000 (0:00:00.067) 0:00:44.571 ****** TASK [Success in test 'I can manage a veth interface with NM after I managed it with initscripts.'] *** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:53:56 +0000 (0:00:00.046) 0:00:44.618 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I can manage a veth interface with NM after I managed it with initscripts.' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:53:56 +0000 (0:00:00.064) 0:00:44.682 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-8.qcow2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:53:56 +0000 (0:00:00.086) 0:00:44.769 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli con delete testnic1\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-testnic1\nrm -f /etc/sysconfig/network-scripts/ifcfg-testnic1\nip link del testnic1\n", "delta": "0:00:00.050358", "end": "2022-08-03 17:53:55.356004", "rc": 0, "start": "2022-08-03 17:53:55.305646" } STDOUT: Connection 'testnic1' (10b17a75-a26a-4021-87e7-f5822ad9a137) successfully deleted. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=89 changed=9 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Wednesday 03 August 2022 17:53:56 +0000 (0:00:00.503) 0:00:45.272 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 4.70s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install NetworkManager -------------------------------------------------- 2.68s /tmp/tmpjloc5qmw/tests/network/tests_provider_nm.yml:16 ----------------------- Install iproute --------------------------------------------------------- 1.95s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.20s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface testnic1 ------------------------------------------ 1.14s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmpjloc5qmw/tests/network/tests_provider_nm.yml:5 ------------------------ Enable HA repos --------------------------------------------------------- 0.85s /cache/centos-8_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpjloc5qmw/tests/network/playbooks/tests_provider.yml:3 ----------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.80s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.65s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.63s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.60s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpjloc5qmw/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:53:56 +0000 (0:00:00.046) 0:00:45.319 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006987", "end": "2022-08-03 17:53:55.862027", "rc": 0, "start": "2022-08-03 17:53:55.855040" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=90 changed=10 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Wednesday 03 August 2022 17:53:57 +0000 (0:00:00.433) 0:00:45.753 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 4.70s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install NetworkManager -------------------------------------------------- 2.68s /tmp/tmpjloc5qmw/tests/network/tests_provider_nm.yml:16 ----------------------- Install iproute --------------------------------------------------------- 1.95s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.20s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Create veth interface testnic1 ------------------------------------------ 1.14s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmpjloc5qmw/tests/network/tests_provider_nm.yml:5 ------------------------ Enable HA repos --------------------------------------------------------- 0.85s /cache/centos-8_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpjloc5qmw/tests/network/playbooks/tests_provider.yml:3 ----------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.80s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.65s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.63s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.60s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106