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:19:25 +0000 (0:00:00.018) 0:00:00.018 ****** 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.222509", "end": "2022-08-03 17:19:25.129957", "rc": 0, "start": "2022-08-03 17:19:24.907448" } 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:19:26 +0000 (0:00:00.827) 0:00:00.845 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.83s /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:19:26 +0000 (0:00:00.016) 0:00:00.862 ****** ok: [/cache/centos-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659547164.6562848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547163.654285, "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": "4030667810", "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:19:26 +0000 (0:00:00.502) 0:00:01.365 ****** [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': 1659547164.6562848, 'mtime': 1659545238.0, 'ctime': 1659547163.654285, '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': '4030667810', '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": 1659547164.6562848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547163.654285, "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": "4030667810", "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:19:26 +0000 (0:00:00.075) 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.004507", "end": "2022-08-03 17:19:26.118138", "rc": 0, "start": "2022-08-03 17:19:26.113631" } 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:19:27 +0000 (0:00:00.391) 0:00:01.832 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.83s /cache/centos-8_setup.yml:5 --------------------------------------------------- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmp650e3cfh/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.39s /tmp/tmp650e3cfh/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.08s /tmp/tmp650e3cfh/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/tmp650e3cfh/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp650e3cfh/tests/tests_states_nm.yml:5 Wednesday 03 August 2022 17:19:27 +0000 (0:00:00.015) 0:00:01.848 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tests_states_nm.yml:8 Wednesday 03 August 2022 17:19:28 +0000 (0:00:01.064) 0:00:02.912 ****** 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:19:28 +0000 (0:00:00.026) 0:00:02.938 ****** 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:19:28 +0000 (0:00:00.021) 0:00:02.960 ****** 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:19:28 +0000 (0:00:00.028) 0:00:02.988 ****** 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:19:28 +0000 (0:00:00.371) 0:00:03.360 ****** 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:19:28 +0000 (0:00:00.023) 0:00:03.383 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.207217", "end": "2022-08-03 17:19:28.257477", "rc": 0, "start": "2022-08-03 17:19:28.050260" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:19:29 +0000 (0:00:00.585) 0:00:03.968 ****** 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_states_nm.yml:9 Wednesday 03 August 2022 17:19:29 +0000 (0:00:00.020) 0:00:03.989 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tests_states.yml:3 Wednesday 03 August 2022 17:19:29 +0000 (0:00:00.043) 0:00:04.032 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_states.yml:10 Wednesday 03 August 2022 17:19:30 +0000 (0:00:00.814) 0:00:04.847 ****** ok: [/cache/centos-8.qcow2] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_states.yml:18 Wednesday 03 August 2022 17:19:30 +0000 (0:00:00.030) 0:00:04.877 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:19:30 +0000 (0:00:00.033) 0:00:04.911 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:19:30 +0000 (0:00:00.033) 0:00:04.945 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.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": [ { "what": "tasks/assert_device_present.yml", "when": true } ] } 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:19:30 +0000 (0:00:00.139) 0:00:05.084 ****** 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:19:30 +0000 (0:00:00.032) 0:00:05.117 ****** 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:19:30 +0000 (0:00:00.030) 0:00:05.147 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003613", "end": "2022-08-03 17:19:29.826734", "rc": 0, "start": "2022-08-03 17:19:29.823121" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:19:30 +0000 (0:00:00.391) 0:00:05.539 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:19:30 +0000 (0:00:00.034) 0:00:05.573 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:19:30 +0000 (0:00:00.030) 0:00:05.603 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/delete_interface.yml for /cache/centos-8.qcow2 => (item=tasks/delete_interface.yml) included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-8.qcow2 => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:19:30 +0000 (0:00:00.038) 0:00:05.642 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009105", "end": "2022-08-03 17:19:30.341087", "rc": 1, "start": "2022-08-03 17:19:30.331982" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:19:31 +0000 (0:00:00.405) 0:00:06.048 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:19:31 +0000 (0:00:00.033) 0:00:06.081 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:19:31 +0000 (0:00:00.384) 0:00:06.465 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:19:31 +0000 (0:00:00.034) 0:00:06.500 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml for /cache/centos-8.qcow2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:19:31 +0000 (0:00:00.037) 0:00:06.538 ****** 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:19:31 +0000 (0:00:00.049) 0:00:06.588 ****** 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:19:31 +0000 (0:00:00.041) 0:00:06.630 ****** 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:19:32 +0000 (0:00:00.553) 0:00:07.183 ****** 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:19:34 +0000 (0:00:01.639) 0:00:08.823 ****** 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:19:35 +0000 (0:00:01.417) 0:00:10.240 ****** 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:19:35 +0000 (0:00:00.047) 0:00:10.288 ****** 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:19:35 +0000 (0:00:00.068) 0:00:10.357 ****** 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:19:35 +0000 (0:00:00.052) 0:00:10.409 ****** 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:19:35 +0000 (0:00:00.075) 0:00:10.485 ****** 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:19:35 +0000 (0:00:00.049) 0:00:10.534 ****** 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:19:35 +0000 (0:00:00.040) 0:00:10.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:19:35 +0000 (0:00:00.055) 0:00:10.630 ****** 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:19:36 +0000 (0:00:00.828) 0:00:11.458 ****** 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:19:36 +0000 (0:00:00.057) 0:00:11.516 ****** 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:19:36 +0000 (0:00:00.036) 0:00:11.553 ****** 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:19:36 +0000 (0:00:00.037) 0:00:11.590 ****** 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": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 548bfe53-b1ce-4824-ac3b-d62f4aee86e6 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:19:37 +0000 (0:00:00.838) 0:00:12.429 ****** 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:19:37 +0000 (0:00:00.042) 0:00:12.471 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 548bfe53-b1ce-4824-ac3b-d62f4aee86e6" ] } 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:19:37 +0000 (0:00:00.046) 0:00:12.518 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 548bfe53-b1ce-4824-ac3b-d62f4aee86e6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 548bfe53-b1ce-4824-ac3b-d62f4aee86e6" ] } } 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:19:37 +0000 (0:00:00.050) 0:00:12.569 ****** 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:19:37 +0000 (0:00:00.040) 0:00:12.609 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:19:38 +0000 (0:00:00.556) 0:00:13.166 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 548bfe53-b1ce-4824-ac3b-d62f4aee86e6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 548bfe53-b1ce-4824-ac3b-d62f4aee86e6" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:19:38 +0000 (0:00:00.050) 0:00:13.216 ****** 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:19:38 +0000 (0:00:00.066) 0:00:13.283 ****** 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:19:38 +0000 (0:00:00.063) 0:00:13.347 ****** 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:19:38 +0000 (0:00:00.046) 0:00:13.393 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547176.7122848, "block_size": 4096, "blocks": 8, "ctime": 1659547176.6592848, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4202199, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547176.6592848, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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:19:39 +0000 (0:00:00.431) 0:00:13.825 ****** 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:19:39 +0000 (0:00:00.050) 0:00:13.875 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024652", "end": "2022-08-03 17:19:38.571464", "rc": 0, "start": "2022-08-03 17:19:38.546812" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr 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:19:39 +0000 (0:00:00.423) 0:00:14.299 ****** 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-statebr] ************************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:19:39 +0000 (0:00:00.048) 0:00:14.347 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:19:39 +0000 (0:00:00.040) 0:00:14.388 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:19:39 +0000 (0:00:00.039) 0:00:14.428 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:19:39 +0000 (0:00:00.048) 0:00:14.476 ****** 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:19:39 +0000 (0:00:00.048) 0:00:14.525 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 => (item={'what': 'tasks/assert_device_present.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:19:39 +0000 (0:00:00.077) 0:00:14.602 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:19:39 +0000 (0:00:00.058) 0:00:14.660 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547176.6623263, "block_size": 4096, "blocks": 0, "ctime": 1659547176.6623263, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37803, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1659547176.6623263, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface statebr is present] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:19:40 +0000 (0:00:00.406) 0:00:15.066 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:19:40 +0000 (0:00:00.047) 0:00:15.114 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:19:40 +0000 (0:00:00.045) 0:00:15.160 ****** 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:19:40 +0000 (0:00:00.067) 0:00:15.227 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.058428", "end": "2022-08-03 17:19:39.968084", "rc": 1, "start": "2022-08-03 17:19:39.909656" } STDOUT: Connection 'statebr' (548bfe53-b1ce-4824-ac3b-d62f4aee86e6) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_states.yml:39 Wednesday 03 August 2022 17:19:41 +0000 (0:00:00.471) 0:00:15.698 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:19:41 +0000 (0:00:00.070) 0:00:15.768 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:19:41 +0000 (0:00:00.048) 0:00:15.817 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "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:19:41 +0000 (0:00:00.169) 0:00:15.987 ****** 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:19:41 +0000 (0:00:00.060) 0:00:16.048 ****** 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:19:41 +0000 (0:00:00.096) 0:00:16.145 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004043", "end": "2022-08-03 17:19:40.830651", "rc": 0, "start": "2022-08-03 17:19:40.826608" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:19:41 +0000 (0:00:00.412) 0:00:16.557 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:19:41 +0000 (0:00:00.046) 0:00:16.603 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:19:41 +0000 (0:00:00.052) 0:00:16.656 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/delete_interface.yml for /cache/centos-8.qcow2 => (item=tasks/delete_interface.yml) included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-8.qcow2 => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:19:42 +0000 (0:00:00.069) 0:00:16.725 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007473", "end": "2022-08-03 17:19:41.413838", "rc": 1, "start": "2022-08-03 17:19:41.406365" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:19:42 +0000 (0:00:00.417) 0:00:17.143 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:19:42 +0000 (0:00:00.062) 0:00:17.205 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:19:42 +0000 (0:00:00.394) 0:00:17.600 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:19:42 +0000 (0:00:00.050) 0:00:17.651 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for /cache/centos-8.qcow2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 03 August 2022 17:19:43 +0000 (0:00:00.096) 0:00:17.748 ****** 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:19:43 +0000 (0:00:00.069) 0:00:17.817 ****** 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:19:43 +0000 (0:00:00.063) 0:00:17.880 ****** 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:19:43 +0000 (0:00:00.549) 0:00:18.429 ****** 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:19:45 +0000 (0:00:01.575) 0:00:20.004 ****** 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:19:46 +0000 (0:00:01.225) 0:00:21.230 ****** 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:19:46 +0000 (0:00:00.050) 0:00:21.280 ****** 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:19:46 +0000 (0:00:00.041) 0:00:21.322 ****** 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:19:46 +0000 (0:00:00.039) 0:00:21.362 ****** 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:19:46 +0000 (0:00:00.079) 0:00:21.442 ****** 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:19:46 +0000 (0:00:00.039) 0:00:21.481 ****** 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:19:46 +0000 (0:00:00.042) 0:00:21.523 ****** 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:19:46 +0000 (0:00:00.058) 0:00:21.581 ****** 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:19:47 +0000 (0:00:00.654) 0:00:22.236 ****** 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:19:47 +0000 (0:00:00.056) 0:00:22.293 ****** 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:19:47 +0000 (0:00:00.033) 0:00:22.326 ****** 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:19:47 +0000 (0:00:00.035) 0:00:22.361 ****** 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": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb6bed69-76df-440e-b548-2eba3660e9c1 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:19:48 +0000 (0:00:00.569) 0:00:22.931 ****** 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:19:48 +0000 (0:00:00.040) 0:00:22.971 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb6bed69-76df-440e-b548-2eba3660e9c1" ] } 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:19:48 +0000 (0:00:00.049) 0:00:23.020 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb6bed69-76df-440e-b548-2eba3660e9c1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb6bed69-76df-440e-b548-2eba3660e9c1" ] } } 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:19:48 +0000 (0:00:00.045) 0:00:23.066 ****** 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:19:48 +0000 (0:00:00.040) 0:00:23.106 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 03 August 2022 17:19:48 +0000 (0:00:00.454) 0:00:23.560 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb6bed69-76df-440e-b548-2eba3660e9c1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb6bed69-76df-440e-b548-2eba3660e9c1" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:19:48 +0000 (0:00:00.054) 0:00:23.615 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-8.qcow2 => (item=tasks/assert_device_absent.yml) 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_device_absent.yml:3 Wednesday 03 August 2022 17:19:49 +0000 (0:00:00.072) 0:00:23.687 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:19:49 +0000 (0:00:00.058) 0:00:23.745 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:19:49 +0000 (0:00:00.382) 0:00:24.128 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:19:49 +0000 (0:00:00.048) 0:00:24.176 ****** 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:19:49 +0000 (0:00:00.059) 0:00:24.236 ****** 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:19:49 +0000 (0:00:00.045) 0:00:24.282 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547187.193285, "block_size": 4096, "blocks": 8, "ctime": 1659547187.193285, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4202199, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547187.193285, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "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:19:49 +0000 (0:00:00.375) 0:00:24.658 ****** 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:19:50 +0000 (0:00:00.148) 0:00:24.806 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021766", "end": "2022-08-03 17:19:49.511653", "rc": 0, "start": "2022-08-03 17:19:49.489887" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr 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:19:50 +0000 (0:00:00.430) 0:00:25.236 ****** 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-statebr] ************************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:19:50 +0000 (0:00:00.047) 0:00:25.283 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:19:50 +0000 (0:00:00.035) 0:00:25.319 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:19:50 +0000 (0:00:00.035) 0:00:25.355 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:19:50 +0000 (0:00:00.048) 0:00:25.403 ****** 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:19:50 +0000 (0:00:00.050) 0:00:25.454 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:19:50 +0000 (0:00:00.046) 0:00:25.501 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:19:50 +0000 (0:00:00.046) 0:00:25.547 ****** 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:19:50 +0000 (0:00:00.066) 0:00:25.614 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.040764", "end": "2022-08-03 17:19:50.319287", "rc": 1, "start": "2022-08-03 17:19:50.278523" } STDOUT: Connection 'statebr' (bb6bed69-76df-440e-b548-2eba3660e9c1) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_states.yml:57 Wednesday 03 August 2022 17:19:51 +0000 (0:00:00.429) 0:00:26.043 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:19:51 +0000 (0:00:00.095) 0:00:26.139 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:19:51 +0000 (0:00:00.047) 0:00:26.187 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "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:19:51 +0000 (0:00:00.123) 0:00:26.310 ****** 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:19:51 +0000 (0:00:00.060) 0:00:26.371 ****** 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:19:51 +0000 (0:00:00.058) 0:00:26.429 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003635", "end": "2022-08-03 17:19:51.101934", "rc": 0, "start": "2022-08-03 17:19:51.098299" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:19:52 +0000 (0:00:00.397) 0:00:26.827 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:19:52 +0000 (0:00:00.047) 0:00:26.875 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:19:52 +0000 (0:00:00.049) 0:00:26.924 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml for /cache/centos-8.qcow2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:19:52 +0000 (0:00:00.062) 0:00:26.986 ****** 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:19:52 +0000 (0:00:00.060) 0:00:27.047 ****** 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:19:52 +0000 (0:00:00.096) 0:00:27.144 ****** 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:19:53 +0000 (0:00:00.537) 0:00:27.681 ****** 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:19:54 +0000 (0:00:01.573) 0:00:29.254 ****** 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:19:55 +0000 (0:00:01.284) 0:00:30.538 ****** 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:19:55 +0000 (0:00:00.109) 0:00:30.648 ****** 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:19:56 +0000 (0:00:00.044) 0:00:30.693 ****** 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:19:56 +0000 (0:00:00.042) 0:00:30.735 ****** 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:19:56 +0000 (0:00:00.082) 0:00:30.818 ****** 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:19:56 +0000 (0:00:00.040) 0:00:30.858 ****** 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:19:56 +0000 (0:00:00.042) 0:00:30.900 ****** 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:19:56 +0000 (0:00:00.061) 0:00:30.961 ****** 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:19:56 +0000 (0:00:00.567) 0:00:31.529 ****** 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:19:56 +0000 (0:00:00.057) 0:00:31.586 ****** 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:19:56 +0000 (0:00:00.043) 0:00:31.629 ****** 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:19:57 +0000 (0:00:00.039) 0:00:31.669 ****** 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": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8adaea8-f589-4245-81d0-5a7412b175db 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:19:57 +0000 (0:00:00.678) 0:00:32.348 ****** 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:19:57 +0000 (0:00:00.058) 0:00:32.407 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8adaea8-f589-4245-81d0-5a7412b175db" ] } 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:19:57 +0000 (0:00:00.047) 0:00:32.454 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8adaea8-f589-4245-81d0-5a7412b175db\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8adaea8-f589-4245-81d0-5a7412b175db" ] } } 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:19:57 +0000 (0:00:00.051) 0:00:32.505 ****** 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:19:57 +0000 (0:00:00.040) 0:00:32.546 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:19:58 +0000 (0:00:00.409) 0:00:32.955 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8adaea8-f589-4245-81d0-5a7412b175db\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8adaea8-f589-4245-81d0-5a7412b175db" ] } } TASK [test] ******************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:19:58 +0000 (0:00:00.047) 0:00:33.003 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/activate_profile.yml for /cache/centos-8.qcow2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:19:58 +0000 (0:00:00.064) 0:00:33.067 ****** 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:19:58 +0000 (0:00:00.068) 0:00:33.136 ****** 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:19:58 +0000 (0:00:00.062) 0:00:33.198 ****** 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:19:59 +0000 (0:00:00.585) 0:00:33.783 ****** 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:20:00 +0000 (0:00:01.515) 0:00:35.299 ****** 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:20:01 +0000 (0:00:01.177) 0:00:36.476 ****** 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:20:01 +0000 (0:00:00.097) 0:00:36.574 ****** 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:20:01 +0000 (0:00:00.045) 0:00:36.619 ****** 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:20:02 +0000 (0:00:00.047) 0:00:36.667 ****** 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:20:02 +0000 (0:00:00.075) 0:00:36.742 ****** 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:20:02 +0000 (0:00:00.043) 0:00:36.786 ****** 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:20:02 +0000 (0:00:00.042) 0:00:36.828 ****** 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:20:02 +0000 (0:00:00.055) 0:00:36.884 ****** 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:20:02 +0000 (0:00:00.575) 0:00:37.460 ****** 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:20:02 +0000 (0:00:00.057) 0:00:37.517 ****** 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:20:02 +0000 (0:00:00.038) 0:00:37.556 ****** 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:20:02 +0000 (0:00:00.037) 0:00:37.593 ****** 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": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e8adaea8-f589-4245-81d0-5a7412b175db skipped because already active 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:20:03 +0000 (0:00:00.630) 0:00:38.224 ****** 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:20:03 +0000 (0:00:00.042) 0:00:38.266 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e8adaea8-f589-4245-81d0-5a7412b175db skipped because already active" ] } 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:20:03 +0000 (0:00:00.045) 0:00:38.311 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e8adaea8-f589-4245-81d0-5a7412b175db skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e8adaea8-f589-4245-81d0-5a7412b175db skipped because already active" ] } } 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:20:03 +0000 (0:00:00.052) 0:00:38.364 ****** 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:20:03 +0000 (0:00:00.046) 0:00:38.410 ****** 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:20:04 +0000 (0:00:00.404) 0:00:38.815 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 => (item=tasks/assert_device_present.yml) 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_device_present.yml:3 Wednesday 03 August 2022 17:20:04 +0000 (0:00:00.067) 0:00:38.883 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:20:04 +0000 (0:00:00.057) 0:00:38.941 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547196.5497842, "block_size": 4096, "blocks": 0, "ctime": 1659547196.5497842, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1659547196.5497842, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface statebr is present] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:20:04 +0000 (0:00:00.381) 0:00:39.322 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:20:04 +0000 (0:00:00.048) 0:00:39.371 ****** 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:20:04 +0000 (0:00:00.102) 0:00:39.473 ****** 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:20:04 +0000 (0:00:00.046) 0:00:39.520 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547196.5932848, "block_size": 4096, "blocks": 8, "ctime": 1659547196.5482848, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4202199, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547196.5482848, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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:20:05 +0000 (0:00:00.399) 0:00:39.919 ****** 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:20:05 +0000 (0:00:00.048) 0:00:39.967 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020871", "end": "2022-08-03 17:20:04.644003", "rc": 0, "start": "2022-08-03 17:20:04.623132" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr 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:20:05 +0000 (0:00:00.398) 0:00:40.366 ****** 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-statebr] ************************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:20:05 +0000 (0:00:00.052) 0:00:40.419 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:20:05 +0000 (0:00:00.041) 0:00:40.460 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:20:05 +0000 (0:00:00.042) 0:00:40.502 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:20:05 +0000 (0:00:00.054) 0:00:40.557 ****** 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:20:05 +0000 (0:00:00.050) 0:00:40.608 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:20:05 +0000 (0:00:00.045) 0:00:40.653 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:20:06 +0000 (0:00:00.050) 0:00:40.704 ****** 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:20:06 +0000 (0:00:00.133) 0:00:40.838 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.059801", "end": "2022-08-03 17:20:05.565822", "rc": 1, "start": "2022-08-03 17:20:05.506021" } STDOUT: Connection 'statebr' (e8adaea8-f589-4245-81d0-5a7412b175db) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_states.yml:73 Wednesday 03 August 2022 17:20:06 +0000 (0:00:00.453) 0:00:41.292 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:20:06 +0000 (0:00:00.063) 0:00:41.355 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:20:06 +0000 (0:00:00.047) 0:00:41.403 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.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:20:06 +0000 (0:00:00.114) 0:00:41.517 ****** 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:20:06 +0000 (0:00:00.063) 0:00:41.580 ****** 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:20:06 +0000 (0:00:00.069) 0:00:41.649 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002898", "end": "2022-08-03 17:20:06.319425", "rc": 0, "start": "2022-08-03 17:20:06.316527" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:20:07 +0000 (0:00:00.396) 0:00:42.046 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:20:07 +0000 (0:00:00.044) 0:00:42.090 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:20:07 +0000 (0:00:00.135) 0:00:42.226 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml for /cache/centos-8.qcow2 => (item=tasks/create_bridge_profile.yml) included: /tmp/tmp650e3cfh/tests/playbooks/tasks/activate_profile.yml for /cache/centos-8.qcow2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:20:07 +0000 (0:00:00.071) 0:00:42.298 ****** 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:20:07 +0000 (0:00:00.061) 0:00:42.359 ****** 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:20:07 +0000 (0:00:00.064) 0:00:42.424 ****** 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:20:08 +0000 (0:00:00.542) 0:00:42.967 ****** 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:20:09 +0000 (0:00:01.527) 0:00:44.495 ****** 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:20:11 +0000 (0:00:01.167) 0:00:45.663 ****** 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:20:11 +0000 (0:00:00.048) 0:00:45.711 ****** 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:20:11 +0000 (0:00:00.041) 0:00:45.752 ****** 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:20:11 +0000 (0:00:00.048) 0:00:45.801 ****** 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:20:11 +0000 (0:00:00.081) 0:00:45.883 ****** 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:20:11 +0000 (0:00:00.044) 0:00:45.927 ****** 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:20:11 +0000 (0:00:00.042) 0:00:45.969 ****** 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:20:11 +0000 (0:00:00.108) 0:00:46.078 ****** 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:20:12 +0000 (0:00:00.588) 0:00:46.666 ****** 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:20:12 +0000 (0:00:00.060) 0:00:46.726 ****** 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:20:12 +0000 (0:00:00.038) 0:00:46.765 ****** 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:20:12 +0000 (0:00:00.035) 0:00:46.800 ****** 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": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 47047566-c488-4a6a-8068-d29eb1e090a0 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:20:12 +0000 (0:00:00.588) 0:00:47.389 ****** 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:20:12 +0000 (0:00:00.039) 0:00:47.428 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 47047566-c488-4a6a-8068-d29eb1e090a0" ] } 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:20:12 +0000 (0:00:00.045) 0:00:47.473 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 47047566-c488-4a6a-8068-d29eb1e090a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 47047566-c488-4a6a-8068-d29eb1e090a0" ] } } 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:20:12 +0000 (0:00:00.051) 0:00:47.525 ****** 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:20:12 +0000 (0:00:00.040) 0:00:47.565 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:20:13 +0000 (0:00:00.416) 0:00:47.981 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 47047566-c488-4a6a-8068-d29eb1e090a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 47047566-c488-4a6a-8068-d29eb1e090a0" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:20:13 +0000 (0:00:00.046) 0:00:48.028 ****** 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:20:13 +0000 (0:00:00.059) 0:00:48.087 ****** 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:20:13 +0000 (0:00:00.062) 0:00:48.149 ****** 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:20:14 +0000 (0:00:00.536) 0:00:48.686 ****** 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:20:15 +0000 (0:00:01.518) 0:00:50.204 ****** 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:20:16 +0000 (0:00:01.219) 0:00:51.423 ****** 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:20:16 +0000 (0:00:00.050) 0:00:51.474 ****** 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:20:16 +0000 (0:00:00.038) 0:00:51.512 ****** 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:20:16 +0000 (0:00:00.044) 0:00:51.556 ****** 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:20:16 +0000 (0:00:00.084) 0:00:51.640 ****** 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:20:17 +0000 (0:00:00.045) 0:00:51.686 ****** 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:20:17 +0000 (0:00:00.085) 0:00:51.771 ****** 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:20:17 +0000 (0:00:00.054) 0:00:51.826 ****** 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:20:17 +0000 (0:00:00.579) 0:00:52.405 ****** 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:20:17 +0000 (0:00:00.054) 0:00:52.459 ****** 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:20:17 +0000 (0:00:00.036) 0:00:52.496 ****** 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:20:17 +0000 (0:00:00.034) 0:00:52.531 ****** 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": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 47047566-c488-4a6a-8068-d29eb1e090a0 skipped because already active 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:20:18 +0000 (0:00:00.559) 0:00:53.091 ****** 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:20:18 +0000 (0:00:00.038) 0:00:53.129 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 47047566-c488-4a6a-8068-d29eb1e090a0 skipped because already active" ] } 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:20:18 +0000 (0:00:00.046) 0:00:53.176 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 47047566-c488-4a6a-8068-d29eb1e090a0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 47047566-c488-4a6a-8068-d29eb1e090a0 skipped because already active" ] } } 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:20:18 +0000 (0:00:00.048) 0:00:53.224 ****** 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:20:18 +0000 (0:00:00.043) 0:00:53.267 ****** 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:20:19 +0000 (0:00:00.452) 0:00:53.720 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/remove_profile.yml for /cache/centos-8.qcow2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 03 August 2022 17:20:19 +0000 (0:00:00.066) 0:00:53.787 ****** 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:20:19 +0000 (0:00:00.068) 0:00:53.855 ****** 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:20:19 +0000 (0:00:00.063) 0:00:53.919 ****** 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:20:19 +0000 (0:00:00.548) 0:00:54.467 ****** 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:20:21 +0000 (0:00:01.538) 0:00:56.006 ****** 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:20:22 +0000 (0:00:01.232) 0:00:57.238 ****** 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:20:22 +0000 (0:00:00.047) 0:00:57.285 ****** 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:20:22 +0000 (0:00:00.041) 0:00:57.327 ****** 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:20:22 +0000 (0:00:00.039) 0:00:57.366 ****** 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:20:22 +0000 (0:00:00.144) 0:00:57.511 ****** 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:20:22 +0000 (0:00:00.039) 0:00:57.550 ****** 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:20:22 +0000 (0:00:00.040) 0:00:57.590 ****** 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:20:22 +0000 (0:00:00.055) 0:00:57.645 ****** 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:20:23 +0000 (0:00:00.564) 0:00:58.210 ****** 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:20:23 +0000 (0:00:00.054) 0:00:58.265 ****** 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:20:23 +0000 (0:00:00.035) 0:00:58.300 ****** 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:20:23 +0000 (0:00:00.035) 0:00:58.335 ****** 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": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } 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:20:24 +0000 (0:00:00.585) 0:00:58.920 ****** 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:20:24 +0000 (0:00:00.041) 0:00:58.962 ****** 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:20:24 +0000 (0:00:00.049) 0:00:59.012 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "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:20:24 +0000 (0:00:00.111) 0:00:59.124 ****** 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:20:24 +0000 (0:00:00.042) 0:00:59.166 ****** 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:20:24 +0000 (0:00:00.422) 0:00:59.589 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 => (item=tasks/assert_device_present.yml) included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_absent.yml for /cache/centos-8.qcow2 => (item=tasks/assert_profile_absent.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:20:24 +0000 (0:00:00.071) 0:00:59.661 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:20:25 +0000 (0:00:00.061) 0:00:59.722 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659547211.626393, "block_size": 4096, "blocks": 0, "ctime": 1659547211.626393, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38065, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1659547211.626393, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface statebr is present] ******************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:20:25 +0000 (0:00:00.398) 0:01:00.120 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:20:25 +0000 (0:00:00.050) 0:01:00.170 ****** 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:20:25 +0000 (0:00:00.064) 0:01:00.234 ****** 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:20:25 +0000 (0:00:00.048) 0:01:00.283 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": 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:20:26 +0000 (0:00:00.442) 0:01:00.725 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:20:26 +0000 (0:00:00.039) 0:01:00.765 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022434", "end": "2022-08-03 17:20:25.459364", "rc": 1, "start": "2022-08-03 17:20:25.436930" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:20:26 +0000 (0:00:00.424) 0:01:01.189 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:20:26 +0000 (0:00:00.037) 0:01:01.227 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:20:26 +0000 (0:00:00.039) 0:01:01.266 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:20:26 +0000 (0:00:00.035) 0:01:01.301 ****** 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:20:26 +0000 (0:00:00.051) 0:01:01.353 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:20:26 +0000 (0:00:00.048) 0:01:01.401 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:20:26 +0000 (0:00:00.048) 0:01:01.450 ****** 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:20:26 +0000 (0:00:00.064) 0:01:01.514 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.071230", "end": "2022-08-03 17:20:26.274335", "rc": 1, "start": "2022-08-03 17:20:26.203105" } STDOUT: Connection 'statebr' (47047566-c488-4a6a-8068-d29eb1e090a0) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_states.yml:91 Wednesday 03 August 2022 17:20:27 +0000 (0:00:00.523) 0:01:02.037 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:20:27 +0000 (0:00:00.060) 0:01:02.097 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:20:27 +0000 (0:00:00.046) 0:01:02.144 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_absent.yml", "when": true } ] } 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:20:27 +0000 (0:00:00.111) 0:01:02.255 ****** 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:20:27 +0000 (0:00:00.058) 0:01:02.314 ****** 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:20:27 +0000 (0:00:00.060) 0:01:02.375 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003920", "end": "2022-08-03 17:20:27.066997", "rc": 0, "start": "2022-08-03 17:20:27.063077" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:20:28 +0000 (0:00:00.420) 0:01:02.795 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:20:28 +0000 (0:00:00.051) 0:01:02.847 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:20:28 +0000 (0:00:00.049) 0:01:02.896 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml for /cache/centos-8.qcow2 => (item=tasks/create_bridge_profile.yml) included: /tmp/tmp650e3cfh/tests/playbooks/tasks/activate_profile.yml for /cache/centos-8.qcow2 => (item=tasks/activate_profile.yml) included: /tmp/tmp650e3cfh/tests/playbooks/tasks/remove_profile.yml for /cache/centos-8.qcow2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:20:28 +0000 (0:00:00.068) 0:01:02.964 ****** 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:20:28 +0000 (0:00:00.105) 0:01:03.070 ****** 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:20:28 +0000 (0:00:00.082) 0:01:03.153 ****** 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:20:29 +0000 (0:00:00.556) 0:01:03.709 ****** 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:20:30 +0000 (0:00:01.591) 0:01:05.301 ****** 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:20:31 +0000 (0:00:01.335) 0:01:06.637 ****** 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:20:32 +0000 (0:00:00.051) 0:01:06.689 ****** 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:20:32 +0000 (0:00:00.039) 0:01:06.728 ****** 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:20:32 +0000 (0:00:00.041) 0:01:06.770 ****** 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:20:32 +0000 (0:00:00.078) 0:01:06.848 ****** 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:20:32 +0000 (0:00:00.046) 0:01:06.895 ****** 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:20:32 +0000 (0:00:00.044) 0:01:06.940 ****** 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:20:32 +0000 (0:00:00.057) 0:01:06.997 ****** 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:20:32 +0000 (0:00:00.574) 0:01:07.572 ****** 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:20:32 +0000 (0:00:00.058) 0:01:07.631 ****** 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:20:33 +0000 (0:00:00.037) 0:01:07.668 ****** 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:20:33 +0000 (0:00:00.038) 0:01:07.706 ****** 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": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b1738bc-ac36-488f-b61f-6262a9db2ea6 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:20:33 +0000 (0:00:00.659) 0:01:08.365 ****** 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:20:33 +0000 (0:00:00.046) 0:01:08.412 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b1738bc-ac36-488f-b61f-6262a9db2ea6" ] } 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:20:33 +0000 (0:00:00.048) 0:01:08.461 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b1738bc-ac36-488f-b61f-6262a9db2ea6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b1738bc-ac36-488f-b61f-6262a9db2ea6" ] } } 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:20:33 +0000 (0:00:00.045) 0:01:08.507 ****** 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:20:33 +0000 (0:00:00.038) 0:01:08.546 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:20:34 +0000 (0:00:00.415) 0:01:08.961 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b1738bc-ac36-488f-b61f-6262a9db2ea6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b1738bc-ac36-488f-b61f-6262a9db2ea6" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:20:34 +0000 (0:00:00.055) 0:01:09.016 ****** 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:20:34 +0000 (0:00:00.062) 0:01:09.079 ****** 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:20:34 +0000 (0:00:00.069) 0:01:09.148 ****** 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:20:35 +0000 (0:00:00.593) 0:01:09.742 ****** 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:20:36 +0000 (0:00:01.576) 0:01:11.318 ****** 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:20:37 +0000 (0:00:01.212) 0:01:12.531 ****** 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:20:37 +0000 (0:00:00.046) 0:01:12.577 ****** 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:20:37 +0000 (0:00:00.047) 0:01:12.624 ****** 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:20:38 +0000 (0:00:00.048) 0:01:12.672 ****** 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:20:38 +0000 (0:00:00.080) 0:01:12.753 ****** 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:20:38 +0000 (0:00:00.042) 0:01:12.795 ****** 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:20:38 +0000 (0:00:00.043) 0:01:12.839 ****** 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:20:38 +0000 (0:00:00.057) 0:01:12.897 ****** 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:20:38 +0000 (0:00:00.559) 0:01:13.456 ****** 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:20:38 +0000 (0:00:00.062) 0:01:13.518 ****** 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:20:38 +0000 (0:00:00.038) 0:01:13.557 ****** 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:20:38 +0000 (0:00:00.038) 0:01:13.596 ****** 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": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1b1738bc-ac36-488f-b61f-6262a9db2ea6 skipped because already active 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:20:39 +0000 (0:00:00.656) 0:01:14.252 ****** 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:20:39 +0000 (0:00:00.040) 0:01:14.292 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1b1738bc-ac36-488f-b61f-6262a9db2ea6 skipped because already active" ] } 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:20:39 +0000 (0:00:00.045) 0:01:14.338 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1b1738bc-ac36-488f-b61f-6262a9db2ea6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1b1738bc-ac36-488f-b61f-6262a9db2ea6 skipped because already active" ] } } 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:20:39 +0000 (0:00:00.047) 0:01:14.386 ****** 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:20:39 +0000 (0:00:00.038) 0:01:14.425 ****** 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/remove_profile.yml:3 Wednesday 03 August 2022 17:20:40 +0000 (0:00:00.411) 0:01:14.836 ****** 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:20:40 +0000 (0:00:00.064) 0:01:14.901 ****** 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:20:40 +0000 (0:00:00.063) 0:01:14.964 ****** 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:20:40 +0000 (0:00:00.550) 0:01:15.515 ****** 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:20:42 +0000 (0:00:01.644) 0:01:17.160 ****** 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:20:43 +0000 (0:00:01.149) 0:01:18.310 ****** 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:20:43 +0000 (0:00:00.048) 0:01:18.359 ****** 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:20:43 +0000 (0:00:00.075) 0:01:18.434 ****** 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:20:43 +0000 (0:00:00.044) 0:01:18.478 ****** 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:20:43 +0000 (0:00:00.078) 0:01:18.557 ****** 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:20:43 +0000 (0:00:00.040) 0:01:18.598 ****** 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:20:43 +0000 (0:00:00.038) 0:01:18.637 ****** 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:20:44 +0000 (0:00:00.053) 0:01:18.690 ****** 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:20:44 +0000 (0:00:00.590) 0:01:19.281 ****** 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:20:44 +0000 (0:00:00.057) 0:01:19.339 ****** 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:20:44 +0000 (0:00:00.035) 0:01:19.374 ****** 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:20:44 +0000 (0:00:00.039) 0:01:19.414 ****** 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": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } 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:20:45 +0000 (0:00:00.589) 0:01:20.004 ****** 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:20:45 +0000 (0:00:00.076) 0:01:20.081 ****** 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:20:45 +0000 (0:00:00.046) 0:01:20.127 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "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:20:45 +0000 (0:00:00.050) 0:01:20.178 ****** 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:20:45 +0000 (0:00:00.040) 0:01:20.219 ****** 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:20:45 +0000 (0:00:00.441) 0:01:20.660 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/remove+down_profile.yml for /cache/centos-8.qcow2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 17:20:46 +0000 (0:00:00.067) 0:01:20.728 ****** 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:20:46 +0000 (0:00:00.071) 0:01:20.799 ****** 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:20:46 +0000 (0:00:00.065) 0:01:20.865 ****** 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:20:46 +0000 (0:00:00.605) 0:01:21.470 ****** 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:20:48 +0000 (0:00:01.615) 0:01:23.085 ****** 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:20:49 +0000 (0:00:01.221) 0:01:24.307 ****** 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:20:49 +0000 (0:00:00.048) 0:01:24.356 ****** 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:20:49 +0000 (0:00:00.074) 0:01:24.431 ****** 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:20:49 +0000 (0:00:00.040) 0:01:24.471 ****** 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:20:49 +0000 (0:00:00.075) 0:01:24.546 ****** 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:20:49 +0000 (0:00:00.039) 0:01:24.586 ****** 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:20:49 +0000 (0:00:00.039) 0:01:24.625 ****** 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:20:50 +0000 (0:00:00.054) 0:01:24.679 ****** 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:20:50 +0000 (0:00:00.573) 0:01:25.252 ****** 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:20:50 +0000 (0:00:00.056) 0:01:25.309 ****** 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:20:50 +0000 (0:00:00.037) 0:01:25.347 ****** 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:20:50 +0000 (0:00:00.037) 0:01:25.385 ****** 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": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete 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:20:51 +0000 (0:00:00.637) 0:01:26.022 ****** 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:20:51 +0000 (0:00:00.079) 0:01:26.102 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } 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:20:51 +0000 (0:00:00.049) 0:01:26.151 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } 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:20:51 +0000 (0:00:00.056) 0:01:26.208 ****** 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:20:51 +0000 (0:00:00.043) 0:01:26.251 ****** 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:20:52 +0000 (0:00:00.433) 0:01:26.685 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_absent.yml for /cache/centos-8.qcow2 => (item=tasks/assert_profile_absent.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:20:52 +0000 (0:00:00.071) 0:01:26.757 ****** 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:20:52 +0000 (0:00:00.060) 0:01:26.817 ****** 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:20:52 +0000 (0:00:00.043) 0:01:26.861 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": 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:20:52 +0000 (0:00:00.388) 0:01:27.250 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:20:52 +0000 (0:00:00.039) 0:01:27.289 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020996", "end": "2022-08-03 17:20:51.983849", "rc": 1, "start": "2022-08-03 17:20:51.962853" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:20:53 +0000 (0:00:00.420) 0:01:27.709 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:20:53 +0000 (0:00:00.039) 0:01:27.749 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:20:53 +0000 (0:00:00.038) 0:01:27.788 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:20:53 +0000 (0:00:00.036) 0:01:27.824 ****** 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:20:53 +0000 (0:00:00.049) 0:01:27.874 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-8.qcow2 => (item={'what': 'tasks/assert_device_absent.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:20:53 +0000 (0:00:00.078) 0:01:27.952 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:20:53 +0000 (0:00:00.061) 0:01:28.014 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:20:53 +0000 (0:00:00.404) 0:01:28.419 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:20:53 +0000 (0:00:00.049) 0:01:28.468 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:20:53 +0000 (0:00:00.050) 0:01:28.519 ****** 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:20:53 +0000 (0:00:00.065) 0:01:28.584 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.049528", "end": "2022-08-03 17:20:53.341841", "rc": 1, "start": "2022-08-03 17:20:53.292313" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_states.yml:111 Wednesday 03 August 2022 17:20:54 +0000 (0:00:00.486) 0:01:29.071 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:20:54 +0000 (0:00:00.064) 0:01:29.135 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:20:54 +0000 (0:00:00.045) 0:01:29.181 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_absent.yml", "when": true } ] } 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:20:54 +0000 (0:00:00.110) 0:01:29.292 ****** 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:20:54 +0000 (0:00:00.059) 0:01:29.351 ****** 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:20:54 +0000 (0:00:00.058) 0:01:29.409 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003809", "end": "2022-08-03 17:20:54.089052", "rc": 0, "start": "2022-08-03 17:20:54.085243" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:20:55 +0000 (0:00:00.408) 0:01:29.817 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:20:55 +0000 (0:00:00.045) 0:01:29.863 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:20:55 +0000 (0:00:00.050) 0:01:29.913 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml for /cache/centos-8.qcow2 => (item=tasks/create_bridge_profile.yml) included: /tmp/tmp650e3cfh/tests/playbooks/tasks/activate_profile.yml for /cache/centos-8.qcow2 => (item=tasks/activate_profile.yml) included: /tmp/tmp650e3cfh/tests/playbooks/tasks/remove+down_profile.yml for /cache/centos-8.qcow2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:20:55 +0000 (0:00:00.101) 0:01:30.015 ****** 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:20:55 +0000 (0:00:00.062) 0:01:30.077 ****** 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:20:55 +0000 (0:00:00.064) 0:01:30.142 ****** 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:20:56 +0000 (0:00:00.554) 0:01:30.697 ****** 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:20:57 +0000 (0:00:01.511) 0:01:32.208 ****** 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:20:58 +0000 (0:00:01.199) 0:01:33.408 ****** 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:20:58 +0000 (0:00:00.049) 0:01:33.457 ****** 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:20:58 +0000 (0:00:00.041) 0:01:33.498 ****** 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:20:58 +0000 (0:00:00.042) 0:01:33.540 ****** 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:20:58 +0000 (0:00:00.079) 0:01:33.620 ****** 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:20:59 +0000 (0:00:00.042) 0:01:33.662 ****** 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:20:59 +0000 (0:00:00.039) 0:01:33.702 ****** 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:20:59 +0000 (0:00:00.051) 0:01:33.753 ****** 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:20:59 +0000 (0:00:00.568) 0:01:34.322 ****** 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:20:59 +0000 (0:00:00.056) 0:01:34.378 ****** 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:20:59 +0000 (0:00:00.038) 0:01:34.416 ****** 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:20:59 +0000 (0:00:00.038) 0:01:34.455 ****** 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": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0202041b-407a-4c9a-8827-c09bd6d53f6d 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:21:00 +0000 (0:00:00.592) 0:01:35.047 ****** 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:21:00 +0000 (0:00:00.049) 0:01:35.096 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0202041b-407a-4c9a-8827-c09bd6d53f6d" ] } 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:21:00 +0000 (0:00:00.056) 0:01:35.153 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0202041b-407a-4c9a-8827-c09bd6d53f6d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0202041b-407a-4c9a-8827-c09bd6d53f6d" ] } } 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:21:00 +0000 (0:00:00.052) 0:01:35.206 ****** 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:21:00 +0000 (0:00:00.041) 0:01:35.248 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:21:00 +0000 (0:00:00.410) 0:01:35.659 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0202041b-407a-4c9a-8827-c09bd6d53f6d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0202041b-407a-4c9a-8827-c09bd6d53f6d" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:21:01 +0000 (0:00:00.137) 0:01:35.796 ****** 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:21:01 +0000 (0:00:00.062) 0:01:35.858 ****** 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:21:01 +0000 (0:00:00.065) 0:01:35.924 ****** 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:21:01 +0000 (0:00:00.542) 0:01:36.467 ****** 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:21:03 +0000 (0:00:01.704) 0:01:38.171 ****** 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:21:04 +0000 (0:00:01.173) 0:01:39.345 ****** 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:21:04 +0000 (0:00:00.048) 0:01:39.394 ****** 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:21:04 +0000 (0:00:00.041) 0:01:39.435 ****** 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:21:04 +0000 (0:00:00.037) 0:01:39.473 ****** 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:21:04 +0000 (0:00:00.072) 0:01:39.546 ****** 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:21:04 +0000 (0:00:00.038) 0:01:39.584 ****** 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:21:04 +0000 (0:00:00.040) 0:01:39.625 ****** 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:21:05 +0000 (0:00:00.059) 0:01:39.684 ****** 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:21:05 +0000 (0:00:00.612) 0:01:40.297 ****** 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:21:05 +0000 (0:00:00.058) 0:01:40.355 ****** 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:21:05 +0000 (0:00:00.039) 0:01:40.394 ****** 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:21:05 +0000 (0:00:00.037) 0:01:40.432 ****** 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": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0202041b-407a-4c9a-8827-c09bd6d53f6d skipped because already active 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:21:06 +0000 (0:00:00.580) 0:01:41.012 ****** 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:21:06 +0000 (0:00:00.042) 0:01:41.054 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0202041b-407a-4c9a-8827-c09bd6d53f6d skipped because already active" ] } 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:21:06 +0000 (0:00:00.055) 0:01:41.110 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0202041b-407a-4c9a-8827-c09bd6d53f6d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0202041b-407a-4c9a-8827-c09bd6d53f6d skipped because already active" ] } } 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:21:06 +0000 (0:00:00.050) 0:01:41.160 ****** 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:21:06 +0000 (0:00:00.040) 0:01:41.201 ****** 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/remove+down_profile.yml:3 Wednesday 03 August 2022 17:21:06 +0000 (0:00:00.450) 0:01:41.652 ****** 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:21:07 +0000 (0:00:00.066) 0:01:41.719 ****** 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:21:07 +0000 (0:00:00.066) 0:01:41.785 ****** 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:21:07 +0000 (0:00:00.536) 0:01:42.321 ****** 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:21:09 +0000 (0:00:01.557) 0:01:43.879 ****** 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:21:10 +0000 (0:00:01.193) 0:01:45.072 ****** 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:21:10 +0000 (0:00:00.048) 0:01:45.121 ****** 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:21:10 +0000 (0:00:00.041) 0:01:45.162 ****** 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:21:10 +0000 (0:00:00.041) 0:01:45.203 ****** 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:21:10 +0000 (0:00:00.077) 0:01:45.281 ****** 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:21:10 +0000 (0:00:00.046) 0:01:45.328 ****** 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:21:10 +0000 (0:00:00.041) 0:01:45.369 ****** 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:21:10 +0000 (0:00:00.056) 0:01:45.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 [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:21:11 +0000 (0:00:00.613) 0:01:46.039 ****** 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:21:11 +0000 (0:00:00.058) 0:01:46.098 ****** 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:21:11 +0000 (0:00:00.037) 0:01:46.136 ****** 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:21:11 +0000 (0:00:00.038) 0:01:46.174 ****** 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": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } 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:21:12 +0000 (0:00:00.656) 0:01:46.831 ****** 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:21:12 +0000 (0:00:00.042) 0:01:46.874 ****** 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:21:12 +0000 (0:00:00.049) 0:01:46.923 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "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:21:12 +0000 (0:00:00.047) 0:01:46.971 ****** 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:21:12 +0000 (0:00:00.040) 0:01:47.012 ****** 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:21:12 +0000 (0:00:00.453) 0:01:47.465 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/remove+down_profile.yml for /cache/centos-8.qcow2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 17:21:12 +0000 (0:00:00.064) 0:01:47.529 ****** 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:21:12 +0000 (0:00:00.063) 0:01:47.593 ****** 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:21:12 +0000 (0:00:00.065) 0:01:47.658 ****** 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:21:13 +0000 (0:00:00.537) 0:01:48.196 ****** 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:21:15 +0000 (0:00:01.550) 0:01:49.746 ****** 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:21:16 +0000 (0:00:01.157) 0:01:50.904 ****** 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:21:16 +0000 (0:00:00.054) 0:01:50.958 ****** 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:21:16 +0000 (0:00:00.044) 0:01:51.002 ****** 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:21:16 +0000 (0:00:00.042) 0:01:51.045 ****** 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:21:16 +0000 (0:00:00.080) 0:01:51.125 ****** 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:21:16 +0000 (0:00:00.041) 0:01:51.167 ****** 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:21:16 +0000 (0:00:00.084) 0:01:51.251 ****** 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:21:16 +0000 (0:00:00.057) 0:01:51.309 ****** 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:21:17 +0000 (0:00:00.608) 0:01:51.918 ****** 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:21:17 +0000 (0:00:00.057) 0:01:51.976 ****** 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:21:17 +0000 (0:00:00.036) 0:01:52.012 ****** 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:21:17 +0000 (0:00:00.036) 0:01:52.049 ****** 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": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete 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:21:17 +0000 (0:00:00.578) 0:01:52.628 ****** 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:21:18 +0000 (0:00:00.039) 0:01:52.667 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } 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:21:18 +0000 (0:00:00.051) 0:01:52.718 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } 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:21:18 +0000 (0:00:00.050) 0:01:52.769 ****** 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:21:18 +0000 (0:00:00.039) 0:01:52.809 ****** 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:21:18 +0000 (0:00:00.465) 0:01:53.274 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_absent.yml for /cache/centos-8.qcow2 => (item=tasks/assert_profile_absent.yml) included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_NetworkManager_NVR.yml for /cache/centos-8.qcow2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:21:18 +0000 (0:00:00.071) 0:01:53.346 ****** 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:21:18 +0000 (0:00:00.059) 0:01:53.406 ****** 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:21:18 +0000 (0:00:00.046) 0:01:53.452 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": 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:21:19 +0000 (0:00:00.410) 0:01:53.862 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:21:19 +0000 (0:00:00.036) 0:01:53.899 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021998", "end": "2022-08-03 17:21:18.583992", "rc": 1, "start": "2022-08-03 17:21:18.561994" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:21:19 +0000 (0:00:00.416) 0:01:54.315 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:21:19 +0000 (0:00:00.039) 0:01:54.354 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:21:19 +0000 (0:00:00.076) 0:01:54.430 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:21:19 +0000 (0:00:00.038) 0:01:54.469 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_NetworkManager_NVR.yml:4 Wednesday 03 August 2022 17:21:19 +0000 (0:00:00.053) 0:01:54.523 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.645357", "end": "2022-08-03 17:21:19.839866", "rc": 0, "start": "2022-08-03 17:21:19.194509" } STDOUT: NetworkManager-1.39.10-1.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_NetworkManager_NVR.yml:10 Wednesday 03 August 2022 17:21:20 +0000 (0:00:01.051) 0:01:55.574 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "NetworkManager_NVR": "NetworkManager-1.39.10-1.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 03 August 2022 17:21:20 +0000 (0:00:00.049) 0:01:55.624 ****** ok: [/cache/centos-8.qcow2] => { "NetworkManager_NVR": "NetworkManager-1.39.10-1.el8" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:21:21 +0000 (0:00:00.048) 0:01:55.672 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-8.qcow2 => (item={'what': 'tasks/assert_device_absent.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:21:21 +0000 (0:00:00.085) 0:01:55.758 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:21:21 +0000 (0:00:00.061) 0:01:55.820 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:21:21 +0000 (0:00:00.433) 0:01:56.254 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:21:21 +0000 (0:00:00.066) 0:01:56.320 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:21:21 +0000 (0:00:00.054) 0:01:56.374 ****** 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:21:21 +0000 (0:00:00.070) 0:01:56.445 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043010", "end": "2022-08-03 17:21:21.165394", "rc": 1, "start": "2022-08-03 17:21:21.122384" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=334 changed=14 unreachable=0 failed=0 skipped=189 rescued=0 ignored=11 Wednesday 03 August 2022 17:21:22 +0000 (0:00:00.470) 0:01:56.916 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 3.36s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 3.13s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 2.43s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 2.33s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Re-test connectivity ----------------------- 2.21s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Configure networking connection profiles --- 1.87s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 1.80s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Re-test connectivity ----------------------- 1.72s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Check which services are running ----------- 1.70s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.64s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.64s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.62s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.59s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.58s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.58s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.57s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.56s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 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 services are running ----------- 1.54s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.53s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 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:21:22 +0000 (0:00:00.045) 0:01:56.961 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006967", "end": "2022-08-03 17:21:21.642326", "rc": 0, "start": "2022-08-03 17:21:21.635359" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=335 changed=15 unreachable=0 failed=0 skipped=189 rescued=0 ignored=11 Wednesday 03 August 2022 17:21:22 +0000 (0:00:00.432) 0:01:57.394 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 3.36s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 3.13s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 2.43s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 2.33s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Re-test connectivity ----------------------- 2.21s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Configure networking connection profiles --- 1.87s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 1.80s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Re-test connectivity ----------------------- 1.72s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Check which services are running ----------- 1.70s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.64s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.64s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.62s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.59s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.58s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.58s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.57s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.56s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 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 services are running ----------- 1.54s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.53s /tmp/tmp650e3cfh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 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:58:23 +0000 (0:00:00.019) 0:00:00.019 ****** 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.211742", "end": "2022-08-03 17:58:22.722324", "rc": 0, "start": "2022-08-03 17:58:22.510582" } 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:58:24 +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/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:58:24 +0000 (0:00:00.017) 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": 1659549502.2970772, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549501.2950773, "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": "2299847719", "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:58:24 +0000 (0:00:00.508) 0:00:01.347 ****** [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': 1659549502.2970772, 'mtime': 1659547587.0, 'ctime': 1659549501.2950773, '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': '2299847719', '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": 1659549502.2970772, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549501.2950773, "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": "2299847719", "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:58:24 +0000 (0:00:00.076) 0:00:01.423 ****** 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.004001", "end": "2022-08-03 17:58:23.696424", "rc": 0, "start": "2022-08-03 17:58:23.692423" } 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:58:25 +0000 (0:00:00.368) 0:00:01.792 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- Get stats of system files ----------------------------------------------- 0.51s /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.08s /tmp/tmpjloc5qmw/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/tmpjloc5qmw/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/tests_states_nm.yml:5 Wednesday 03 August 2022 17:58:25 +0000 (0:00:00.016) 0:00:01.808 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tests_states_nm.yml:8 Wednesday 03 August 2022 17:58:26 +0000 (0:00:01.054) 0:00:02.863 ****** 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:58:26 +0000 (0:00:00.026) 0:00:02.890 ****** 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:58:26 +0000 (0:00:00.022) 0:00:02.912 ****** 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:58:26 +0000 (0:00:00.028) 0:00:02.940 ****** 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:58:26 +0000 (0:00:00.378) 0:00:03.318 ****** 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:58:26 +0000 (0:00:00.021) 0:00:03.340 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.228842", "end": "2022-08-03 17:58:25.854667", "rc": 0, "start": "2022-08-03 17:58:25.625825" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:58:27 +0000 (0:00:00.611) 0:00:03.952 ****** 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_states_nm.yml:9 Wednesday 03 August 2022 17:58:27 +0000 (0:00:00.021) 0:00:03.974 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_states.yml:3 Wednesday 03 August 2022 17:58:27 +0000 (0:00:00.042) 0:00:04.017 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_states.yml:10 Wednesday 03 August 2022 17:58:28 +0000 (0:00:00.785) 0:00:04.803 ****** ok: [/cache/centos-8.qcow2] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_states.yml:18 Wednesday 03 August 2022 17:58:28 +0000 (0:00:00.030) 0:00:04.833 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:58:28 +0000 (0:00:00.033) 0:00:04.866 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:58:28 +0000 (0:00:00.031) 0:00:04.898 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.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": [ { "what": "tasks/assert_device_present.yml", "when": true } ] } 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:58:28 +0000 (0:00:00.122) 0:00:05.020 ****** 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:58:28 +0000 (0:00:00.035) 0:00:05.056 ****** 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:58:28 +0000 (0:00:00.030) 0:00:05.087 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003133", "end": "2022-08-03 17:58:27.370387", "rc": 0, "start": "2022-08-03 17:58:27.367254" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:58:28 +0000 (0:00:00.377) 0:00:05.464 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:58:28 +0000 (0:00:00.033) 0:00:05.497 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:58:28 +0000 (0:00:00.036) 0:00:05.533 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/delete_interface.yml for /cache/centos-8.qcow2 => (item=tasks/delete_interface.yml) included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-8.qcow2 => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:58:28 +0000 (0:00:00.040) 0:00:05.573 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008614", "end": "2022-08-03 17:58:27.856780", "rc": 1, "start": "2022-08-03 17:58:27.848166" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:58:29 +0000 (0:00:00.377) 0:00:05.951 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:58:29 +0000 (0:00:00.033) 0:00:05.984 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:58:29 +0000 (0:00:00.366) 0:00:06.350 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:58:29 +0000 (0:00:00.034) 0:00:06.385 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/centos-8.qcow2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:58:29 +0000 (0:00:00.040) 0:00:06.425 ****** 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:58:29 +0000 (0:00:00.050) 0:00:06.476 ****** 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:58:29 +0000 (0:00:00.041) 0:00:06.517 ****** 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:58:30 +0000 (0:00:00.513) 0:00:07.030 ****** 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:58:31 +0000 (0:00:01.610) 0:00:08.641 ****** 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:58:33 +0000 (0:00:01.449) 0:00:10.091 ****** 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:58:33 +0000 (0:00:00.080) 0:00:10.171 ****** 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:58:33 +0000 (0:00:00.068) 0:00:10.239 ****** 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:58:33 +0000 (0:00:00.039) 0:00:10.278 ****** 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:58:33 +0000 (0:00:00.075) 0:00:10.354 ****** 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:58:33 +0000 (0:00:00.040) 0:00:10.395 ****** 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:58:33 +0000 (0:00:00.040) 0:00:10.435 ****** 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:58:33 +0000 (0:00:00.055) 0:00:10.490 ****** 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:58:34 +0000 (0:00:00.812) 0:00:11.303 ****** 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:58:34 +0000 (0:00:00.056) 0:00:11.359 ****** 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:58:34 +0000 (0:00:00.035) 0:00:11.394 ****** 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:58:34 +0000 (0:00:00.036) 0:00:11.431 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee563830-1546-4e5f-8392-a300970476a6 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:58:35 +0000 (0:00:00.763) 0:00:12.195 ****** 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:58:35 +0000 (0:00:00.042) 0:00:12.237 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee563830-1546-4e5f-8392-a300970476a6" ] } 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:58:35 +0000 (0:00:00.046) 0:00:12.284 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee563830-1546-4e5f-8392-a300970476a6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee563830-1546-4e5f-8392-a300970476a6" ] } } 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:58:35 +0000 (0:00:00.045) 0:00:12.329 ****** 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:58:35 +0000 (0:00:00.038) 0:00:12.368 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:58:36 +0000 (0:00:00.517) 0:00:12.886 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee563830-1546-4e5f-8392-a300970476a6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee563830-1546-4e5f-8392-a300970476a6" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:58:36 +0000 (0:00:00.050) 0:00:12.936 ****** 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:58:36 +0000 (0:00:00.064) 0:00:13.001 ****** 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:58:36 +0000 (0:00:00.062) 0:00:13.063 ****** 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:58:36 +0000 (0:00:00.043) 0:00:13.107 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659549514.0980773, "block_size": 4096, "blocks": 8, "ctime": 1659549514.0650773, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4202061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549514.0650773, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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:58:36 +0000 (0:00:00.418) 0:00:13.525 ****** 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:58:36 +0000 (0:00:00.046) 0:00:13.571 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019671", "end": "2022-08-03 17:58:35.884731", "rc": 0, "start": "2022-08-03 17:58:35.865060" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr 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:58:37 +0000 (0:00:00.420) 0:00:13.992 ****** 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-statebr] ************************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:58:37 +0000 (0:00:00.046) 0:00:14.039 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:58:37 +0000 (0:00:00.039) 0:00:14.078 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:58:37 +0000 (0:00:00.037) 0:00:14.116 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:58:37 +0000 (0:00:00.048) 0:00:14.165 ****** 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:58:37 +0000 (0:00:00.050) 0:00:14.216 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 => (item={'what': 'tasks/assert_device_present.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:58:37 +0000 (0:00:00.082) 0:00:14.298 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:58:37 +0000 (0:00:00.062) 0:00:14.361 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659549514.0674307, "block_size": 4096, "blocks": 0, "ctime": 1659549514.0674307, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37803, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1659549514.0674307, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface statebr is present] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:58:38 +0000 (0:00:00.386) 0:00:14.747 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:58:38 +0000 (0:00:00.106) 0:00:14.854 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:58:38 +0000 (0:00:00.046) 0:00:14.901 ****** 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:58:38 +0000 (0:00:00.063) 0:00:14.965 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.057522", "end": "2022-08-03 17:58:37.304195", "rc": 1, "start": "2022-08-03 17:58:37.246673" } STDOUT: Connection 'statebr' (ee563830-1546-4e5f-8392-a300970476a6) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_states.yml:39 Wednesday 03 August 2022 17:58:38 +0000 (0:00:00.453) 0:00:15.418 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:58:38 +0000 (0:00:00.060) 0:00:15.479 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:58:38 +0000 (0:00:00.053) 0:00:15.533 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "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:58:38 +0000 (0:00:00.161) 0:00:15.694 ****** 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:58:39 +0000 (0:00:00.061) 0:00:15.756 ****** 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:58:39 +0000 (0:00:00.057) 0:00:15.814 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002681", "end": "2022-08-03 17:58:38.131517", "rc": 0, "start": "2022-08-03 17:58:38.128836" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:58:39 +0000 (0:00:00.423) 0:00:16.237 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:58:39 +0000 (0:00:00.055) 0:00:16.293 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:58:39 +0000 (0:00:00.068) 0:00:16.362 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/delete_interface.yml for /cache/centos-8.qcow2 => (item=tasks/delete_interface.yml) included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-8.qcow2 => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:58:39 +0000 (0:00:00.126) 0:00:16.488 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008816", "end": "2022-08-03 17:58:38.898182", "rc": 1, "start": "2022-08-03 17:58:38.889366" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:58:40 +0000 (0:00:00.520) 0:00:17.008 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:58:40 +0000 (0:00:00.063) 0:00:17.071 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:58:40 +0000 (0:00:00.376) 0:00:17.448 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:58:40 +0000 (0:00:00.050) 0:00:17.499 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for /cache/centos-8.qcow2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 03 August 2022 17:58:40 +0000 (0:00:00.067) 0:00:17.566 ****** 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:58:40 +0000 (0:00:00.108) 0:00:17.675 ****** 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:58:41 +0000 (0:00:00.066) 0:00:17.742 ****** 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:58:41 +0000 (0:00:00.547) 0:00:18.289 ****** 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:58:44 +0000 (0:00:02.516) 0:00:20.806 ****** 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:58:45 +0000 (0:00:01.133) 0:00:21.939 ****** 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:58:45 +0000 (0:00:00.055) 0:00:21.995 ****** 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:58:45 +0000 (0:00:00.043) 0:00:22.038 ****** 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:58:45 +0000 (0:00:00.043) 0:00:22.082 ****** 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:58:45 +0000 (0:00:00.080) 0:00:22.162 ****** 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:58:45 +0000 (0:00:00.089) 0:00:22.251 ****** 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:58:45 +0000 (0:00:00.042) 0:00:22.294 ****** 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:58:45 +0000 (0:00:00.054) 0:00:22.348 ****** 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:58:46 +0000 (0:00:00.580) 0:00:22.928 ****** 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:58:46 +0000 (0:00:00.058) 0:00:22.987 ****** 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:58:46 +0000 (0:00:00.038) 0:00:23.025 ****** 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:58:46 +0000 (0:00:00.037) 0:00:23.063 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ea651738-dbf2-4307-95df-f2c89ce5c6cc 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:58:46 +0000 (0:00:00.552) 0:00:23.615 ****** 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:58:46 +0000 (0:00:00.041) 0:00:23.656 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ea651738-dbf2-4307-95df-f2c89ce5c6cc" ] } 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:58:46 +0000 (0:00:00.057) 0:00:23.713 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ea651738-dbf2-4307-95df-f2c89ce5c6cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ea651738-dbf2-4307-95df-f2c89ce5c6cc" ] } } 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:58:47 +0000 (0:00:00.049) 0:00:23.763 ****** 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:58:47 +0000 (0:00:00.074) 0:00:23.837 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 03 August 2022 17:58:47 +0000 (0:00:00.422) 0:00:24.259 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ea651738-dbf2-4307-95df-f2c89ce5c6cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ea651738-dbf2-4307-95df-f2c89ce5c6cc" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:58:47 +0000 (0:00:00.059) 0:00:24.319 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-8.qcow2 => (item=tasks/assert_device_absent.yml) 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_device_absent.yml:3 Wednesday 03 August 2022 17:58:47 +0000 (0:00:00.077) 0:00:24.396 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:58:47 +0000 (0:00:00.060) 0:00:24.456 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:58:48 +0000 (0:00:00.371) 0:00:24.827 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:58:48 +0000 (0:00:00.048) 0:00:24.875 ****** 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:58:48 +0000 (0:00:00.068) 0:00:24.944 ****** 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:58:48 +0000 (0:00:00.047) 0:00:24.991 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659549525.4930773, "block_size": 4096, "blocks": 8, "ctime": 1659549525.4930773, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4202061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549525.4930773, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "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:58:48 +0000 (0:00:00.446) 0:00:25.437 ****** 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:58:48 +0000 (0:00:00.049) 0:00:25.487 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019452", "end": "2022-08-03 17:58:47.776923", "rc": 0, "start": "2022-08-03 17:58:47.757471" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr 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:58:49 +0000 (0:00:00.398) 0:00:25.886 ****** 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-statebr] ************************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:58:49 +0000 (0:00:00.049) 0:00:25.936 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:58:49 +0000 (0:00:00.037) 0:00:25.974 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:58:49 +0000 (0:00:00.037) 0:00:26.012 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:58:49 +0000 (0:00:00.051) 0:00:26.064 ****** 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:58:49 +0000 (0:00:00.048) 0:00:26.112 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:58:49 +0000 (0:00:00.045) 0:00:26.157 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:58:49 +0000 (0:00:00.047) 0:00:26.205 ****** 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:58:49 +0000 (0:00:00.064) 0:00:26.270 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044471", "end": "2022-08-03 17:58:48.598337", "rc": 1, "start": "2022-08-03 17:58:48.553866" } STDOUT: Connection 'statebr' (ea651738-dbf2-4307-95df-f2c89ce5c6cc) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_states.yml:57 Wednesday 03 August 2022 17:58:49 +0000 (0:00:00.445) 0:00:26.716 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:58:50 +0000 (0:00:00.060) 0:00:26.776 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:58:50 +0000 (0:00:00.043) 0:00:26.819 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "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:58:50 +0000 (0:00:00.107) 0:00:26.927 ****** 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:58:50 +0000 (0:00:00.058) 0:00:26.985 ****** 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:58:50 +0000 (0:00:00.060) 0:00:27.046 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002955", "end": "2022-08-03 17:58:49.323185", "rc": 0, "start": "2022-08-03 17:58:49.320230" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:58:50 +0000 (0:00:00.385) 0:00:27.431 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:58:50 +0000 (0:00:00.047) 0:00:27.479 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:58:50 +0000 (0:00:00.050) 0:00:27.529 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/centos-8.qcow2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:58:50 +0000 (0:00:00.065) 0:00:27.594 ****** 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:58:50 +0000 (0:00:00.103) 0:00:27.697 ****** 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:58:51 +0000 (0:00:00.070) 0:00:27.767 ****** 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:58:51 +0000 (0:00:00.531) 0:00:28.299 ****** 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:58:53 +0000 (0:00:01.502) 0:00:29.801 ****** 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:58:54 +0000 (0:00:01.198) 0:00:30.999 ****** 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:58:54 +0000 (0:00:00.050) 0:00:31.050 ****** 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:58:54 +0000 (0:00:00.041) 0:00:31.091 ****** 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:58:54 +0000 (0:00:00.042) 0:00:31.133 ****** 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:58:54 +0000 (0:00:00.076) 0:00:31.210 ****** 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:58:54 +0000 (0:00:00.044) 0:00:31.255 ****** 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:58:54 +0000 (0:00:00.041) 0:00:31.296 ****** 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:58:54 +0000 (0:00:00.054) 0:00:31.350 ****** 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:58:55 +0000 (0:00:00.551) 0:00:31.902 ****** 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:58:55 +0000 (0:00:00.053) 0:00:31.955 ****** 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:58:55 +0000 (0:00:00.036) 0:00:31.992 ****** 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:58:55 +0000 (0:00:00.035) 0:00:32.027 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf6b36fc-d0ab-473e-8b81-0e861d1cec58 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:58:55 +0000 (0:00:00.582) 0:00:32.610 ****** 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:58:55 +0000 (0:00:00.041) 0:00:32.652 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf6b36fc-d0ab-473e-8b81-0e861d1cec58" ] } 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:58:55 +0000 (0:00:00.049) 0:00:32.701 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf6b36fc-d0ab-473e-8b81-0e861d1cec58\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf6b36fc-d0ab-473e-8b81-0e861d1cec58" ] } } 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:58:56 +0000 (0:00:00.048) 0:00:32.750 ****** 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:58:56 +0000 (0:00:00.039) 0:00:32.789 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:58:56 +0000 (0:00:00.393) 0:00:33.183 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf6b36fc-d0ab-473e-8b81-0e861d1cec58\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bf6b36fc-d0ab-473e-8b81-0e861d1cec58" ] } } TASK [test] ******************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:58:56 +0000 (0:00:00.121) 0:00:33.305 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/activate_profile.yml for /cache/centos-8.qcow2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:58:56 +0000 (0:00:00.063) 0:00:33.368 ****** 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:58:56 +0000 (0:00:00.077) 0:00:33.446 ****** 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:58:56 +0000 (0:00:00.066) 0:00:33.513 ****** 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:58:57 +0000 (0:00:00.542) 0:00:34.055 ****** 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:58:58 +0000 (0:00:01.474) 0:00:35.529 ****** 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:58:59 +0000 (0:00:01.110) 0:00:36.640 ****** 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:58:59 +0000 (0:00:00.048) 0:00:36.689 ****** 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:58:59 +0000 (0:00:00.036) 0:00:36.726 ****** 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:59:00 +0000 (0:00:00.044) 0:00:36.771 ****** 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:59:00 +0000 (0:00:00.076) 0:00:36.847 ****** 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:59:00 +0000 (0:00:00.038) 0:00:36.886 ****** 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:59:00 +0000 (0:00:00.042) 0:00:36.928 ****** 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:59:00 +0000 (0:00:00.102) 0:00:37.030 ****** 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:59:00 +0000 (0:00:00.548) 0:00:37.579 ****** 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:59:00 +0000 (0:00:00.055) 0:00:37.635 ****** 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:59:00 +0000 (0:00:00.037) 0:00:37.672 ****** 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:59:00 +0000 (0:00:00.035) 0:00:37.708 ****** ok: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bf6b36fc-d0ab-473e-8b81-0e861d1cec58 skipped because already active 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:59:01 +0000 (0:00:00.550) 0:00:38.258 ****** 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:59:01 +0000 (0:00:00.038) 0:00:38.297 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bf6b36fc-d0ab-473e-8b81-0e861d1cec58 skipped because already active" ] } 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:59:01 +0000 (0:00:00.049) 0:00:38.347 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bf6b36fc-d0ab-473e-8b81-0e861d1cec58 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bf6b36fc-d0ab-473e-8b81-0e861d1cec58 skipped because already active" ] } } 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:59:01 +0000 (0:00:00.056) 0:00:38.404 ****** 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:59:01 +0000 (0:00:00.043) 0:00:38.447 ****** 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:59:02 +0000 (0:00:00.461) 0:00:38.909 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 => (item=tasks/assert_device_present.yml) 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_device_present.yml:3 Wednesday 03 August 2022 17:59:02 +0000 (0:00:00.070) 0:00:38.979 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:59:02 +0000 (0:00:00.059) 0:00:39.038 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659549534.4661846, "block_size": 4096, "blocks": 0, "ctime": 1659549534.4661846, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1659549534.4661846, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface statebr is present] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:59:02 +0000 (0:00:00.388) 0:00:39.427 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:59:02 +0000 (0:00:00.047) 0:00:39.475 ****** 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:59:02 +0000 (0:00:00.060) 0:00:39.536 ****** 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:59:02 +0000 (0:00:00.048) 0:00:39.584 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659549534.5090773, "block_size": 4096, "blocks": 8, "ctime": 1659549534.4640772, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4202061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549534.4640772, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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:59:03 +0000 (0:00:00.390) 0:00:39.974 ****** 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:59:03 +0000 (0:00:00.046) 0:00:40.021 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023092", "end": "2022-08-03 17:59:02.353826", "rc": 0, "start": "2022-08-03 17:59:02.330734" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr 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:59:03 +0000 (0:00:00.437) 0:00:40.459 ****** 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-statebr] ************************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:59:03 +0000 (0:00:00.051) 0:00:40.511 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:59:03 +0000 (0:00:00.036) 0:00:40.548 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:59:03 +0000 (0:00:00.038) 0:00:40.586 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:59:03 +0000 (0:00:00.053) 0:00:40.640 ****** 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:59:03 +0000 (0:00:00.048) 0:00:40.688 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:59:04 +0000 (0:00:00.049) 0:00:40.738 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:59:04 +0000 (0:00:00.050) 0:00:40.788 ****** 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:59:04 +0000 (0:00:00.065) 0:00:40.853 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.064571", "end": "2022-08-03 17:59:03.204575", "rc": 1, "start": "2022-08-03 17:59:03.140004" } STDOUT: Connection 'statebr' (bf6b36fc-d0ab-473e-8b81-0e861d1cec58) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_states.yml:73 Wednesday 03 August 2022 17:59:04 +0000 (0:00:00.462) 0:00:41.315 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:59:04 +0000 (0:00:00.060) 0:00:41.376 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:59:04 +0000 (0:00:00.111) 0:00:41.488 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.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:59:04 +0000 (0:00:00.114) 0:00:41.602 ****** 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:59:04 +0000 (0:00:00.059) 0:00:41.662 ****** 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:59:04 +0000 (0:00:00.060) 0:00:41.722 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003004", "end": "2022-08-03 17:59:04.004424", "rc": 0, "start": "2022-08-03 17:59:04.001420" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:59:05 +0000 (0:00:00.390) 0:00:42.113 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:59:05 +0000 (0:00:00.045) 0:00:42.159 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:59:05 +0000 (0:00:00.045) 0:00:42.204 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/centos-8.qcow2 => (item=tasks/create_bridge_profile.yml) included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/activate_profile.yml for /cache/centos-8.qcow2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:59:05 +0000 (0:00:00.063) 0:00:42.268 ****** 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:59:05 +0000 (0:00:00.061) 0:00:42.330 ****** 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:59:05 +0000 (0:00:00.098) 0:00:42.429 ****** 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:59:06 +0000 (0:00:00.536) 0:00:42.965 ****** 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:59:07 +0000 (0:00:01.521) 0:00:44.487 ****** 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:59:08 +0000 (0:00:01.244) 0:00:45.731 ****** 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:59:09 +0000 (0:00:00.049) 0:00:45.780 ****** 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:59:09 +0000 (0:00:00.041) 0:00:45.822 ****** 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:59:09 +0000 (0:00:00.040) 0:00:45.863 ****** 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:59:09 +0000 (0:00:00.075) 0:00:45.938 ****** 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:59:09 +0000 (0:00:00.040) 0:00:45.979 ****** 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:59:09 +0000 (0:00:00.042) 0:00:46.021 ****** 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:59:09 +0000 (0:00:00.054) 0:00:46.075 ****** 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:59:09 +0000 (0:00:00.566) 0:00:46.642 ****** 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:59:09 +0000 (0:00:00.056) 0:00:46.698 ****** 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:59:09 +0000 (0:00:00.036) 0:00:46.735 ****** 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:59:10 +0000 (0:00:00.036) 0:00:46.771 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 112d2545-829a-4454-a796-abe7e6008632 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:59:10 +0000 (0:00:00.647) 0:00:47.418 ****** 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:59:10 +0000 (0:00:00.048) 0:00:47.467 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 112d2545-829a-4454-a796-abe7e6008632" ] } 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:59:10 +0000 (0:00:00.054) 0:00:47.521 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 112d2545-829a-4454-a796-abe7e6008632\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 112d2545-829a-4454-a796-abe7e6008632" ] } } 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:59:10 +0000 (0:00:00.055) 0:00:47.577 ****** 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:59:10 +0000 (0:00:00.042) 0:00:47.619 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:59:11 +0000 (0:00:00.405) 0:00:48.025 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 112d2545-829a-4454-a796-abe7e6008632\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 112d2545-829a-4454-a796-abe7e6008632" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:59:11 +0000 (0:00:00.052) 0:00:48.077 ****** 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:59:11 +0000 (0:00:00.068) 0:00:48.146 ****** 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:59:11 +0000 (0:00:00.066) 0:00:48.213 ****** 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:59:12 +0000 (0:00:00.591) 0:00:48.804 ****** 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:59:13 +0000 (0:00:01.481) 0:00:50.285 ****** 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:59:14 +0000 (0:00:01.114) 0:00:51.399 ****** 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:59:14 +0000 (0:00:00.049) 0:00:51.449 ****** 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:59:14 +0000 (0:00:00.070) 0:00:51.519 ****** 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:59:14 +0000 (0:00:00.040) 0:00:51.560 ****** 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:59:14 +0000 (0:00:00.078) 0:00:51.639 ****** 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:59:14 +0000 (0:00:00.043) 0:00:51.682 ****** 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:59:14 +0000 (0:00:00.039) 0:00:51.722 ****** 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:59:15 +0000 (0:00:00.053) 0:00:51.775 ****** 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:59:15 +0000 (0:00:00.588) 0:00:52.364 ****** 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:59:15 +0000 (0:00:00.058) 0:00:52.423 ****** 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:59:15 +0000 (0:00:00.038) 0:00:52.461 ****** 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:59:15 +0000 (0:00:00.038) 0:00:52.499 ****** ok: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 112d2545-829a-4454-a796-abe7e6008632 skipped because already active 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:59:16 +0000 (0:00:00.543) 0:00:53.043 ****** 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:59:16 +0000 (0:00:00.071) 0:00:53.114 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 112d2545-829a-4454-a796-abe7e6008632 skipped because already active" ] } 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:59:16 +0000 (0:00:00.049) 0:00:53.163 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 112d2545-829a-4454-a796-abe7e6008632 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 112d2545-829a-4454-a796-abe7e6008632 skipped because already active" ] } } 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:59:16 +0000 (0:00:00.051) 0:00:53.215 ****** 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:59:16 +0000 (0:00:00.038) 0:00:53.254 ****** 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:59:16 +0000 (0:00:00.403) 0:00:53.657 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/remove_profile.yml for /cache/centos-8.qcow2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 03 August 2022 17:59:16 +0000 (0:00:00.075) 0:00:53.733 ****** 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:59:17 +0000 (0:00:00.080) 0:00:53.813 ****** 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:59:17 +0000 (0:00:00.067) 0:00:53.880 ****** 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:59:17 +0000 (0:00:00.548) 0:00:54.429 ****** 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:59:19 +0000 (0:00:01.542) 0:00:55.972 ****** 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:59:20 +0000 (0:00:01.178) 0:00:57.151 ****** 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:59:20 +0000 (0:00:00.049) 0:00:57.201 ****** 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:59:20 +0000 (0:00:00.084) 0:00:57.285 ****** 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:59:20 +0000 (0:00:00.046) 0:00:57.331 ****** 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:59:20 +0000 (0:00:00.077) 0:00:57.408 ****** 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:59:20 +0000 (0:00:00.041) 0:00:57.450 ****** 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:59:20 +0000 (0:00:00.044) 0:00:57.494 ****** 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:59:20 +0000 (0:00:00.066) 0:00:57.560 ****** 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:59:21 +0000 (0:00:00.568) 0:00:58.129 ****** 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:59:21 +0000 (0:00:00.057) 0:00:58.187 ****** 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:59:21 +0000 (0:00:00.036) 0:00:58.223 ****** 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:59:21 +0000 (0:00:00.037) 0:00:58.260 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } 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:59:22 +0000 (0:00:00.598) 0:00:58.859 ****** 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:59:22 +0000 (0:00:00.095) 0:00:58.955 ****** 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:59:22 +0000 (0:00:00.052) 0:00:59.007 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "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:59:22 +0000 (0:00:00.049) 0:00:59.057 ****** 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:59:22 +0000 (0:00:00.039) 0:00:59.097 ****** 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:59:22 +0000 (0:00:00.393) 0:00:59.490 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-8.qcow2 => (item=tasks/assert_device_present.yml) included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/centos-8.qcow2 => (item=tasks/assert_profile_absent.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:59:22 +0000 (0:00:00.071) 0:00:59.562 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:59:22 +0000 (0:00:00.059) 0:00:59.621 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1659549549.2443771, "block_size": 4096, "blocks": 0, "ctime": 1659549549.2443771, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38065, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1659549549.2443771, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface statebr is present] ******************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:59:23 +0000 (0:00:00.391) 0:01:00.012 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:59:23 +0000 (0:00:00.050) 0:01:00.063 ****** 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:59:23 +0000 (0:00:00.100) 0:01:00.164 ****** 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:59:23 +0000 (0:00:00.048) 0:01:00.212 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": 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:59:23 +0000 (0:00:00.376) 0:01:00.588 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:59:23 +0000 (0:00:00.038) 0:01:00.627 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020265", "end": "2022-08-03 17:59:22.924858", "rc": 1, "start": "2022-08-03 17:59:22.904593" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:59:24 +0000 (0:00:00.407) 0:01:01.035 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:59:24 +0000 (0:00:00.040) 0:01:01.076 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:59:24 +0000 (0:00:00.036) 0:01:01.113 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:59:24 +0000 (0:00:00.039) 0:01:01.152 ****** 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:59:24 +0000 (0:00:00.050) 0:01:01.203 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:59:24 +0000 (0:00:00.048) 0:01:01.252 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:59:24 +0000 (0:00:00.047) 0:01:01.299 ****** 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:59:24 +0000 (0:00:00.064) 0:01:01.364 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.055714", "end": "2022-08-03 17:59:23.738875", "rc": 1, "start": "2022-08-03 17:59:23.683161" } STDOUT: Connection 'statebr' (112d2545-829a-4454-a796-abe7e6008632) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_states.yml:90 Wednesday 03 August 2022 17:59:25 +0000 (0:00:00.485) 0:01:01.849 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:59:25 +0000 (0:00:00.062) 0:01:01.912 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:59:25 +0000 (0:00:00.047) 0:01:01.960 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_absent.yml", "when": true } ] } 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:59:25 +0000 (0:00:00.112) 0:01:02.072 ****** 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:59:25 +0000 (0:00:00.058) 0:01:02.131 ****** 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:59:25 +0000 (0:00:00.057) 0:01:02.188 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003578", "end": "2022-08-03 17:59:24.472392", "rc": 0, "start": "2022-08-03 17:59:24.468814" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:59:25 +0000 (0:00:00.397) 0:01:02.585 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:59:25 +0000 (0:00:00.046) 0:01:02.632 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:59:25 +0000 (0:00:00.050) 0:01:02.683 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/centos-8.qcow2 => (item=tasks/create_bridge_profile.yml) included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/activate_profile.yml for /cache/centos-8.qcow2 => (item=tasks/activate_profile.yml) included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/remove_profile.yml for /cache/centos-8.qcow2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:59:26 +0000 (0:00:00.108) 0:01:02.791 ****** 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:59:26 +0000 (0:00:00.063) 0:01:02.854 ****** 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:59:26 +0000 (0:00:00.065) 0:01:02.920 ****** 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:59:26 +0000 (0:00:00.530) 0:01:03.451 ****** 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:59:28 +0000 (0:00:01.526) 0:01:04.977 ****** 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:59:29 +0000 (0:00:01.129) 0:01:06.107 ****** 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:59:29 +0000 (0:00:00.049) 0:01:06.156 ****** 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:59:29 +0000 (0:00:00.042) 0:01:06.199 ****** 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:59:29 +0000 (0:00:00.040) 0:01:06.239 ****** 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:59:29 +0000 (0:00:00.082) 0:01:06.321 ****** 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:59:29 +0000 (0:00:00.050) 0:01:06.372 ****** 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:59:29 +0000 (0:00:00.041) 0:01:06.413 ****** 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:59:29 +0000 (0:00:00.055) 0:01:06.469 ****** 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:59:30 +0000 (0:00:00.612) 0:01:07.081 ****** 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:59:30 +0000 (0:00:00.057) 0:01:07.139 ****** 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:59:30 +0000 (0:00:00.037) 0:01:07.176 ****** 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:59:30 +0000 (0:00:00.035) 0:01:07.211 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2ba0b6e-b82b-4b46-ab18-6ace7a546652 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:59:31 +0000 (0:00:00.600) 0:01:07.811 ****** 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:59:31 +0000 (0:00:00.045) 0:01:07.856 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2ba0b6e-b82b-4b46-ab18-6ace7a546652" ] } 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:59:31 +0000 (0:00:00.049) 0:01:07.906 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2ba0b6e-b82b-4b46-ab18-6ace7a546652\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2ba0b6e-b82b-4b46-ab18-6ace7a546652" ] } } 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:59:31 +0000 (0:00:00.053) 0:01:07.959 ****** 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:59:31 +0000 (0:00:00.044) 0:01:08.004 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:59:31 +0000 (0:00:00.493) 0:01:08.497 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2ba0b6e-b82b-4b46-ab18-6ace7a546652\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2ba0b6e-b82b-4b46-ab18-6ace7a546652" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:59:31 +0000 (0:00:00.050) 0:01:08.548 ****** 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:59:31 +0000 (0:00:00.062) 0:01:08.611 ****** 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:59:31 +0000 (0:00:00.066) 0:01:08.677 ****** 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:59:32 +0000 (0:00:00.558) 0:01:09.236 ****** 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:59:34 +0000 (0:00:01.517) 0:01:10.754 ****** 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:59:35 +0000 (0:00:01.162) 0:01:11.916 ****** 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:59:35 +0000 (0:00:00.050) 0:01:11.967 ****** 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:59:35 +0000 (0:00:00.038) 0:01:12.005 ****** 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:59:35 +0000 (0:00:00.038) 0:01:12.044 ****** 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:59:35 +0000 (0:00:00.071) 0:01:12.116 ****** 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:59:35 +0000 (0:00:00.037) 0:01:12.153 ****** 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:59:35 +0000 (0:00:00.037) 0:01:12.190 ****** 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:59:35 +0000 (0:00:00.057) 0:01:12.248 ****** 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:59:36 +0000 (0:00:00.635) 0:01:12.883 ****** 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:59:36 +0000 (0:00:00.057) 0:01:12.941 ****** 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:59:36 +0000 (0:00:00.035) 0:01:12.977 ****** 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:59:36 +0000 (0:00:00.038) 0:01:13.015 ****** ok: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2ba0b6e-b82b-4b46-ab18-6ace7a546652 skipped because already active 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:59:36 +0000 (0:00:00.558) 0:01:13.573 ****** 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:59:36 +0000 (0:00:00.040) 0:01:13.614 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2ba0b6e-b82b-4b46-ab18-6ace7a546652 skipped because already active" ] } 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:59:36 +0000 (0:00:00.046) 0:01:13.660 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2ba0b6e-b82b-4b46-ab18-6ace7a546652 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2ba0b6e-b82b-4b46-ab18-6ace7a546652 skipped because already active" ] } } 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:59:36 +0000 (0:00:00.052) 0:01:13.713 ****** 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:59:37 +0000 (0:00:00.044) 0:01:13.757 ****** 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/remove_profile.yml:3 Wednesday 03 August 2022 17:59:37 +0000 (0:00:00.433) 0:01:14.190 ****** 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:59:37 +0000 (0:00:00.060) 0:01:14.251 ****** 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:59:37 +0000 (0:00:00.066) 0:01:14.318 ****** 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:59:38 +0000 (0:00:00.537) 0:01:14.855 ****** 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:59:39 +0000 (0:00:01.490) 0:01:16.346 ****** 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:59:40 +0000 (0:00:01.127) 0:01:17.473 ****** 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:59:40 +0000 (0:00:00.053) 0:01:17.527 ****** 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:59:40 +0000 (0:00:00.043) 0:01:17.571 ****** 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:59:40 +0000 (0:00:00.040) 0:01:17.611 ****** 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:59:40 +0000 (0:00:00.080) 0:01:17.692 ****** 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:59:40 +0000 (0:00:00.045) 0:01:17.737 ****** 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:59:41 +0000 (0:00:00.046) 0:01:17.783 ****** 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:59:41 +0000 (0:00:00.062) 0:01:17.846 ****** 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:59:41 +0000 (0:00:00.610) 0:01:18.457 ****** 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:59:41 +0000 (0:00:00.059) 0:01:18.516 ****** 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:59:41 +0000 (0:00:00.038) 0:01:18.554 ****** 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:59:41 +0000 (0:00:00.038) 0:01:18.592 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } 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:59:42 +0000 (0:00:00.576) 0:01:19.169 ****** 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:59:42 +0000 (0:00:00.041) 0:01:19.211 ****** 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:59:42 +0000 (0:00:00.051) 0:01:19.263 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "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:59:42 +0000 (0:00:00.050) 0:01:19.313 ****** 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:59:42 +0000 (0:00:00.039) 0:01:19.353 ****** 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:59:43 +0000 (0:00:00.435) 0:01:19.789 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/remove+down_profile.yml for /cache/centos-8.qcow2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 17:59:43 +0000 (0:00:00.066) 0:01:19.856 ****** 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:59:43 +0000 (0:00:00.074) 0:01:19.930 ****** 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:59:43 +0000 (0:00:00.065) 0:01:19.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 : 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:59:43 +0000 (0:00:00.546) 0:01:20.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 : 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:59:45 +0000 (0:00:01.511) 0:01:22.054 ****** 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:59:46 +0000 (0:00:01.149) 0:01:23.204 ****** 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:59:46 +0000 (0:00:00.052) 0:01:23.256 ****** 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:59:46 +0000 (0:00:00.042) 0:01:23.299 ****** 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:59:46 +0000 (0:00:00.040) 0:01:23.339 ****** 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:59:46 +0000 (0:00:00.077) 0:01:23.416 ****** 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:59:46 +0000 (0:00:00.042) 0:01:23.459 ****** 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:59:46 +0000 (0:00:00.047) 0:01:23.507 ****** 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:59:46 +0000 (0:00:00.119) 0:01:23.626 ****** 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:59:47 +0000 (0:00:00.559) 0:01:24.185 ****** 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:59:47 +0000 (0:00:00.056) 0:01:24.242 ****** 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:59:47 +0000 (0:00:00.037) 0:01:24.280 ****** 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:59:47 +0000 (0:00:00.037) 0:01:24.318 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete 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:59:48 +0000 (0:00:00.611) 0:01:24.929 ****** 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:59:48 +0000 (0:00:00.042) 0:01:24.971 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } 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:59:48 +0000 (0:00:00.047) 0:01:25.018 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } 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:59:48 +0000 (0:00:00.050) 0:01:25.069 ****** 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:59:48 +0000 (0:00:00.042) 0:01:25.111 ****** 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:59:48 +0000 (0:00:00.396) 0:01:25.508 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/centos-8.qcow2 => (item=tasks/assert_profile_absent.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:59:48 +0000 (0:00:00.069) 0:01:25.577 ****** 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:59:48 +0000 (0:00:00.061) 0:01:25.639 ****** 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:59:48 +0000 (0:00:00.049) 0:01:25.688 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": 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:59:49 +0000 (0:00:00.391) 0:01:26.080 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:59:49 +0000 (0:00:00.037) 0:01:26.118 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024656", "end": "2022-08-03 17:59:48.431097", "rc": 1, "start": "2022-08-03 17:59:48.406441" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:59:49 +0000 (0:00:00.427) 0:01:26.545 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:59:49 +0000 (0:00:00.040) 0:01:26.585 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:59:49 +0000 (0:00:00.040) 0:01:26.626 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:59:49 +0000 (0:00:00.038) 0:01:26.664 ****** 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:59:50 +0000 (0:00:00.119) 0:01:26.784 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-8.qcow2 => (item={'what': 'tasks/assert_device_absent.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:59:50 +0000 (0:00:00.083) 0:01:26.867 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:59:50 +0000 (0:00:00.070) 0:01:26.937 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:59:50 +0000 (0:00:00.395) 0:01:27.333 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:59:50 +0000 (0:00:00.052) 0:01:27.386 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:59:50 +0000 (0:00:00.050) 0:01:27.437 ****** 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:59:50 +0000 (0:00:00.068) 0:01:27.506 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041721", "end": "2022-08-03 17:59:49.830487", "rc": 1, "start": "2022-08-03 17:59:49.788766" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_states.yml:110 Wednesday 03 August 2022 17:59:51 +0000 (0:00:00.439) 0:01:27.945 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml for /cache/centos-8.qcow2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:59:51 +0000 (0:00:00.109) 0:01:28.054 ****** ok: [/cache/centos-8.qcow2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:59:51 +0000 (0:00:00.046) 0:01:28.100 ****** ok: [/cache/centos-8.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [/cache/centos-8.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [/cache/centos-8.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_absent.yml", "when": true } ] } 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:59:51 +0000 (0:00:00.117) 0:01:28.217 ****** 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:59:51 +0000 (0:00:00.058) 0:01:28.276 ****** 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:59:51 +0000 (0:00:00.059) 0:01:28.336 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004198", "end": "2022-08-03 17:59:50.647545", "rc": 0, "start": "2022-08-03 17:59:50.643347" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:59:52 +0000 (0:00:00.430) 0:01:28.766 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:59:52 +0000 (0:00:00.049) 0:01:28.815 ****** ok: [/cache/centos-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:59:52 +0000 (0:00:00.047) 0:01:28.862 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/centos-8.qcow2 => (item=tasks/create_bridge_profile.yml) included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/activate_profile.yml for /cache/centos-8.qcow2 => (item=tasks/activate_profile.yml) included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/remove+down_profile.yml for /cache/centos-8.qcow2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:59:52 +0000 (0:00:00.068) 0:01:28.931 ****** 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:59:52 +0000 (0:00:00.062) 0:01:28.993 ****** 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:59:52 +0000 (0:00:00.096) 0:01:29.090 ****** 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:59:52 +0000 (0:00:00.535) 0:01:29.626 ****** 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:59:54 +0000 (0:00:01.500) 0:01:31.126 ****** 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:59:55 +0000 (0:00:01.208) 0:01:32.335 ****** 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:59:55 +0000 (0:00:00.047) 0:01:32.383 ****** 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:59:55 +0000 (0:00:00.043) 0:01:32.426 ****** 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:59:55 +0000 (0:00:00.046) 0:01:32.473 ****** 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:59:55 +0000 (0:00:00.078) 0:01:32.551 ****** 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:59:55 +0000 (0:00:00.042) 0:01:32.594 ****** 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:59:55 +0000 (0:00:00.043) 0:01:32.637 ****** 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:59:55 +0000 (0:00:00.055) 0:01:32.692 ****** 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:59:56 +0000 (0:00:00.565) 0:01:33.258 ****** 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:59:56 +0000 (0:00:00.057) 0:01:33.315 ****** 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:59:56 +0000 (0:00:00.036) 0:01:33.352 ****** 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:59:56 +0000 (0:00:00.035) 0:01:33.387 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d65bd15d-fe08-4078-a36f-28ebde3913cc 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:59:57 +0000 (0:00:00.672) 0:01:34.059 ****** 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:59:57 +0000 (0:00:00.041) 0:01:34.100 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d65bd15d-fe08-4078-a36f-28ebde3913cc" ] } 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:59:57 +0000 (0:00:00.049) 0:01:34.149 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d65bd15d-fe08-4078-a36f-28ebde3913cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d65bd15d-fe08-4078-a36f-28ebde3913cc" ] } } 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:59:57 +0000 (0:00:00.051) 0:01:34.201 ****** 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:59:57 +0000 (0:00:00.041) 0:01:34.242 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-8.qcow2 TASK [Show result] ************************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:59:57 +0000 (0:00:00.406) 0:01:34.649 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d65bd15d-fe08-4078-a36f-28ebde3913cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d65bd15d-fe08-4078-a36f-28ebde3913cc" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:59:57 +0000 (0:00:00.054) 0:01:34.704 ****** 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:59:58 +0000 (0:00:00.061) 0:01:34.765 ****** 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:59:58 +0000 (0:00:00.067) 0:01:34.833 ****** 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:59:58 +0000 (0:00:00.578) 0:01:35.411 ****** 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 18:00:00 +0000 (0:00:01.457) 0:01:36.869 ****** 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 18:00:01 +0000 (0:00:01.137) 0:01:38.006 ****** 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 18:00:01 +0000 (0:00:00.049) 0:01:38.056 ****** 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 18:00:01 +0000 (0:00:00.073) 0:01:38.130 ****** 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 18:00:01 +0000 (0:00:00.042) 0:01:38.172 ****** 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 18:00:01 +0000 (0:00:00.076) 0:01:38.248 ****** 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 18:00:01 +0000 (0:00:00.042) 0:01:38.290 ****** 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 18:00:01 +0000 (0:00:00.043) 0:01:38.334 ****** 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 18:00:01 +0000 (0:00:00.062) 0:01:38.397 ****** 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 18:00:02 +0000 (0:00:00.561) 0:01:38.958 ****** 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 18:00:02 +0000 (0:00:00.058) 0:01:39.017 ****** 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 18:00:02 +0000 (0:00:00.036) 0:01:39.054 ****** 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 18:00:02 +0000 (0:00:00.037) 0:01:39.091 ****** ok: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d65bd15d-fe08-4078-a36f-28ebde3913cc skipped because already active 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 18:00:02 +0000 (0:00:00.552) 0:01:39.643 ****** 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 18:00:02 +0000 (0:00:00.088) 0:01:39.732 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d65bd15d-fe08-4078-a36f-28ebde3913cc skipped because already active" ] } 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 18:00:03 +0000 (0:00:00.049) 0:01:39.782 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d65bd15d-fe08-4078-a36f-28ebde3913cc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d65bd15d-fe08-4078-a36f-28ebde3913cc skipped because already active" ] } } 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 18:00:03 +0000 (0:00:00.053) 0:01:39.835 ****** 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 18:00:03 +0000 (0:00:00.041) 0:01:39.877 ****** 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/remove+down_profile.yml:3 Wednesday 03 August 2022 18:00:03 +0000 (0:00:00.405) 0:01:40.283 ****** 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 18:00:03 +0000 (0:00:00.063) 0:01:40.346 ****** 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 18:00:03 +0000 (0:00:00.066) 0:01:40.413 ****** 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 18:00:04 +0000 (0:00:00.525) 0:01:40.938 ****** 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 18:00:05 +0000 (0:00:01.463) 0:01:42.402 ****** 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 18:00:06 +0000 (0:00:01.124) 0:01:43.526 ****** 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 18:00:06 +0000 (0:00:00.051) 0:01:43.578 ****** 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 18:00:06 +0000 (0:00:00.039) 0:01:43.617 ****** 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 18:00:06 +0000 (0:00:00.078) 0:01:43.696 ****** 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 18:00:07 +0000 (0:00:00.085) 0:01:43.782 ****** 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 18:00:07 +0000 (0:00:00.042) 0:01:43.825 ****** 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 18:00:07 +0000 (0:00:00.040) 0:01:43.865 ****** 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 18:00:07 +0000 (0:00:00.056) 0:01:43.921 ****** 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 18:00:07 +0000 (0:00:00.556) 0:01:44.478 ****** 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 18:00:07 +0000 (0:00:00.058) 0:01:44.536 ****** 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 18:00:07 +0000 (0:00:00.037) 0:01:44.574 ****** 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 18:00:07 +0000 (0:00:00.037) 0:01:44.611 ****** changed: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } 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 18:00:08 +0000 (0:00:00.630) 0:01:45.241 ****** 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 18:00:08 +0000 (0:00:00.041) 0:01:45.283 ****** 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 18:00:08 +0000 (0:00:00.130) 0:01:45.413 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "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 18:00:08 +0000 (0:00:00.057) 0:01:45.471 ****** 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 18:00:08 +0000 (0:00:00.050) 0:01:45.521 ****** 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 18:00:09 +0000 (0:00:00.414) 0:01:45.936 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/remove+down_profile.yml for /cache/centos-8.qcow2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 18:00:09 +0000 (0:00:00.065) 0:01:46.002 ****** 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 18:00:09 +0000 (0:00:00.061) 0:01:46.063 ****** 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 18:00:09 +0000 (0:00:00.068) 0:01:46.132 ****** 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 18:00:09 +0000 (0:00:00.561) 0:01:46.694 ****** 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 18:00:11 +0000 (0:00:01.546) 0:01:48.240 ****** 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 18:00:12 +0000 (0:00:01.185) 0:01:49.426 ****** 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 18:00:12 +0000 (0:00:00.087) 0:01:49.513 ****** 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 18:00:12 +0000 (0:00:00.076) 0:01:49.590 ****** 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 18:00:12 +0000 (0:00:00.040) 0:01:49.631 ****** 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 18:00:12 +0000 (0:00:00.077) 0:01:49.708 ****** 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 18:00:13 +0000 (0:00:00.039) 0:01:49.747 ****** 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 18:00:13 +0000 (0:00:00.040) 0:01:49.788 ****** 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 18:00:13 +0000 (0:00:00.057) 0:01:49.845 ****** 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 18:00:13 +0000 (0:00:00.541) 0:01:50.387 ****** 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 18:00:13 +0000 (0:00:00.056) 0:01:50.443 ****** 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 18:00:13 +0000 (0:00:00.037) 0:01:50.481 ****** 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 18:00:13 +0000 (0:00:00.035) 0:01:50.516 ****** ok: [/cache/centos-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete 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 18:00:14 +0000 (0:00:00.561) 0:01:51.078 ****** 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 18:00:14 +0000 (0:00:00.040) 0:01:51.118 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } 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 18:00:14 +0000 (0:00:00.112) 0:01:51.231 ****** ok: [/cache/centos-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } 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 18:00:14 +0000 (0:00:00.050) 0:01:51.282 ****** 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 18:00:14 +0000 (0:00:00.040) 0:01:51.323 ****** 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 18:00:14 +0000 (0:00:00.391) 0:01:51.715 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/centos-8.qcow2 => (item=tasks/assert_profile_absent.yml) included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for /cache/centos-8.qcow2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 18:00:15 +0000 (0:00:00.070) 0:01:51.785 ****** 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 18:00:15 +0000 (0:00:00.061) 0:01:51.847 ****** 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 18:00:15 +0000 (0:00:00.045) 0:01:51.892 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": 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 18:00:15 +0000 (0:00:00.374) 0:01:52.267 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 18:00:15 +0000 (0:00:00.037) 0:01:52.304 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017907", "end": "2022-08-03 18:00:14.596303", "rc": 1, "start": "2022-08-03 18:00:14.578396" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 18:00:15 +0000 (0:00:00.399) 0:01:52.704 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 18:00:16 +0000 (0:00:00.037) 0:01:52.742 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 18:00:16 +0000 (0:00:00.038) 0:01:52.781 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 18:00:16 +0000 (0:00:00.037) 0:01:52.818 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:4 Wednesday 03 August 2022 18:00:16 +0000 (0:00:00.053) 0:01:52.871 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.558604", "end": "2022-08-03 18:00:15.706708", "rc": 0, "start": "2022-08-03 18:00:15.148104" } STDOUT: NetworkManager-1.39.10-1.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:10 Wednesday 03 August 2022 18:00:17 +0000 (0:00:00.949) 0:01:53.821 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "NetworkManager_NVR": "NetworkManager-1.39.10-1.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 03 August 2022 18:00:17 +0000 (0:00:00.048) 0:01:53.870 ****** ok: [/cache/centos-8.qcow2] => { "NetworkManager_NVR": "NetworkManager-1.39.10-1.el8" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 18:00:17 +0000 (0:00:00.051) 0:01:53.921 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-8.qcow2 => (item={'what': 'tasks/assert_device_absent.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 18:00:17 +0000 (0:00:00.082) 0:01:54.004 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-8.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 18:00:17 +0000 (0:00:00.098) 0:01:54.102 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 18:00:17 +0000 (0:00:00.381) 0:01:54.483 ****** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 18:00:17 +0000 (0:00:00.049) 0:01:54.533 ****** ok: [/cache/centos-8.qcow2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 18:00:17 +0000 (0:00:00.046) 0:01:54.579 ****** 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 18:00:17 +0000 (0:00:00.064) 0:01:54.644 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.040546", "end": "2022-08-03 18:00:16.956094", "rc": 1, "start": "2022-08-03 18:00:16.915548" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=334 changed=14 unreachable=0 failed=0 skipped=189 rescued=0 ignored=11 Wednesday 03 August 2022 18:00:18 +0000 (0:00:00.448) 0:01:55.092 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 3.27s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 3.11s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which services are running ---- 2.52s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 2.33s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Re-test connectivity ---------------- 2.22s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.20s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.80s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.70s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.66s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /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.55s /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.54s /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.53s /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.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.51s /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 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 services are running ---- 1.49s /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.48s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 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 18:00:18 +0000 (0:00:00.046) 0:01:55.138 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005603", "end": "2022-08-03 18:00:17.408344", "rc": 0, "start": "2022-08-03 18:00:17.402741" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=335 changed=15 unreachable=0 failed=0 skipped=189 rescued=0 ignored=11 Wednesday 03 August 2022 18:00:18 +0000 (0:00:00.402) 0:01:55.540 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 3.27s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 3.11s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which services are running ---- 2.52s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 2.33s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Re-test connectivity ---------------- 2.22s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.20s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.80s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.70s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.66s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /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.55s /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.54s /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.53s /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.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.51s /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 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 services are running ---- 1.49s /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.48s /tmp/tmp4wbeq7zn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9