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/tmpe4dwqm__ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmplbj_o459/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmplbj_o459/tests/_backup.yml:6 Wednesday 03 August 2022 17:28:23 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659547702.2514896, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659547702.2514896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8332, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744072568422237", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmplbj_o459/tests/_backup.yml:13 Wednesday 03 August 2022 17:28:23 +0000 (0:00:00.511) 0:00:00.530 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659546490.0, 'block_size': 4096, 'inode': 8332, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744072568422237', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659547702.2514896, 'isdir': False, 'ctime': 1659547702.2514896, 'isblk': False, 'wgrp': False, 'checksum': '58d0b40c7f3b3443c40de4c19aee35ddf579fd17', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659547702.2514896, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659547702.2514896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8332, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744072568422237", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmplbj_o459/tests/_backup.yml:19 Wednesday 03 August 2022 17:28:23 +0000 (0:00:00.035) 0:00:00.565 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005091", "end": "2022-08-03 17:28:23.865208", "rc": 0, "start": "2022-08-03 17:28:23.860117" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:28:24 +0000 (0:00:00.439) 0:00:01.005 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.51s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.44s /tmp/tmplbj_o459/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/tmplbj_o459/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/tests_states_nm.yml:5 Wednesday 03 August 2022 17:28:24 +0000 (0:00:00.015) 0:00:01.020 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_states_nm.yml:8 Wednesday 03 August 2022 17:28:25 +0000 (0:00:01.029) 0:00:02.050 ****** included: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml for /cache/centos-7.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:28:25 +0000 (0:00:00.027) 0:00:02.078 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:28:25 +0000 (0:00:00.023) 0:00:02.101 ****** included: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml for /cache/centos-7.qcow2c.snap TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:28:25 +0000 (0:00:00.029) 0:00:02.131 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.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/tmplbj_o459/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:28:26 +0000 (0:00:00.562) 0:00:02.693 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.178120", "end": "2022-08-03 17:28:26.045830", "rc": 0, "start": "2022-08-03 17:28:25.867710" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=genclo&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:28:26 +0000 (0:00:00.484) 0:00:03.178 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:28:26 +0000 (0:00:00.024) 0:00:03.203 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmplbj_o459/tests/tests_states_nm.yml:9 Wednesday 03 August 2022 17:28:26 +0000 (0:00:00.021) 0:00:03.224 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_states.yml:3 Wednesday 03 August 2022 17:28:26 +0000 (0:00:00.047) 0:00:03.272 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_states.yml:10 Wednesday 03 August 2022 17:28:27 +0000 (0:00:00.756) 0:00:04.028 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_states.yml:18 Wednesday 03 August 2022 17:28:27 +0000 (0:00:00.029) 0:00:04.058 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml for /cache/centos-7.qcow2c.snap TASK [TEST: I can create a profile] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:28:27 +0000 (0:00:00.032) 0:00:04.090 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:28:27 +0000 (0:00:00.028) 0:00:04.119 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:28:27 +0000 (0:00:00.123) 0:00:04.242 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:28:27 +0000 (0:00:00.038) 0:00:04.280 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:28:27 +0000 (0:00:00.031) 0:00:04.312 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004048", "end": "2022-08-03 17:28:27.492187", "rc": 0, "start": "2022-08-03 17:28:27.488139" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:28:28 +0000 (0:00:00.311) 0:00:04.623 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:28:28 +0000 (0:00:00.033) 0:00:04.657 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:28:28 +0000 (0:00:00.066) 0:00:04.723 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/delete_interface.yml for /cache/centos-7.qcow2c.snap => (item=tasks/delete_interface.yml) included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:28:28 +0000 (0:00:00.038) 0:00:04.762 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010647", "end": "2022-08-03 17:28:27.946839", "rc": 1, "start": "2022-08-03 17:28:27.936192" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:28:28 +0000 (0:00:00.314) 0:00:05.077 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:28:28 +0000 (0:00:00.036) 0:00:05.113 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:28:28 +0000 (0:00:00.305) 0:00:05.419 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:28:28 +0000 (0:00:00.059) 0:00:05.478 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:28:28 +0000 (0:00:00.040) 0:00:05.519 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:28:28 +0000 (0:00:00.045) 0:00:05.564 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:28:28 +0000 (0:00:00.038) 0:00:05.602 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:28:29 +0000 (0:00:00.431) 0:00:06.034 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:28:30 +0000 (0:00:00.996) 0:00:07.030 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:28:31 +0000 (0:00:01.080) 0:00:08.111 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:28:31 +0000 (0:00:00.044) 0:00:08.156 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:28:31 +0000 (0:00:00.039) 0:00:08.195 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:28:31 +0000 (0:00:00.039) 0:00:08.235 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:28:31 +0000 (0:00:00.076) 0:00:08.311 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:28:31 +0000 (0:00:00.037) 0:00:08.349 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:28:31 +0000 (0:00:00.070) 0:00:08.420 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:28:31 +0000 (0:00:00.062) 0:00:08.482 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:28:32 +0000 (0:00:00.683) 0:00:09.165 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:28:32 +0000 (0:00:00.052) 0:00:09.218 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:28:32 +0000 (0:00:00.033) 0:00:09.251 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:28:32 +0000 (0:00:00.034) 0:00:09.286 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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, 090a0446-0dda-4023-b707-b72069fbaa42 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:28:33 +0000 (0:00:00.709) 0:00:09.995 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:28:33 +0000 (0:00:00.036) 0:00:10.031 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 090a0446-0dda-4023-b707-b72069fbaa42" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:28:33 +0000 (0:00:00.043) 0:00:10.074 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 090a0446-0dda-4023-b707-b72069fbaa42\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 090a0446-0dda-4023-b707-b72069fbaa42" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:28:33 +0000 (0:00:00.045) 0:00:10.120 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:28:33 +0000 (0:00:00.036) 0:00:10.156 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Show result] ************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:28:34 +0000 (0:00:00.478) 0:00:10.635 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 090a0446-0dda-4023-b707-b72069fbaa42\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 090a0446-0dda-4023-b707-b72069fbaa42" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:28:34 +0000 (0:00:00.047) 0:00:10.682 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:28:34 +0000 (0:00:00.059) 0:00:10.741 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:28:34 +0000 (0:00:00.053) 0:00:10.795 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:28:34 +0000 (0:00:00.043) 0:00:10.838 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659547712.8144898, "block_size": 4096, "blocks": 8, "ctime": 1659547712.8134897, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 742545, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547712.8134897, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:28:34 +0000 (0:00:00.323) 0:00:11.161 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:28:34 +0000 (0:00:00.045) 0:00:11.207 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024249", "end": "2022-08-03 17:28:34.410478", "rc": 0, "start": "2022-08-03 17:28:34.386229" } 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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:28:34 +0000 (0:00:00.348) 0:00:11.556 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:28:34 +0000 (0:00:00.045) 0:00:11.601 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:28:35 +0000 (0:00:00.037) 0:00:11.639 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:28:35 +0000 (0:00:00.035) 0:00:11.674 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:28:35 +0000 (0:00:00.048) 0:00:11.723 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:28:35 +0000 (0:00:00.046) 0:00:11.769 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-7.qcow2c.snap => (item={'what': 'tasks/assert_device_present.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:28:35 +0000 (0:00:00.074) 0:00:11.844 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:28:35 +0000 (0:00:00.080) 0:00:11.925 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659547712.8164897, "block_size": 4096, "blocks": 0, "ctime": 1659547712.8154898, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14745, "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": 1659547712.8154898, "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/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:28:35 +0000 (0:00:00.318) 0:00:12.243 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:28:35 +0000 (0:00:00.045) 0:00:12.289 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:28:35 +0000 (0:00:00.059) 0:00:12.348 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-7.qcow2c.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:28:35 +0000 (0:00:00.089) 0:00:12.437 ****** fatal: [/cache/centos-7.qcow2c.snap]: 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.063707", "end": "2022-08-03 17:28:35.673223", "rc": 1, "start": "2022-08-03 17:28:35.609516" } STDOUT: Connection 'statebr' (090a0446-0dda-4023-b707-b72069fbaa42) successfully deleted. STDERR: (process:17356): GLib-GIO-WARNING **: 17:28:35.654: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/86 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_states.yml:39 Wednesday 03 August 2022 17:28:36 +0000 (0:00:00.379) 0:00:12.817 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml for /cache/centos-7.qcow2c.snap TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:28:36 +0000 (0:00:00.053) 0:00:12.870 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:28:36 +0000 (0:00:00.042) 0:00:12.912 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:28:36 +0000 (0:00:00.144) 0:00:13.057 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:28:36 +0000 (0:00:00.051) 0:00:13.108 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:28:36 +0000 (0:00:00.048) 0:00:13.157 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003961", "end": "2022-08-03 17:28:36.344023", "rc": 0, "start": "2022-08-03 17:28:36.340062" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:28:36 +0000 (0:00:00.377) 0:00:13.534 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:28:36 +0000 (0:00:00.058) 0:00:13.593 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:28:37 +0000 (0:00:00.048) 0:00:13.641 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/delete_interface.yml for /cache/centos-7.qcow2c.snap => (item=tasks/delete_interface.yml) included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:28:37 +0000 (0:00:00.064) 0:00:13.706 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007862", "end": "2022-08-03 17:28:36.885108", "rc": 1, "start": "2022-08-03 17:28:36.877246" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:28:37 +0000 (0:00:00.320) 0:00:14.026 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:28:37 +0000 (0:00:00.055) 0:00:14.082 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:28:37 +0000 (0:00:00.319) 0:00:14.401 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:28:37 +0000 (0:00:00.043) 0:00:14.445 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for /cache/centos-7.qcow2c.snap => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 03 August 2022 17:28:37 +0000 (0:00:00.058) 0:00:14.503 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:28:37 +0000 (0:00:00.065) 0:00:14.569 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:28:38 +0000 (0:00:00.059) 0:00:14.628 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:28:38 +0000 (0:00:00.427) 0:00:15.055 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:28:39 +0000 (0:00:00.907) 0:00:15.963 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:28:40 +0000 (0:00:00.855) 0:00:16.818 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:28:40 +0000 (0:00:00.042) 0:00:16.861 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:28:40 +0000 (0:00:00.039) 0:00:16.900 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:28:40 +0000 (0:00:00.037) 0:00:16.938 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:28:40 +0000 (0:00:00.074) 0:00:17.013 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:28:40 +0000 (0:00:00.037) 0:00:17.051 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:28:40 +0000 (0:00:00.064) 0:00:17.115 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:28:40 +0000 (0:00:00.050) 0:00:17.165 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:28:40 +0000 (0:00:00.446) 0:00:17.612 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:28:41 +0000 (0:00:00.056) 0:00:17.668 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:28:41 +0000 (0:00:00.033) 0:00:17.702 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:28:41 +0000 (0:00:00.032) 0:00:17.735 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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, 0a036cc7-7ba1-43eb-ae4a-9076acd6d17a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:28:41 +0000 (0:00:00.538) 0:00:18.273 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:28:41 +0000 (0:00:00.041) 0:00:18.314 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a036cc7-7ba1-43eb-ae4a-9076acd6d17a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:28:41 +0000 (0:00:00.065) 0:00:18.380 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 0a036cc7-7ba1-43eb-ae4a-9076acd6d17a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a036cc7-7ba1-43eb-ae4a-9076acd6d17a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:28:41 +0000 (0:00:00.047) 0:00:18.428 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:28:41 +0000 (0:00:00.040) 0:00:18.468 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Show result] ************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 03 August 2022 17:28:42 +0000 (0:00:00.343) 0:00:18.812 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 0a036cc7-7ba1-43eb-ae4a-9076acd6d17a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a036cc7-7ba1-43eb-ae4a-9076acd6d17a" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:28:42 +0000 (0:00:00.047) 0:00:18.859 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_device_absent.yml) included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:28:42 +0000 (0:00:00.098) 0:00:18.958 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:28:42 +0000 (0:00:00.052) 0:00:19.011 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:28:42 +0000 (0:00:00.314) 0:00:19.325 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:28:42 +0000 (0:00:00.044) 0:00:19.370 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:28:42 +0000 (0:00:00.051) 0:00:19.421 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:28:42 +0000 (0:00:00.038) 0:00:19.460 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659547721.1074898, "block_size": 4096, "blocks": 8, "ctime": 1659547721.1064897, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 742551, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547721.1064897, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:28:43 +0000 (0:00:00.307) 0:00:19.768 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:28:43 +0000 (0:00:00.040) 0:00:19.809 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024505", "end": "2022-08-03 17:28:42.995549", "rc": 0, "start": "2022-08-03 17:28:42.971044" } 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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:28:43 +0000 (0:00:00.328) 0:00:20.137 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:28:43 +0000 (0:00:00.046) 0:00:20.183 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:28:43 +0000 (0:00:00.038) 0:00:20.222 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:28:43 +0000 (0:00:00.034) 0:00:20.256 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:28:43 +0000 (0:00:00.049) 0:00:20.306 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:28:43 +0000 (0:00:00.045) 0:00:20.351 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:28:43 +0000 (0:00:00.080) 0:00:20.432 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:28:43 +0000 (0:00:00.043) 0:00:20.475 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-7.qcow2c.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:28:43 +0000 (0:00:00.058) 0:00:20.534 ****** fatal: [/cache/centos-7.qcow2c.snap]: 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.047990", "end": "2022-08-03 17:28:43.748574", "rc": 1, "start": "2022-08-03 17:28:43.700584" } STDOUT: Connection 'statebr' (0a036cc7-7ba1-43eb-ae4a-9076acd6d17a) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_states.yml:57 Wednesday 03 August 2022 17:28:44 +0000 (0:00:00.359) 0:00:20.894 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml for /cache/centos-7.qcow2c.snap TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:28:44 +0000 (0:00:00.055) 0:00:20.950 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:28:44 +0000 (0:00:00.044) 0:00:20.995 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:28:44 +0000 (0:00:00.112) 0:00:21.107 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:28:44 +0000 (0:00:00.052) 0:00:21.160 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:28:44 +0000 (0:00:00.051) 0:00:21.211 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004038", "end": "2022-08-03 17:28:44.391136", "rc": 0, "start": "2022-08-03 17:28:44.387098" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:28:44 +0000 (0:00:00.328) 0:00:21.540 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:28:44 +0000 (0:00:00.048) 0:00:21.588 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:28:45 +0000 (0:00:00.046) 0:00:21.635 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:28:45 +0000 (0:00:00.059) 0:00:21.694 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:28:45 +0000 (0:00:00.102) 0:00:21.797 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:28:45 +0000 (0:00:00.065) 0:00:21.863 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:28:45 +0000 (0:00:00.432) 0:00:22.295 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:28:46 +0000 (0:00:00.940) 0:00:23.236 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:28:47 +0000 (0:00:00.879) 0:00:24.115 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:28:47 +0000 (0:00:00.043) 0:00:24.159 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:28:47 +0000 (0:00:00.039) 0:00:24.199 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:28:47 +0000 (0:00:00.041) 0:00:24.240 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:28:47 +0000 (0:00:00.077) 0:00:24.317 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:28:47 +0000 (0:00:00.036) 0:00:24.354 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:28:47 +0000 (0:00:00.035) 0:00:24.389 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:28:47 +0000 (0:00:00.049) 0:00:24.439 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:28:48 +0000 (0:00:00.448) 0:00:24.888 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:28:48 +0000 (0:00:00.051) 0:00:24.939 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:28:48 +0000 (0:00:00.030) 0:00:24.970 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:28:48 +0000 (0:00:00.034) 0:00:25.005 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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, 9aaea245-860a-499a-b6e8-6b909988faaa TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:28:48 +0000 (0:00:00.519) 0:00:25.524 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:28:48 +0000 (0:00:00.036) 0:00:25.561 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9aaea245-860a-499a-b6e8-6b909988faaa" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:28:48 +0000 (0:00:00.044) 0:00:25.605 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 9aaea245-860a-499a-b6e8-6b909988faaa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9aaea245-860a-499a-b6e8-6b909988faaa" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:28:49 +0000 (0:00:00.044) 0:00:25.650 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:28:49 +0000 (0:00:00.070) 0:00:25.720 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Show result] ************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:28:49 +0000 (0:00:00.353) 0:00:26.074 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 9aaea245-860a-499a-b6e8-6b909988faaa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9aaea245-860a-499a-b6e8-6b909988faaa" ] } } TASK [test] ******************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:28:49 +0000 (0:00:00.043) 0:00:26.117 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/activate_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:28:49 +0000 (0:00:00.056) 0:00:26.173 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:28:49 +0000 (0:00:00.064) 0:00:26.238 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:28:49 +0000 (0:00:00.060) 0:00:26.298 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:28:50 +0000 (0:00:00.444) 0:00:26.743 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:28:51 +0000 (0:00:00.937) 0:00:27.680 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:28:51 +0000 (0:00:00.902) 0:00:28.582 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:28:52 +0000 (0:00:00.043) 0:00:28.625 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:28:52 +0000 (0:00:00.039) 0:00:28.665 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:28:52 +0000 (0:00:00.038) 0:00:28.704 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:28:52 +0000 (0:00:00.075) 0:00:28.779 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:28:52 +0000 (0:00:00.038) 0:00:28.818 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:28:52 +0000 (0:00:00.037) 0:00:28.855 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:28:52 +0000 (0:00:00.053) 0:00:28.909 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:28:52 +0000 (0:00:00.431) 0:00:29.340 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:28:52 +0000 (0:00:00.055) 0:00:29.396 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:28:52 +0000 (0:00:00.032) 0:00:29.429 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:28:52 +0000 (0:00:00.076) 0:00:29.505 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/centos-7.qcow2c.snap] => { "_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, 9aaea245-860a-499a-b6e8-6b909988faaa skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:28:53 +0000 (0:00:00.490) 0:00:29.995 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:28:53 +0000 (0:00:00.039) 0:00:30.034 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9aaea245-860a-499a-b6e8-6b909988faaa skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:28:53 +0000 (0:00:00.047) 0:00:30.082 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 9aaea245-860a-499a-b6e8-6b909988faaa skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9aaea245-860a-499a-b6e8-6b909988faaa skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:28:53 +0000 (0:00:00.042) 0:00:30.124 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:28:53 +0000 (0:00:00.034) 0:00:30.159 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [asserts] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:28:53 +0000 (0:00:00.320) 0:00:30.479 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_device_present.yml) included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:28:53 +0000 (0:00:00.060) 0:00:30.540 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:28:53 +0000 (0:00:00.050) 0:00:30.590 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659547728.3484898, "block_size": 4096, "blocks": 0, "ctime": 1659547728.3334897, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14745, "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": 1659547728.3334897, "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/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:28:54 +0000 (0:00:00.323) 0:00:30.914 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:28:54 +0000 (0:00:00.049) 0:00:30.963 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:28:54 +0000 (0:00:00.054) 0:00:31.017 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:28:54 +0000 (0:00:00.107) 0:00:31.125 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659547728.3934898, "block_size": 4096, "blocks": 8, "ctime": 1659547728.3314898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 742547, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547728.3314898, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:28:54 +0000 (0:00:00.320) 0:00:31.446 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:28:54 +0000 (0:00:00.046) 0:00:31.492 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022394", "end": "2022-08-03 17:28:54.686670", "rc": 0, "start": "2022-08-03 17:28:54.664276" } 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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:28:55 +0000 (0:00:00.338) 0:00:31.831 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:28:55 +0000 (0:00:00.047) 0:00:31.878 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:28:55 +0000 (0:00:00.035) 0:00:31.914 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:28:55 +0000 (0:00:00.035) 0:00:31.949 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:28:55 +0000 (0:00:00.047) 0:00:31.996 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:28:55 +0000 (0:00:00.046) 0:00:32.043 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:28:55 +0000 (0:00:00.043) 0:00:32.087 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:28:55 +0000 (0:00:00.044) 0:00:32.131 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-7.qcow2c.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:28:55 +0000 (0:00:00.061) 0:00:32.193 ****** fatal: [/cache/centos-7.qcow2c.snap]: 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.069122", "end": "2022-08-03 17:28:55.440921", "rc": 1, "start": "2022-08-03 17:28:55.371799" } STDOUT: Connection 'statebr' (9aaea245-860a-499a-b6e8-6b909988faaa) successfully deleted. STDERR: (process:19306): GLib-GIO-WARNING **: 17:28:55.417: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/87 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_states.yml:73 Wednesday 03 August 2022 17:28:55 +0000 (0:00:00.397) 0:00:32.591 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml for /cache/centos-7.qcow2c.snap TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:28:56 +0000 (0:00:00.116) 0:00:32.707 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:28:56 +0000 (0:00:00.045) 0:00:32.752 ****** ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:28:56 +0000 (0:00:00.111) 0:00:32.864 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:28:56 +0000 (0:00:00.053) 0:00:32.917 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:28:56 +0000 (0:00:00.052) 0:00:32.970 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004163", "end": "2022-08-03 17:28:56.160955", "rc": 0, "start": "2022-08-03 17:28:56.156792" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:28:56 +0000 (0:00:00.336) 0:00:33.306 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:28:56 +0000 (0:00:00.045) 0:00:33.352 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:28:56 +0000 (0:00:00.044) 0:00:33.397 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/create_bridge_profile.yml) included: /tmp/tmplbj_o459/tests/playbooks/tasks/activate_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:28:56 +0000 (0:00:00.058) 0:00:33.456 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:28:56 +0000 (0:00:00.055) 0:00:33.511 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:28:56 +0000 (0:00:00.064) 0:00:33.576 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:28:57 +0000 (0:00:00.441) 0:00:34.017 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:28:58 +0000 (0:00:00.963) 0:00:34.981 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:28:59 +0000 (0:00:00.822) 0:00:35.803 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:28:59 +0000 (0:00:00.042) 0:00:35.846 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:28:59 +0000 (0:00:00.037) 0:00:35.883 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:28:59 +0000 (0:00:00.033) 0:00:35.917 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:28:59 +0000 (0:00:00.069) 0:00:35.986 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:28:59 +0000 (0:00:00.034) 0:00:36.021 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:28:59 +0000 (0:00:00.034) 0:00:36.055 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:28:59 +0000 (0:00:00.048) 0:00:36.104 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:28:59 +0000 (0:00:00.491) 0:00:36.596 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:29:00 +0000 (0:00:00.055) 0:00:36.651 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:29:00 +0000 (0:00:00.032) 0:00:36.684 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:29:00 +0000 (0:00:00.031) 0:00:36.715 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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, b4921944-1839-4e8d-9ee6-e1adde119e13 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:29:00 +0000 (0:00:00.517) 0:00:37.233 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:29:00 +0000 (0:00:00.037) 0:00:37.271 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b4921944-1839-4e8d-9ee6-e1adde119e13" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:29:00 +0000 (0:00:00.044) 0:00:37.316 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, b4921944-1839-4e8d-9ee6-e1adde119e13\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b4921944-1839-4e8d-9ee6-e1adde119e13" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:29:00 +0000 (0:00:00.047) 0:00:37.364 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:29:00 +0000 (0:00:00.039) 0:00:37.403 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Show result] ************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.344) 0:00:37.747 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, b4921944-1839-4e8d-9ee6-e1adde119e13\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b4921944-1839-4e8d-9ee6-e1adde119e13" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.046) 0:00:37.793 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.052) 0:00:37.846 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.092) 0:00:37.939 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.434) 0:00:38.373 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:29:02 +0000 (0:00:00.921) 0:00:39.295 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:29:03 +0000 (0:00:00.847) 0:00:40.142 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:29:03 +0000 (0:00:00.043) 0:00:40.186 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:29:03 +0000 (0:00:00.036) 0:00:40.222 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:29:03 +0000 (0:00:00.070) 0:00:40.292 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:29:03 +0000 (0:00:00.072) 0:00:40.365 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:29:03 +0000 (0:00:00.036) 0:00:40.401 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:29:03 +0000 (0:00:00.036) 0:00:40.438 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:29:03 +0000 (0:00:00.052) 0:00:40.490 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:29:04 +0000 (0:00:00.436) 0:00:40.926 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:29:04 +0000 (0:00:00.055) 0:00:40.981 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:29:04 +0000 (0:00:00.033) 0:00:41.015 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:29:04 +0000 (0:00:00.032) 0:00:41.048 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/centos-7.qcow2c.snap] => { "_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, b4921944-1839-4e8d-9ee6-e1adde119e13 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:29:04 +0000 (0:00:00.495) 0:00:41.543 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:29:04 +0000 (0:00:00.038) 0:00:41.581 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b4921944-1839-4e8d-9ee6-e1adde119e13 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:29:05 +0000 (0:00:00.047) 0:00:41.628 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, b4921944-1839-4e8d-9ee6-e1adde119e13 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b4921944-1839-4e8d-9ee6-e1adde119e13 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:29:05 +0000 (0:00:00.047) 0:00:41.676 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:29:05 +0000 (0:00:00.037) 0:00:41.714 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [test] ******************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:29:05 +0000 (0:00:00.357) 0:00:42.071 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/remove_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 03 August 2022 17:29:05 +0000 (0:00:00.055) 0:00:42.127 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:29:05 +0000 (0:00:00.058) 0:00:42.185 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:29:05 +0000 (0:00:00.058) 0:00:42.244 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:29:06 +0000 (0:00:00.424) 0:00:42.668 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:29:06 +0000 (0:00:00.905) 0:00:43.573 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:29:07 +0000 (0:00:00.880) 0:00:44.454 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:29:07 +0000 (0:00:00.042) 0:00:44.497 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:29:07 +0000 (0:00:00.035) 0:00:44.532 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:29:07 +0000 (0:00:00.037) 0:00:44.569 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:29:08 +0000 (0:00:00.071) 0:00:44.641 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:29:08 +0000 (0:00:00.038) 0:00:44.679 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:29:08 +0000 (0:00:00.038) 0:00:44.718 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:29:08 +0000 (0:00:00.054) 0:00:44.773 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:29:08 +0000 (0:00:00.449) 0:00:45.223 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:29:08 +0000 (0:00:00.052) 0:00:45.275 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:29:08 +0000 (0:00:00.029) 0:00:45.305 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:29:08 +0000 (0:00:00.033) 0:00:45.338 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:29:09 +0000 (0:00:00.605) 0:00:45.944 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:29:09 +0000 (0:00:00.036) 0:00:45.980 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:29:09 +0000 (0:00:00.042) 0:00:46.023 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:29:09 +0000 (0:00:00.039) 0:00:46.063 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:29:09 +0000 (0:00:00.033) 0:00:46.097 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [asserts] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:29:09 +0000 (0:00:00.324) 0:00:46.421 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_device_present.yml) included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_absent.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_profile_absent.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:29:09 +0000 (0:00:00.072) 0:00:46.494 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:29:09 +0000 (0:00:00.084) 0:00:46.579 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659547740.0634897, "block_size": 4096, "blocks": 0, "ctime": 1659547740.0544899, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14747, "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": 1659547740.0544899, "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/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:29:10 +0000 (0:00:00.325) 0:00:46.904 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:29:10 +0000 (0:00:00.046) 0:00:46.951 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:29:10 +0000 (0:00:00.056) 0:00:47.007 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:29:10 +0000 (0:00:00.043) 0:00:47.051 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:29:10 +0000 (0:00:00.312) 0:00:47.364 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:29:10 +0000 (0:00:00.071) 0:00:47.435 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022932", "end": "2022-08-03 17:29:10.624584", "rc": 1, "start": "2022-08-03 17:29:10.601652" } 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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:29:11 +0000 (0:00:00.335) 0:00:47.771 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:29:11 +0000 (0:00:00.034) 0:00:47.805 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:29:11 +0000 (0:00:00.033) 0:00:47.839 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:29:11 +0000 (0:00:00.032) 0:00:47.872 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:29:11 +0000 (0:00:00.046) 0:00:47.918 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:29:11 +0000 (0:00:00.045) 0:00:47.964 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:29:11 +0000 (0:00:00.043) 0:00:48.007 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-7.qcow2c.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:29:11 +0000 (0:00:00.063) 0:00:48.071 ****** fatal: [/cache/centos-7.qcow2c.snap]: 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.074908", "end": "2022-08-03 17:29:11.328440", "rc": 1, "start": "2022-08-03 17:29:11.253532" } STDOUT: Connection 'statebr' (b4921944-1839-4e8d-9ee6-e1adde119e13) successfully deleted. STDERR: (process:20870): GLib-GIO-WARNING **: 17:29:11.311: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/88 but no object proxy exists (process:20870): GLib-GIO-WARNING **: 17:29:11.312: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/99 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_states.yml:91 Wednesday 03 August 2022 17:29:11 +0000 (0:00:00.404) 0:00:48.475 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml for /cache/centos-7.qcow2c.snap TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:29:11 +0000 (0:00:00.054) 0:00:48.530 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:29:11 +0000 (0:00:00.045) 0:00:48.575 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:29:12 +0000 (0:00:00.159) 0:00:48.735 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:29:12 +0000 (0:00:00.052) 0:00:48.787 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:29:12 +0000 (0:00:00.087) 0:00:48.875 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005065", "end": "2022-08-03 17:29:12.068749", "rc": 0, "start": "2022-08-03 17:29:12.063684" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:29:12 +0000 (0:00:00.340) 0:00:49.215 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:29:12 +0000 (0:00:00.046) 0:00:49.261 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:29:12 +0000 (0:00:00.046) 0:00:49.308 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/create_bridge_profile.yml) included: /tmp/tmplbj_o459/tests/playbooks/tasks/activate_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/activate_profile.yml) included: /tmp/tmplbj_o459/tests/playbooks/tasks/remove_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:29:12 +0000 (0:00:00.063) 0:00:49.371 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:29:12 +0000 (0:00:00.055) 0:00:49.427 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:29:12 +0000 (0:00:00.060) 0:00:49.487 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:29:13 +0000 (0:00:00.434) 0:00:49.921 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:29:14 +0000 (0:00:00.928) 0:00:50.850 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:29:15 +0000 (0:00:00.886) 0:00:51.736 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:29:15 +0000 (0:00:00.042) 0:00:51.779 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:29:15 +0000 (0:00:00.036) 0:00:51.815 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:29:15 +0000 (0:00:00.038) 0:00:51.853 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:29:15 +0000 (0:00:00.070) 0:00:51.924 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:29:15 +0000 (0:00:00.037) 0:00:51.962 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:29:15 +0000 (0:00:00.034) 0:00:51.997 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:29:15 +0000 (0:00:00.055) 0:00:52.052 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:29:15 +0000 (0:00:00.450) 0:00:52.503 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:29:15 +0000 (0:00:00.053) 0:00:52.556 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:29:16 +0000 (0:00:00.084) 0:00:52.640 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:29:16 +0000 (0:00:00.032) 0:00:52.672 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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, eb650556-7d72-4220-8f85-b9e4138d7fa2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:29:16 +0000 (0:00:00.517) 0:00:53.190 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:29:16 +0000 (0:00:00.035) 0:00:53.226 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb650556-7d72-4220-8f85-b9e4138d7fa2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:29:16 +0000 (0:00:00.044) 0:00:53.270 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, eb650556-7d72-4220-8f85-b9e4138d7fa2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb650556-7d72-4220-8f85-b9e4138d7fa2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:29:16 +0000 (0:00:00.046) 0:00:53.316 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:29:16 +0000 (0:00:00.036) 0:00:53.353 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Show result] ************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:29:17 +0000 (0:00:00.328) 0:00:53.681 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, eb650556-7d72-4220-8f85-b9e4138d7fa2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb650556-7d72-4220-8f85-b9e4138d7fa2" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:29:17 +0000 (0:00:00.048) 0:00:53.730 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:29:17 +0000 (0:00:00.056) 0:00:53.786 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:29:17 +0000 (0:00:00.059) 0:00:53.846 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:29:17 +0000 (0:00:00.423) 0:00:54.269 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:29:18 +0000 (0:00:00.939) 0:00:55.208 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:29:19 +0000 (0:00:00.829) 0:00:56.038 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:29:19 +0000 (0:00:00.045) 0:00:56.083 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:29:19 +0000 (0:00:00.040) 0:00:56.124 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:29:19 +0000 (0:00:00.037) 0:00:56.161 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:29:19 +0000 (0:00:00.072) 0:00:56.233 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:29:19 +0000 (0:00:00.035) 0:00:56.269 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:29:19 +0000 (0:00:00.037) 0:00:56.306 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:29:19 +0000 (0:00:00.051) 0:00:56.358 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:29:20 +0000 (0:00:00.481) 0:00:56.840 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:29:20 +0000 (0:00:00.053) 0:00:56.894 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:29:20 +0000 (0:00:00.031) 0:00:56.926 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:29:20 +0000 (0:00:00.031) 0:00:56.957 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/centos-7.qcow2c.snap] => { "_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, eb650556-7d72-4220-8f85-b9e4138d7fa2 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:29:20 +0000 (0:00:00.492) 0:00:57.450 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:29:20 +0000 (0:00:00.037) 0:00:57.488 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eb650556-7d72-4220-8f85-b9e4138d7fa2 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:29:20 +0000 (0:00:00.047) 0:00:57.536 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, eb650556-7d72-4220-8f85-b9e4138d7fa2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eb650556-7d72-4220-8f85-b9e4138d7fa2 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:29:20 +0000 (0:00:00.045) 0:00:57.581 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:29:21 +0000 (0:00:00.041) 0:00:57.623 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 03 August 2022 17:29:21 +0000 (0:00:00.320) 0:00:57.943 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:29:21 +0000 (0:00:00.057) 0:00:58.000 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:29:21 +0000 (0:00:00.056) 0:00:58.056 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:29:21 +0000 (0:00:00.474) 0:00:58.531 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:29:22 +0000 (0:00:00.914) 0:00:59.445 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:29:23 +0000 (0:00:00.833) 0:01:00.279 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:29:23 +0000 (0:00:00.045) 0:01:00.324 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:29:23 +0000 (0:00:00.039) 0:01:00.364 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:29:23 +0000 (0:00:00.035) 0:01:00.399 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:29:23 +0000 (0:00:00.095) 0:01:00.495 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:29:23 +0000 (0:00:00.035) 0:01:00.530 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:29:23 +0000 (0:00:00.034) 0:01:00.565 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:29:23 +0000 (0:00:00.051) 0:01:00.616 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:29:24 +0000 (0:00:00.453) 0:01:01.069 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:29:24 +0000 (0:00:00.052) 0:01:01.121 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:29:24 +0000 (0:00:00.030) 0:01:01.152 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:29:24 +0000 (0:00:00.031) 0:01:01.184 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:29:25 +0000 (0:00:00.532) 0:01:01.716 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:29:25 +0000 (0:00:00.038) 0:01:01.755 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:29:25 +0000 (0:00:00.047) 0:01:01.802 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:29:25 +0000 (0:00:00.044) 0:01:01.846 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:29:25 +0000 (0:00:00.036) 0:01:01.882 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [test] ******************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:29:25 +0000 (0:00:00.336) 0:01:02.219 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/remove+down_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 17:29:25 +0000 (0:00:00.095) 0:01:02.315 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:29:25 +0000 (0:00:00.072) 0:01:02.387 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:29:25 +0000 (0:00:00.061) 0:01:02.449 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:29:26 +0000 (0:00:00.416) 0:01:02.866 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:29:27 +0000 (0:00:00.891) 0:01:03.757 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:29:28 +0000 (0:00:00.872) 0:01:04.630 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:29:28 +0000 (0:00:00.042) 0:01:04.672 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:29:28 +0000 (0:00:00.039) 0:01:04.711 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:29:28 +0000 (0:00:00.037) 0:01:04.749 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:29:28 +0000 (0:00:00.074) 0:01:04.824 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:29:28 +0000 (0:00:00.038) 0:01:04.863 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:29:28 +0000 (0:00:00.036) 0:01:04.899 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:29:28 +0000 (0:00:00.048) 0:01:04.948 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:29:28 +0000 (0:00:00.459) 0:01:05.407 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:29:28 +0000 (0:00:00.052) 0:01:05.460 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:29:28 +0000 (0:00:00.031) 0:01:05.491 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:29:28 +0000 (0:00:00.033) 0:01:05.524 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:29:29 +0000 (0:00:00.569) 0:01:06.093 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:29:29 +0000 (0:00:00.036) 0:01:06.130 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:29:29 +0000 (0:00:00.043) 0:01:06.173 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:29:29 +0000 (0:00:00.129) 0:01:06.302 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:29:29 +0000 (0:00:00.035) 0:01:06.338 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [asserts] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:29:30 +0000 (0:00:00.343) 0:01:06.681 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_absent.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_profile_absent.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:29:30 +0000 (0:00:00.057) 0:01:06.739 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:29:30 +0000 (0:00:00.052) 0:01:06.792 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:29:30 +0000 (0:00:00.041) 0:01:06.833 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:29:30 +0000 (0:00:00.315) 0:01:07.148 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:29:30 +0000 (0:00:00.031) 0:01:07.180 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022328", "end": "2022-08-03 17:29:30.367913", "rc": 1, "start": "2022-08-03 17:29:30.345585" } 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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:29:30 +0000 (0:00:00.330) 0:01:07.510 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:29:30 +0000 (0:00:00.034) 0:01:07.545 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:29:30 +0000 (0:00:00.035) 0:01:07.580 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:29:30 +0000 (0:00:00.033) 0:01:07.614 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:29:31 +0000 (0:00:00.051) 0:01:07.665 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-7.qcow2c.snap => (item={'what': 'tasks/assert_device_absent.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:29:31 +0000 (0:00:00.105) 0:01:07.771 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:29:31 +0000 (0:00:00.051) 0:01:07.823 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:29:31 +0000 (0:00:00.311) 0:01:08.134 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:29:31 +0000 (0:00:00.053) 0:01:08.188 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:29:31 +0000 (0:00:00.044) 0:01:08.232 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-7.qcow2c.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:29:31 +0000 (0:00:00.069) 0:01:08.302 ****** fatal: [/cache/centos-7.qcow2c.snap]: 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.052528", "end": "2022-08-03 17:29:31.521883", "rc": 1, "start": "2022-08-03 17:29:31.469355" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_states.yml:111 Wednesday 03 August 2022 17:29:32 +0000 (0:00:00.368) 0:01:08.670 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml for /cache/centos-7.qcow2c.snap TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:29:32 +0000 (0:00:00.055) 0:01:08.726 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:29:32 +0000 (0:00:00.044) 0:01:08.770 ****** ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:29:32 +0000 (0:00:00.148) 0:01:08.919 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:29:32 +0000 (0:00:00.060) 0:01:08.979 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:29:32 +0000 (0:00:00.052) 0:01:09.032 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004260", "end": "2022-08-03 17:29:32.286237", "rc": 0, "start": "2022-08-03 17:29:32.281977" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:29:32 +0000 (0:00:00.396) 0:01:09.428 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:29:32 +0000 (0:00:00.042) 0:01:09.471 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:29:32 +0000 (0:00:00.048) 0:01:09.519 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/create_bridge_profile.yml) included: /tmp/tmplbj_o459/tests/playbooks/tasks/activate_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/activate_profile.yml) included: /tmp/tmplbj_o459/tests/playbooks/tasks/remove+down_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:29:32 +0000 (0:00:00.065) 0:01:09.585 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:29:33 +0000 (0:00:00.056) 0:01:09.641 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:29:33 +0000 (0:00:00.060) 0:01:09.701 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:29:33 +0000 (0:00:00.434) 0:01:10.135 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:29:34 +0000 (0:00:00.906) 0:01:11.042 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:29:35 +0000 (0:00:00.910) 0:01:11.952 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:29:35 +0000 (0:00:00.042) 0:01:11.994 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:29:35 +0000 (0:00:00.038) 0:01:12.033 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:29:35 +0000 (0:00:00.038) 0:01:12.072 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:29:35 +0000 (0:00:00.072) 0:01:12.145 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:29:35 +0000 (0:00:00.039) 0:01:12.184 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:29:35 +0000 (0:00:00.034) 0:01:12.218 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:29:35 +0000 (0:00:00.053) 0:01:12.272 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:29:36 +0000 (0:00:00.447) 0:01:12.719 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:29:36 +0000 (0:00:00.052) 0:01:12.772 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:29:36 +0000 (0:00:00.032) 0:01:12.805 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:29:36 +0000 (0:00:00.031) 0:01:12.836 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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, 553ade80-d661-4c26-9a96-a78e51a72388 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:29:36 +0000 (0:00:00.557) 0:01:13.394 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:29:36 +0000 (0:00:00.038) 0:01:13.432 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 553ade80-d661-4c26-9a96-a78e51a72388" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:29:36 +0000 (0:00:00.044) 0:01:13.476 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 553ade80-d661-4c26-9a96-a78e51a72388\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 553ade80-d661-4c26-9a96-a78e51a72388" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:29:36 +0000 (0:00:00.048) 0:01:13.524 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:29:36 +0000 (0:00:00.038) 0:01:13.563 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Show result] ************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:29:37 +0000 (0:00:00.347) 0:01:13.910 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 553ade80-d661-4c26-9a96-a78e51a72388\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 553ade80-d661-4c26-9a96-a78e51a72388" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:29:37 +0000 (0:00:00.048) 0:01:13.958 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:29:37 +0000 (0:00:00.053) 0:01:14.012 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:29:37 +0000 (0:00:00.058) 0:01:14.070 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:29:37 +0000 (0:00:00.427) 0:01:14.498 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:29:38 +0000 (0:00:00.932) 0:01:15.430 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:29:39 +0000 (0:00:00.837) 0:01:16.268 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:29:39 +0000 (0:00:00.042) 0:01:16.311 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:29:39 +0000 (0:00:00.037) 0:01:16.349 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:29:39 +0000 (0:00:00.036) 0:01:16.385 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:29:39 +0000 (0:00:00.073) 0:01:16.458 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:29:39 +0000 (0:00:00.037) 0:01:16.496 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:29:39 +0000 (0:00:00.039) 0:01:16.535 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:29:39 +0000 (0:00:00.052) 0:01:16.588 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:29:40 +0000 (0:00:00.441) 0:01:17.030 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:29:40 +0000 (0:00:00.054) 0:01:17.084 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:29:40 +0000 (0:00:00.033) 0:01:17.117 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:29:40 +0000 (0:00:00.038) 0:01:17.156 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/centos-7.qcow2c.snap] => { "_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, 553ade80-d661-4c26-9a96-a78e51a72388 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:29:41 +0000 (0:00:00.494) 0:01:17.651 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:29:41 +0000 (0:00:00.037) 0:01:17.689 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 553ade80-d661-4c26-9a96-a78e51a72388 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:29:41 +0000 (0:00:00.048) 0:01:17.737 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 553ade80-d661-4c26-9a96-a78e51a72388 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 553ade80-d661-4c26-9a96-a78e51a72388 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:29:41 +0000 (0:00:00.045) 0:01:17.783 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:29:41 +0000 (0:00:00.037) 0:01:17.820 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 17:29:41 +0000 (0:00:00.336) 0:01:18.157 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:29:41 +0000 (0:00:00.058) 0:01:18.215 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:29:41 +0000 (0:00:00.068) 0:01:18.283 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:29:42 +0000 (0:00:00.416) 0:01:18.700 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:29:42 +0000 (0:00:00.893) 0:01:19.593 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:29:43 +0000 (0:00:00.821) 0:01:20.415 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:29:43 +0000 (0:00:00.047) 0:01:20.462 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:29:43 +0000 (0:00:00.038) 0:01:20.500 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:29:43 +0000 (0:00:00.042) 0:01:20.542 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:29:43 +0000 (0:00:00.073) 0:01:20.616 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:29:44 +0000 (0:00:00.035) 0:01:20.652 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:29:44 +0000 (0:00:00.037) 0:01:20.689 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:29:44 +0000 (0:00:00.088) 0:01:20.778 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:29:44 +0000 (0:00:00.450) 0:01:21.228 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:29:44 +0000 (0:00:00.053) 0:01:21.282 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:29:44 +0000 (0:00:00.033) 0:01:21.315 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:29:44 +0000 (0:00:00.034) 0:01:21.350 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:29:45 +0000 (0:00:00.584) 0:01:21.935 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:29:45 +0000 (0:00:00.035) 0:01:21.970 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:29:45 +0000 (0:00:00.044) 0:01:22.015 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:29:45 +0000 (0:00:00.042) 0:01:22.057 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:29:45 +0000 (0:00:00.039) 0:01:22.097 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [test] ******************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:29:45 +0000 (0:00:00.351) 0:01:22.448 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/remove+down_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 17:29:45 +0000 (0:00:00.062) 0:01:22.510 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:29:45 +0000 (0:00:00.091) 0:01:22.602 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:29:46 +0000 (0:00:00.056) 0:01:22.658 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:29:46 +0000 (0:00:00.420) 0:01:23.079 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:29:47 +0000 (0:00:00.904) 0:01:23.983 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:29:48 +0000 (0:00:00.875) 0:01:24.858 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:29:48 +0000 (0:00:00.048) 0:01:24.906 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:29:48 +0000 (0:00:00.039) 0:01:24.946 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:29:48 +0000 (0:00:00.038) 0:01:24.984 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:29:48 +0000 (0:00:00.073) 0:01:25.057 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:29:48 +0000 (0:00:00.036) 0:01:25.094 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:29:48 +0000 (0:00:00.038) 0:01:25.133 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:29:48 +0000 (0:00:00.051) 0:01:25.184 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:29:48 +0000 (0:00:00.437) 0:01:25.622 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:29:49 +0000 (0:00:00.052) 0:01:25.674 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:29:49 +0000 (0:00:00.031) 0:01:25.705 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:29:49 +0000 (0:00:00.031) 0:01:25.737 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/centos-7.qcow2c.snap] => { "_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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:29:49 +0000 (0:00:00.504) 0:01:26.241 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:29:49 +0000 (0:00:00.045) 0:01:26.287 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:29:49 +0000 (0:00:00.050) 0:01:26.338 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:29:49 +0000 (0:00:00.043) 0:01:26.381 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:29:49 +0000 (0:00:00.040) 0:01:26.422 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [asserts] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:29:50 +0000 (0:00:00.400) 0:01:26.822 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_absent.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_profile_absent.yml) included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_NetworkManager_NVR.yml for /cache/centos-7.qcow2c.snap => (item=tasks/get_NetworkManager_NVR.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:29:50 +0000 (0:00:00.065) 0:01:26.888 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:29:50 +0000 (0:00:00.052) 0:01:26.941 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:29:50 +0000 (0:00:00.043) 0:01:26.984 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:29:50 +0000 (0:00:00.324) 0:01:27.308 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:29:50 +0000 (0:00:00.034) 0:01:27.343 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020175", "end": "2022-08-03 17:29:50.531360", "rc": 1, "start": "2022-08-03 17:29:50.511185" } 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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:29:51 +0000 (0:00:00.340) 0:01:27.683 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:29:51 +0000 (0:00:00.036) 0:01:27.719 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:29:51 +0000 (0:00:00.035) 0:01:27.755 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:29:51 +0000 (0:00:00.035) 0:01:27.790 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_NetworkManager_NVR.yml:4 Wednesday 03 August 2022 17:29:51 +0000 (0:00:00.046) 0:01:27.837 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.422097", "end": "2022-08-03 17:29:51.439837", "rc": 0, "start": "2022-08-03 17:29:51.017740" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_NetworkManager_NVR.yml:10 Wednesday 03 August 2022 17:29:51 +0000 (0:00:00.755) 0:01:28.592 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "NetworkManager_NVR": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 03 August 2022 17:29:52 +0000 (0:00:00.046) 0:01:28.639 ****** ok: [/cache/centos-7.qcow2c.snap] => { "NetworkManager_NVR": "NetworkManager-1.18.8-2.el7_9" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:29:52 +0000 (0:00:00.047) 0:01:28.686 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-7.qcow2c.snap => (item={'what': 'tasks/assert_device_absent.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:29:52 +0000 (0:00:00.077) 0:01:28.763 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:29:52 +0000 (0:00:00.056) 0:01:28.820 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:29:52 +0000 (0:00:00.327) 0:01:29.148 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:29:52 +0000 (0:00:00.046) 0:01:29.194 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:29:52 +0000 (0:00:00.045) 0:01:29.240 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-7.qcow2c.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:29:52 +0000 (0:00:00.061) 0:01:29.301 ****** fatal: [/cache/centos-7.qcow2c.snap]: 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.053095", "end": "2022-08-03 17:29:52.525447", "rc": 1, "start": "2022-08-03 17:29:52.472352" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=333 changed=13 unreachable=0 failed=0 skipped=189 rescued=0 ignored=11 Wednesday 03 August 2022 17:29:53 +0000 (0:00:00.388) 0:01:29.690 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.82s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 2.52s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 1.97s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Re-test connectivity ----------------------- 1.85s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 1.79s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 1.66s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 1.35s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Re-test connectivity ----------------------- 1.33s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Configure networking connection profiles --- 1.14s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Re-test connectivity ----------------------- 1.09s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Check which packages are installed --------- 1.08s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmplbj_o459/tests/tests_states_nm.yml:5 ---------------------------------- linux-system-roles.network : Check which services are running ----------- 1.00s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.96s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.93s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.93s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmplbj_o459/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmplbj_o459/tests/_restore.yml:4 Wednesday 03 August 2022 17:29:53 +0000 (0:00:00.038) 0:01:29.729 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006709", "end": "2022-08-03 17:29:52.945039", "rc": 0, "start": "2022-08-03 17:29:52.938330" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=334 changed=14 unreachable=0 failed=0 skipped=189 rescued=0 ignored=11 Wednesday 03 August 2022 17:29:53 +0000 (0:00:00.375) 0:01:30.104 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.82s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 2.52s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 1.97s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Re-test connectivity ----------------------- 1.85s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 1.79s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 1.66s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 1.35s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Re-test connectivity ----------------------- 1.33s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Configure networking connection profiles --- 1.14s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Re-test connectivity ----------------------- 1.09s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Check which packages are installed --------- 1.08s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmplbj_o459/tests/tests_states_nm.yml:5 ---------------------------------- linux-system-roles.network : Check which services are running ----------- 1.00s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.96s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.93s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.93s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmplbj_o459/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/tmpe4dwqm__ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmppolohs8h/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmppolohs8h/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:53:41 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659549220.2063065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659549220.2063065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744071872758401", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmppolohs8h/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:53:41 +0000 (0:00:00.521) 0:00:00.539 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659548002.0, 'block_size': 4096, 'inode': 8330, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744071872758401', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659549220.2063065, 'isdir': False, 'ctime': 1659549220.2063065, 'isblk': False, 'wgrp': False, 'checksum': '58d0b40c7f3b3443c40de4c19aee35ddf579fd17', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659549220.2063065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659549220.2063065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744071872758401", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmppolohs8h/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:53:41 +0000 (0:00:00.038) 0:00:00.578 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004661", "end": "2022-08-03 17:53:41.820556", "rc": 0, "start": "2022-08-03 17:53:41.815895" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:53:42 +0000 (0:00:00.443) 0:00:01.021 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.52s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.44s /tmp/tmppolohs8h/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/tmppolohs8h/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/tests_states_nm.yml:5 Wednesday 03 August 2022 17:53:42 +0000 (0:00:00.016) 0:00:01.038 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_states_nm.yml:8 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.991) 0:00:02.029 ****** included: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml for /cache/centos-7.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.026) 0:00:02.056 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.023) 0:00:02.079 ****** included: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml for /cache/centos-7.qcow2c.snap TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.029) 0:00:02.109 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.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/tmppolohs8h/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:53:43 +0000 (0:00:00.308) 0:00:02.417 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177785", "end": "2022-08-03 17:53:43.697868", "rc": 0, "start": "2022-08-03 17:53:43.520083" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=genclo&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:53:44 +0000 (0:00:00.479) 0:00:02.896 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:53:44 +0000 (0:00:00.022) 0:00:02.919 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmppolohs8h/tests/network/tests_states_nm.yml:9 Wednesday 03 August 2022 17:53:44 +0000 (0:00:00.020) 0:00:02.939 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_states.yml:3 Wednesday 03 August 2022 17:53:44 +0000 (0:00:00.046) 0:00:02.985 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_states.yml:10 Wednesday 03 August 2022 17:53:44 +0000 (0:00:00.752) 0:00:03.738 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_states.yml:18 Wednesday 03 August 2022 17:53:44 +0000 (0:00:00.029) 0:00:03.768 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml for /cache/centos-7.qcow2c.snap TASK [TEST: I can create a profile] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:53:44 +0000 (0:00:00.032) 0:00:03.801 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:53:44 +0000 (0:00:00.031) 0:00:03.832 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.124) 0:00:03.957 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.030) 0:00:03.988 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.027) 0:00:04.016 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004147", "end": "2022-08-03 17:53:45.140772", "rc": 0, "start": "2022-08-03 17:53:45.136625" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.328) 0:00:04.345 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.036) 0:00:04.381 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.031) 0:00:04.413 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/delete_interface.yml for /cache/centos-7.qcow2c.snap => (item=tasks/delete_interface.yml) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.042) 0:00:04.456 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011522", "end": "2022-08-03 17:53:45.580809", "rc": 1, "start": "2022-08-03 17:53:45.569287" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.324) 0:00:04.780 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:53:45 +0000 (0:00:00.033) 0:00:04.813 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:53:46 +0000 (0:00:00.350) 0:00:05.164 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:53:46 +0000 (0:00:00.063) 0:00:05.228 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:53:46 +0000 (0:00:00.038) 0:00:05.266 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:53:46 +0000 (0:00:00.048) 0:00:05.314 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:53:46 +0000 (0:00:00.036) 0:00:05.351 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:53:46 +0000 (0:00:00.422) 0:00:05.773 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:53:47 +0000 (0:00:01.005) 0:00:06.779 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:53:48 +0000 (0:00:01.051) 0:00:07.830 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:53:49 +0000 (0:00:00.044) 0:00:07.875 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:53:49 +0000 (0:00:00.038) 0:00:07.913 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:53:49 +0000 (0:00:00.058) 0:00:07.971 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:53:49 +0000 (0:00:00.066) 0:00:08.038 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:53:49 +0000 (0:00:00.033) 0:00:08.071 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:53:49 +0000 (0:00:00.035) 0:00:08.106 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:53:49 +0000 (0:00:00.052) 0:00:08.159 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:53:49 +0000 (0:00:00.689) 0:00:08.848 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:53:50 +0000 (0:00:00.053) 0:00:08.902 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:53:50 +0000 (0:00:00.032) 0:00:08.934 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:53:50 +0000 (0:00:00.031) 0:00:08.966 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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, 3e2f365c-78bb-42d5-aa1d-228f8b336f51 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:53:50 +0000 (0:00:00.694) 0:00:09.660 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:53:50 +0000 (0:00:00.040) 0:00:09.701 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3e2f365c-78bb-42d5-aa1d-228f8b336f51" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:53:50 +0000 (0:00:00.045) 0:00:09.746 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 3e2f365c-78bb-42d5-aa1d-228f8b336f51\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3e2f365c-78bb-42d5-aa1d-228f8b336f51" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:53:50 +0000 (0:00:00.046) 0:00:09.793 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:53:50 +0000 (0:00:00.035) 0:00:09.829 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Show result] ************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:53:51 +0000 (0:00:00.463) 0:00:10.292 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 3e2f365c-78bb-42d5-aa1d-228f8b336f51\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3e2f365c-78bb-42d5-aa1d-228f8b336f51" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:53:51 +0000 (0:00:00.044) 0:00:10.336 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:53:51 +0000 (0:00:00.060) 0:00:10.397 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:53:51 +0000 (0:00:00.056) 0:00:10.454 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:53:51 +0000 (0:00:00.051) 0:00:10.505 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659549230.4723065, "block_size": 4096, "blocks": 8, "ctime": 1659549230.4083066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 742559, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549230.4083066, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:53:51 +0000 (0:00:00.342) 0:00:10.847 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.046) 0:00:10.894 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024024", "end": "2022-08-03 17:53:52.023584", "rc": 0, "start": "2022-08-03 17:53:51.999560" } 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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.339) 0:00:11.233 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.045) 0:00:11.279 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.032) 0:00:11.311 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.035) 0:00:11.347 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.044) 0:00:11.391 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.124) 0:00:11.516 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-7.qcow2c.snap => (item={'what': 'tasks/assert_device_present.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.076) 0:00:11.593 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:53:52 +0000 (0:00:00.053) 0:00:11.647 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659549230.4233065, "block_size": 4096, "blocks": 0, "ctime": 1659549230.4103065, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14745, "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": 1659549230.4103065, "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/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.344) 0:00:11.992 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.046) 0:00:12.038 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.040) 0:00:12.078 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-7.qcow2c.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.060) 0:00:12.139 ****** fatal: [/cache/centos-7.qcow2c.snap]: 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.075214", "end": "2022-08-03 17:53:53.322438", "rc": 1, "start": "2022-08-03 17:53:53.247224" } STDOUT: Connection 'statebr' (3e2f365c-78bb-42d5-aa1d-228f8b336f51) successfully deleted. STDERR: (process:17324): GLib-GIO-WARNING **: 17:53:53.303: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/86 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_states.yml:39 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.394) 0:00:12.534 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml for /cache/centos-7.qcow2c.snap TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.054) 0:00:12.588 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.041) 0:00:12.630 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.140) 0:00:12.770 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:53:53 +0000 (0:00:00.051) 0:00:12.822 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.079) 0:00:12.902 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004605", "end": "2022-08-03 17:53:54.021280", "rc": 0, "start": "2022-08-03 17:53:54.016675" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.329) 0:00:13.231 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.041) 0:00:13.273 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.043) 0:00:13.316 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/delete_interface.yml for /cache/centos-7.qcow2c.snap => (item=tasks/delete_interface.yml) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.059) 0:00:13.375 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008140", "end": "2022-08-03 17:53:54.493449", "rc": 1, "start": "2022-08-03 17:53:54.485309" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.331) 0:00:13.707 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:53:54 +0000 (0:00:00.052) 0:00:13.760 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:53:55 +0000 (0:00:00.318) 0:00:14.078 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:53:55 +0000 (0:00:00.050) 0:00:14.129 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for /cache/centos-7.qcow2c.snap => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 03 August 2022 17:53:55 +0000 (0:00:00.064) 0:00:14.193 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:53:55 +0000 (0:00:00.074) 0:00:14.268 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:53:55 +0000 (0:00:00.113) 0:00:14.381 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:53:55 +0000 (0:00:00.452) 0:00:14.833 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:53:56 +0000 (0:00:00.919) 0:00:15.753 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:53:57 +0000 (0:00:00.844) 0:00:16.598 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:53:57 +0000 (0:00:00.043) 0:00:16.642 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:53:57 +0000 (0:00:00.033) 0:00:16.676 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:53:57 +0000 (0:00:00.064) 0:00:16.740 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:53:57 +0000 (0:00:00.068) 0:00:16.809 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:53:57 +0000 (0:00:00.035) 0:00:16.844 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:53:58 +0000 (0:00:00.034) 0:00:16.878 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:53:58 +0000 (0:00:00.054) 0:00:16.933 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:53:58 +0000 (0:00:00.436) 0:00:17.369 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:53:58 +0000 (0:00:00.054) 0:00:17.424 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:53:58 +0000 (0:00:00.033) 0:00:17.458 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:53:58 +0000 (0:00:00.030) 0:00:17.489 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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, e12570d7-e507-49ea-9368-793fc7b0b471 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:53:59 +0000 (0:00:00.500) 0:00:17.989 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:53:59 +0000 (0:00:00.038) 0:00:18.027 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e12570d7-e507-49ea-9368-793fc7b0b471" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:53:59 +0000 (0:00:00.044) 0:00:18.072 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, e12570d7-e507-49ea-9368-793fc7b0b471\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e12570d7-e507-49ea-9368-793fc7b0b471" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:53:59 +0000 (0:00:00.047) 0:00:18.120 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:53:59 +0000 (0:00:00.036) 0:00:18.156 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Show result] ************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 03 August 2022 17:53:59 +0000 (0:00:00.365) 0:00:18.522 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, e12570d7-e507-49ea-9368-793fc7b0b471\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e12570d7-e507-49ea-9368-793fc7b0b471" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:53:59 +0000 (0:00:00.046) 0:00:18.568 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_device_absent.yml) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:53:59 +0000 (0:00:00.063) 0:00:18.632 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:53:59 +0000 (0:00:00.051) 0:00:18.683 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:54:00 +0000 (0:00:00.325) 0:00:19.009 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:54:00 +0000 (0:00:00.045) 0:00:19.054 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:54:00 +0000 (0:00:00.053) 0:00:19.107 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:54:00 +0000 (0:00:00.040) 0:00:19.148 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659549238.7633066, "block_size": 4096, "blocks": 8, "ctime": 1659549238.7633066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 742539, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549238.7633066, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:54:00 +0000 (0:00:00.325) 0:00:19.474 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:54:00 +0000 (0:00:00.046) 0:00:19.521 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022544", "end": "2022-08-03 17:54:00.658049", "rc": 0, "start": "2022-08-03 17:54:00.635505" } 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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:54:01 +0000 (0:00:00.347) 0:00:19.868 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:54:01 +0000 (0:00:00.046) 0:00:19.914 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:54:01 +0000 (0:00:00.033) 0:00:19.947 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:54:01 +0000 (0:00:00.082) 0:00:20.030 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:54:01 +0000 (0:00:00.046) 0:00:20.076 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:54:01 +0000 (0:00:00.048) 0:00:20.125 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:54:01 +0000 (0:00:00.041) 0:00:20.166 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:54:01 +0000 (0:00:00.047) 0:00:20.214 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-7.qcow2c.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:54:01 +0000 (0:00:00.058) 0:00:20.273 ****** fatal: [/cache/centos-7.qcow2c.snap]: 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.052548", "end": "2022-08-03 17:54:01.446384", "rc": 1, "start": "2022-08-03 17:54:01.393836" } STDOUT: Connection 'statebr' (e12570d7-e507-49ea-9368-793fc7b0b471) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_states.yml:57 Wednesday 03 August 2022 17:54:01 +0000 (0:00:00.383) 0:00:20.656 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml for /cache/centos-7.qcow2c.snap TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:54:01 +0000 (0:00:00.057) 0:00:20.714 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:54:01 +0000 (0:00:00.042) 0:00:20.757 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:54:02 +0000 (0:00:00.159) 0:00:20.916 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:54:02 +0000 (0:00:00.049) 0:00:20.966 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:54:02 +0000 (0:00:00.047) 0:00:21.013 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004010", "end": "2022-08-03 17:54:02.128869", "rc": 0, "start": "2022-08-03 17:54:02.124859" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:54:02 +0000 (0:00:00.322) 0:00:21.336 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:54:02 +0000 (0:00:00.128) 0:00:21.464 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:54:02 +0000 (0:00:00.054) 0:00:21.518 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:54:02 +0000 (0:00:00.061) 0:00:21.580 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:02 +0000 (0:00:00.056) 0:00:21.636 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:02 +0000 (0:00:00.061) 0:00:21.697 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:03 +0000 (0:00:00.435) 0:00:22.133 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:04 +0000 (0:00:00.896) 0:00:23.030 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:05 +0000 (0:00:00.869) 0:00:23.899 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:05 +0000 (0:00:00.045) 0:00:23.944 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:05 +0000 (0:00:00.037) 0:00:23.981 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:05 +0000 (0:00:00.035) 0:00:24.017 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:05 +0000 (0:00:00.066) 0:00:24.084 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:05 +0000 (0:00:00.036) 0:00:24.121 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:05 +0000 (0:00:00.037) 0:00:24.158 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:05 +0000 (0:00:00.049) 0:00:24.207 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:05 +0000 (0:00:00.443) 0:00:24.651 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:05 +0000 (0:00:00.053) 0:00:24.704 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:05 +0000 (0:00:00.033) 0:00:24.737 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:05 +0000 (0:00:00.035) 0:00:24.773 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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, ca3b4bc0-8211-4cdb-804b-bb3522a32343 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:06 +0000 (0:00:00.594) 0:00:25.367 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:06 +0000 (0:00:00.037) 0:00:25.405 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ca3b4bc0-8211-4cdb-804b-bb3522a32343" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:06 +0000 (0:00:00.047) 0:00:25.452 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, ca3b4bc0-8211-4cdb-804b-bb3522a32343\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ca3b4bc0-8211-4cdb-804b-bb3522a32343" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:06 +0000 (0:00:00.043) 0:00:25.496 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:06 +0000 (0:00:00.036) 0:00:25.533 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Show result] ************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:54:07 +0000 (0:00:00.336) 0:00:25.870 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, ca3b4bc0-8211-4cdb-804b-bb3522a32343\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ca3b4bc0-8211-4cdb-804b-bb3522a32343" ] } } TASK [test] ******************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:54:07 +0000 (0:00:00.042) 0:00:25.912 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/activate_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:54:07 +0000 (0:00:00.056) 0:00:25.969 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:07 +0000 (0:00:00.065) 0:00:26.034 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:07 +0000 (0:00:00.058) 0:00:26.093 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:07 +0000 (0:00:00.437) 0:00:26.530 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:08 +0000 (0:00:00.928) 0:00:27.458 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:09 +0000 (0:00:00.838) 0:00:28.297 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:09 +0000 (0:00:00.044) 0:00:28.341 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:09 +0000 (0:00:00.037) 0:00:28.378 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:09 +0000 (0:00:00.041) 0:00:28.419 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:09 +0000 (0:00:00.071) 0:00:28.491 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:09 +0000 (0:00:00.036) 0:00:28.528 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:09 +0000 (0:00:00.035) 0:00:28.564 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:09 +0000 (0:00:00.049) 0:00:28.614 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:10 +0000 (0:00:00.469) 0:00:29.083 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:10 +0000 (0:00:00.050) 0:00:29.133 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:10 +0000 (0:00:00.031) 0:00:29.165 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:10 +0000 (0:00:00.034) 0:00:29.199 ****** ok: [/cache/centos-7.qcow2c.snap] => { "_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, ca3b4bc0-8211-4cdb-804b-bb3522a32343 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:10 +0000 (0:00:00.495) 0:00:29.695 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:10 +0000 (0:00:00.039) 0:00:29.735 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ca3b4bc0-8211-4cdb-804b-bb3522a32343 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:10 +0000 (0:00:00.046) 0:00:29.781 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, ca3b4bc0-8211-4cdb-804b-bb3522a32343 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ca3b4bc0-8211-4cdb-804b-bb3522a32343 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:10 +0000 (0:00:00.048) 0:00:29.829 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:11 +0000 (0:00:00.039) 0:00:29.869 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [asserts] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:54:11 +0000 (0:00:00.336) 0:00:30.206 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_device_present.yml) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:54:11 +0000 (0:00:00.062) 0:00:30.268 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:54:11 +0000 (0:00:00.054) 0:00:30.323 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659549246.1003065, "block_size": 4096, "blocks": 0, "ctime": 1659549246.0913064, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14745, "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": 1659549246.0913064, "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/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:54:11 +0000 (0:00:00.331) 0:00:30.655 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:54:11 +0000 (0:00:00.082) 0:00:30.737 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:54:11 +0000 (0:00:00.055) 0:00:30.792 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:54:11 +0000 (0:00:00.051) 0:00:30.844 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659549246.1413066, "block_size": 4096, "blocks": 8, "ctime": 1659549246.0893066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 742559, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549246.0893066, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:54:12 +0000 (0:00:00.320) 0:00:31.164 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:54:12 +0000 (0:00:00.043) 0:00:31.208 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023677", "end": "2022-08-03 17:54:12.342935", "rc": 0, "start": "2022-08-03 17:54:12.319258" } 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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:54:12 +0000 (0:00:00.344) 0:00:31.552 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:54:12 +0000 (0:00:00.048) 0:00:31.600 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:54:12 +0000 (0:00:00.035) 0:00:31.636 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:54:12 +0000 (0:00:00.034) 0:00:31.671 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:54:12 +0000 (0:00:00.045) 0:00:31.716 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:54:12 +0000 (0:00:00.041) 0:00:31.758 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:54:12 +0000 (0:00:00.041) 0:00:31.799 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:54:12 +0000 (0:00:00.041) 0:00:31.841 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-7.qcow2c.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:54:13 +0000 (0:00:00.061) 0:00:31.903 ****** fatal: [/cache/centos-7.qcow2c.snap]: 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.069935", "end": "2022-08-03 17:54:13.082939", "rc": 1, "start": "2022-08-03 17:54:13.013004" } STDOUT: Connection 'statebr' (ca3b4bc0-8211-4cdb-804b-bb3522a32343) successfully deleted. STDERR: (process:19275): GLib-GIO-WARNING **: 17:54:13.062: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/87 but no object proxy exists (process:19275): GLib-GIO-WARNING **: 17:54:13.064: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/168 but no object proxy exists (process:19275): GLib-GIO-WARNING **: 17:54:13.064: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/98 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_states.yml:73 Wednesday 03 August 2022 17:54:13 +0000 (0:00:00.431) 0:00:32.334 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml for /cache/centos-7.qcow2c.snap TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:54:13 +0000 (0:00:00.065) 0:00:32.400 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:54:13 +0000 (0:00:00.052) 0:00:32.453 ****** ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:54:13 +0000 (0:00:00.110) 0:00:32.563 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:54:13 +0000 (0:00:00.054) 0:00:32.617 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:54:13 +0000 (0:00:00.052) 0:00:32.670 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004587", "end": "2022-08-03 17:54:13.790536", "rc": 0, "start": "2022-08-03 17:54:13.785949" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:54:14 +0000 (0:00:00.332) 0:00:33.003 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:54:14 +0000 (0:00:00.045) 0:00:33.049 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:54:14 +0000 (0:00:00.045) 0:00:33.095 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/create_bridge_profile.yml) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/activate_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:54:14 +0000 (0:00:00.062) 0:00:33.157 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:14 +0000 (0:00:00.058) 0:00:33.216 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:14 +0000 (0:00:00.062) 0:00:33.278 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:14 +0000 (0:00:00.472) 0:00:33.751 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:15 +0000 (0:00:00.941) 0:00:34.692 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:16 +0000 (0:00:00.850) 0:00:35.543 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:16 +0000 (0:00:00.048) 0:00:35.591 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:16 +0000 (0:00:00.042) 0:00:35.634 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:16 +0000 (0:00:00.038) 0:00:35.672 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:16 +0000 (0:00:00.071) 0:00:35.744 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:16 +0000 (0:00:00.073) 0:00:35.817 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:16 +0000 (0:00:00.041) 0:00:35.859 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:17 +0000 (0:00:00.054) 0:00:35.913 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:17 +0000 (0:00:00.455) 0:00:36.369 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:17 +0000 (0:00:00.053) 0:00:36.423 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:17 +0000 (0:00:00.033) 0:00:36.457 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:17 +0000 (0:00:00.032) 0:00:36.489 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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, 2df68c02-a253-43a0-9635-e697aaa94e23 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:18 +0000 (0:00:00.521) 0:00:37.011 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:18 +0000 (0:00:00.046) 0:00:37.057 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2df68c02-a253-43a0-9635-e697aaa94e23" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:18 +0000 (0:00:00.055) 0:00:37.113 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 2df68c02-a253-43a0-9635-e697aaa94e23\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2df68c02-a253-43a0-9635-e697aaa94e23" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:18 +0000 (0:00:00.050) 0:00:37.163 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:18 +0000 (0:00:00.038) 0:00:37.202 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Show result] ************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:54:18 +0000 (0:00:00.341) 0:00:37.543 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 2df68c02-a253-43a0-9635-e697aaa94e23\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2df68c02-a253-43a0-9635-e697aaa94e23" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:54:18 +0000 (0:00:00.134) 0:00:37.678 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:18 +0000 (0:00:00.056) 0:00:37.734 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:18 +0000 (0:00:00.062) 0:00:37.797 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:19 +0000 (0:00:00.451) 0:00:38.248 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:20 +0000 (0:00:00.901) 0:00:39.150 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:21 +0000 (0:00:00.876) 0:00:40.026 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:21 +0000 (0:00:00.047) 0:00:40.073 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:21 +0000 (0:00:00.035) 0:00:40.108 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:21 +0000 (0:00:00.038) 0:00:40.147 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:21 +0000 (0:00:00.070) 0:00:40.217 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:21 +0000 (0:00:00.037) 0:00:40.254 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:21 +0000 (0:00:00.037) 0:00:40.291 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:21 +0000 (0:00:00.053) 0:00:40.345 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:21 +0000 (0:00:00.450) 0:00:40.795 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:21 +0000 (0:00:00.059) 0:00:40.854 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:22 +0000 (0:00:00.035) 0:00:40.890 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:22 +0000 (0:00:00.032) 0:00:40.923 ****** ok: [/cache/centos-7.qcow2c.snap] => { "_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, 2df68c02-a253-43a0-9635-e697aaa94e23 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:22 +0000 (0:00:00.482) 0:00:41.405 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:22 +0000 (0:00:00.037) 0:00:41.442 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2df68c02-a253-43a0-9635-e697aaa94e23 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:22 +0000 (0:00:00.048) 0:00:41.490 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 2df68c02-a253-43a0-9635-e697aaa94e23 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2df68c02-a253-43a0-9635-e697aaa94e23 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:22 +0000 (0:00:00.122) 0:00:41.613 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:22 +0000 (0:00:00.038) 0:00:41.651 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [test] ******************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:54:23 +0000 (0:00:00.333) 0:00:41.985 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 03 August 2022 17:54:23 +0000 (0:00:00.061) 0:00:42.047 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:23 +0000 (0:00:00.066) 0:00:42.114 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:23 +0000 (0:00:00.062) 0:00:42.176 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:23 +0000 (0:00:00.427) 0:00:42.604 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:24 +0000 (0:00:00.918) 0:00:43.523 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:25 +0000 (0:00:00.887) 0:00:44.411 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:25 +0000 (0:00:00.047) 0:00:44.459 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:25 +0000 (0:00:00.039) 0:00:44.498 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:25 +0000 (0:00:00.042) 0:00:44.541 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:25 +0000 (0:00:00.074) 0:00:44.615 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:25 +0000 (0:00:00.038) 0:00:44.654 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:25 +0000 (0:00:00.039) 0:00:44.694 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:25 +0000 (0:00:00.053) 0:00:44.747 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:26 +0000 (0:00:00.430) 0:00:45.177 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:26 +0000 (0:00:00.051) 0:00:45.229 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:26 +0000 (0:00:00.034) 0:00:45.263 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:26 +0000 (0:00:00.032) 0:00:45.295 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:26 +0000 (0:00:00.569) 0:00:45.864 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:27 +0000 (0:00:00.038) 0:00:45.903 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:27 +0000 (0:00:00.042) 0:00:45.946 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:27 +0000 (0:00:00.043) 0:00:45.989 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:27 +0000 (0:00:00.038) 0:00:46.028 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [asserts] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:54:27 +0000 (0:00:00.326) 0:00:46.354 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_device_present.yml) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_profile_absent.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:54:27 +0000 (0:00:00.064) 0:00:46.419 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:54:27 +0000 (0:00:00.052) 0:00:46.471 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659549257.7723064, "block_size": 4096, "blocks": 0, "ctime": 1659549257.7633066, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14747, "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": 1659549257.7633066, "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/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:54:27 +0000 (0:00:00.317) 0:00:46.789 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:54:27 +0000 (0:00:00.045) 0:00:46.834 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.053) 0:00:46.887 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.108) 0:00:46.996 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.312) 0:00:47.309 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.035) 0:00:47.344 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.028681", "end": "2022-08-03 17:54:28.479156", "rc": 1, "start": "2022-08-03 17:54:28.450475" } 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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.345) 0:00:47.690 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.033) 0:00:47.724 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.031) 0:00:47.756 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.033) 0:00:47.790 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.045) 0:00:47.835 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:54:29 +0000 (0:00:00.045) 0:00:47.881 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:54:29 +0000 (0:00:00.043) 0:00:47.925 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-7.qcow2c.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:54:29 +0000 (0:00:00.059) 0:00:47.985 ****** fatal: [/cache/centos-7.qcow2c.snap]: 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.062822", "end": "2022-08-03 17:54:29.155885", "rc": 1, "start": "2022-08-03 17:54:29.093063" } STDOUT: Connection 'statebr' (2df68c02-a253-43a0-9635-e697aaa94e23) successfully deleted. STDERR: (process:20839): GLib-GIO-WARNING **: 17:54:29.138: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/88 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_states.yml:90 Wednesday 03 August 2022 17:54:29 +0000 (0:00:00.380) 0:00:48.365 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml for /cache/centos-7.qcow2c.snap TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:54:29 +0000 (0:00:00.055) 0:00:48.421 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:54:29 +0000 (0:00:00.086) 0:00:48.508 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:54:29 +0000 (0:00:00.149) 0:00:48.657 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:54:29 +0000 (0:00:00.052) 0:00:48.709 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:54:29 +0000 (0:00:00.048) 0:00:48.758 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003827", "end": "2022-08-03 17:54:29.878927", "rc": 0, "start": "2022-08-03 17:54:29.875100" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:54:30 +0000 (0:00:00.331) 0:00:49.090 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:54:30 +0000 (0:00:00.042) 0:00:49.132 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:54:30 +0000 (0:00:00.044) 0:00:49.177 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/create_bridge_profile.yml) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/activate_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/activate_profile.yml) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:54:30 +0000 (0:00:00.063) 0:00:49.240 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:30 +0000 (0:00:00.053) 0:00:49.294 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:30 +0000 (0:00:00.057) 0:00:49.351 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:30 +0000 (0:00:00.431) 0:00:49.783 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:31 +0000 (0:00:00.953) 0:00:50.736 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:32 +0000 (0:00:00.836) 0:00:51.573 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:32 +0000 (0:00:00.048) 0:00:51.622 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:32 +0000 (0:00:00.036) 0:00:51.659 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:32 +0000 (0:00:00.036) 0:00:51.695 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:32 +0000 (0:00:00.071) 0:00:51.767 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:32 +0000 (0:00:00.035) 0:00:51.802 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:32 +0000 (0:00:00.037) 0:00:51.839 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:33 +0000 (0:00:00.049) 0:00:51.888 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:33 +0000 (0:00:00.435) 0:00:52.323 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:33 +0000 (0:00:00.053) 0:00:52.377 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:33 +0000 (0:00:00.033) 0:00:52.411 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:33 +0000 (0:00:00.033) 0:00:52.445 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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, 1dc27547-480e-4f54-87b2-4c21c3f65bec TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:34 +0000 (0:00:00.508) 0:00:52.954 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:34 +0000 (0:00:00.038) 0:00:52.992 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1dc27547-480e-4f54-87b2-4c21c3f65bec" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:34 +0000 (0:00:00.051) 0:00:53.043 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 1dc27547-480e-4f54-87b2-4c21c3f65bec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1dc27547-480e-4f54-87b2-4c21c3f65bec" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:34 +0000 (0:00:00.048) 0:00:53.092 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:34 +0000 (0:00:00.040) 0:00:53.132 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Show result] ************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:54:34 +0000 (0:00:00.342) 0:00:53.475 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 1dc27547-480e-4f54-87b2-4c21c3f65bec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1dc27547-480e-4f54-87b2-4c21c3f65bec" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:54:34 +0000 (0:00:00.044) 0:00:53.520 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:34 +0000 (0:00:00.052) 0:00:53.572 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:34 +0000 (0:00:00.056) 0:00:53.629 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:35 +0000 (0:00:00.465) 0:00:54.095 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:36 +0000 (0:00:00.936) 0:00:55.032 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.843) 0:00:55.876 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.048) 0:00:55.924 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.040) 0:00:55.964 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.042) 0:00:56.007 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.075) 0:00:56.083 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.084) 0:00:56.168 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.038) 0:00:56.206 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.057) 0:00:56.263 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.459) 0:00:56.722 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.054) 0:00:56.777 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.032) 0:00:56.809 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.033) 0:00:56.843 ****** ok: [/cache/centos-7.qcow2c.snap] => { "_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, 1dc27547-480e-4f54-87b2-4c21c3f65bec skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:38 +0000 (0:00:00.703) 0:00:57.547 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:38 +0000 (0:00:00.038) 0:00:57.585 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1dc27547-480e-4f54-87b2-4c21c3f65bec skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:38 +0000 (0:00:00.044) 0:00:57.630 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, 1dc27547-480e-4f54-87b2-4c21c3f65bec skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1dc27547-480e-4f54-87b2-4c21c3f65bec skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:38 +0000 (0:00:00.041) 0:00:57.672 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:38 +0000 (0:00:00.034) 0:00:57.706 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 03 August 2022 17:54:39 +0000 (0:00:00.324) 0:00:58.031 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:39 +0000 (0:00:00.083) 0:00:58.115 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:39 +0000 (0:00:00.060) 0:00:58.176 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:39 +0000 (0:00:00.429) 0:00:58.605 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:40 +0000 (0:00:00.886) 0:00:59.491 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:41 +0000 (0:00:00.868) 0:01:00.360 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:41 +0000 (0:00:00.045) 0:01:00.406 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:41 +0000 (0:00:00.037) 0:01:00.444 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:41 +0000 (0:00:00.038) 0:01:00.482 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:41 +0000 (0:00:00.080) 0:01:00.563 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:41 +0000 (0:00:00.038) 0:01:00.601 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:41 +0000 (0:00:00.039) 0:01:00.641 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:41 +0000 (0:00:00.050) 0:01:00.692 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:42 +0000 (0:00:00.458) 0:01:01.150 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:42 +0000 (0:00:00.052) 0:01:01.203 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:42 +0000 (0:00:00.032) 0:01:01.236 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:42 +0000 (0:00:00.034) 0:01:01.270 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:42 +0000 (0:00:00.533) 0:01:01.803 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:42 +0000 (0:00:00.040) 0:01:01.844 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.050) 0:01:01.894 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.054) 0:01:01.949 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.085) 0:01:02.035 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [test] ******************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.329) 0:01:02.365 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove+down_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.059) 0:01:02.424 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.068) 0:01:02.492 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.061) 0:01:02.553 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:44 +0000 (0:00:00.435) 0:01:02.988 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:45 +0000 (0:00:00.894) 0:01:03.882 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:45 +0000 (0:00:00.923) 0:01:04.806 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:45 +0000 (0:00:00.044) 0:01:04.851 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.037) 0:01:04.888 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.038) 0:01:04.926 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.071) 0:01:04.998 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.044) 0:01:05.042 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.038) 0:01:05.081 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.068) 0:01:05.149 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.437) 0:01:05.587 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.054) 0:01:05.641 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.032) 0:01:05.673 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.033) 0:01:05.706 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:47 +0000 (0:00:00.641) 0:01:06.348 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:47 +0000 (0:00:00.039) 0:01:06.387 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:47 +0000 (0:00:00.045) 0:01:06.433 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:47 +0000 (0:00:00.050) 0:01:06.484 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:47 +0000 (0:00:00.040) 0:01:06.524 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [asserts] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.344) 0:01:06.869 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_profile_absent.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.062) 0:01:06.932 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.056) 0:01:06.989 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.048) 0:01:07.037 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.311) 0:01:07.348 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.034) 0:01:07.383 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020911", "end": "2022-08-03 17:54:48.505351", "rc": 1, "start": "2022-08-03 17:54:48.484440" } 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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.372) 0:01:07.756 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.033) 0:01:07.789 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.034) 0:01:07.824 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.035) 0:01:07.859 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:54:49 +0000 (0:00:00.049) 0:01:07.909 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-7.qcow2c.snap => (item={'what': 'tasks/assert_device_absent.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:54:49 +0000 (0:00:00.074) 0:01:07.984 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:54:49 +0000 (0:00:00.053) 0:01:08.037 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:54:49 +0000 (0:00:00.319) 0:01:08.357 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:54:49 +0000 (0:00:00.047) 0:01:08.404 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:54:49 +0000 (0:00:00.045) 0:01:08.449 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-7.qcow2c.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:54:49 +0000 (0:00:00.058) 0:01:08.508 ****** fatal: [/cache/centos-7.qcow2c.snap]: 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.047453", "end": "2022-08-03 17:54:49.680572", "rc": 1, "start": "2022-08-03 17:54:49.633119" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_states.yml:110 Wednesday 03 August 2022 17:54:50 +0000 (0:00:00.382) 0:01:08.890 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml for /cache/centos-7.qcow2c.snap TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:54:50 +0000 (0:00:00.055) 0:01:08.946 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:54:50 +0000 (0:00:00.121) 0:01:09.068 ****** ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/centos-7.qcow2c.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:54:50 +0000 (0:00:00.111) 0:01:09.179 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:54:50 +0000 (0:00:00.059) 0:01:09.238 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-7.qcow2c.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:54:50 +0000 (0:00:00.055) 0:01:09.294 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004216", "end": "2022-08-03 17:54:50.415249", "rc": 0, "start": "2022-08-03 17:54:50.411033" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:54:50 +0000 (0:00:00.331) 0:01:09.625 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:54:50 +0000 (0:00:00.045) 0:01:09.671 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:54:50 +0000 (0:00:00.049) 0:01:09.720 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/create_bridge_profile.yml) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/activate_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/activate_profile.yml) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove+down_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 17:54:50 +0000 (0:00:00.066) 0:01:09.786 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:50 +0000 (0:00:00.057) 0:01:09.844 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:51 +0000 (0:00:00.062) 0:01:09.906 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:51 +0000 (0:00:00.440) 0:01:10.346 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:52 +0000 (0:00:00.983) 0:01:11.330 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.845) 0:01:12.176 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.048) 0:01:12.224 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.040) 0:01:12.264 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.042) 0:01:12.307 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.077) 0:01:12.384 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.040) 0:01:12.425 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.036) 0:01:12.462 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.066) 0:01:12.528 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.477) 0:01:13.005 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.054) 0:01:13.060 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.032) 0:01:13.093 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.035) 0:01:13.128 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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, f2954156-3e55-4d02-9e48-baa9ea725cf6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.527) 0:01:13.656 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.039) 0:01:13.695 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2954156-3e55-4d02-9e48-baa9ea725cf6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.046) 0:01:13.741 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, f2954156-3e55-4d02-9e48-baa9ea725cf6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2954156-3e55-4d02-9e48-baa9ea725cf6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.050) 0:01:13.791 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.036) 0:01:13.827 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Show result] ************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 17:54:55 +0000 (0:00:00.340) 0:01:14.168 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, f2954156-3e55-4d02-9e48-baa9ea725cf6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f2954156-3e55-4d02-9e48-baa9ea725cf6" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 17:54:55 +0000 (0:00:00.043) 0:01:14.211 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:55 +0000 (0:00:00.051) 0:01:14.263 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:55 +0000 (0:00:00.057) 0:01:14.320 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:55 +0000 (0:00:00.481) 0:01:14.801 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:56 +0000 (0:00:00.917) 0:01:15.719 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:57 +0000 (0:00:00.844) 0:01:16.564 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:57 +0000 (0:00:00.047) 0:01:16.611 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:57 +0000 (0:00:00.037) 0:01:16.649 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:57 +0000 (0:00:00.034) 0:01:16.683 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:57 +0000 (0:00:00.097) 0:01:16.781 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:57 +0000 (0:00:00.037) 0:01:16.818 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:57 +0000 (0:00:00.040) 0:01:16.859 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:58 +0000 (0:00:00.054) 0:01:16.914 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:58 +0000 (0:00:00.442) 0:01:17.357 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:58 +0000 (0:00:00.054) 0:01:17.411 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:58 +0000 (0:00:00.034) 0:01:17.445 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:58 +0000 (0:00:00.033) 0:01:17.479 ****** ok: [/cache/centos-7.qcow2c.snap] => { "_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, f2954156-3e55-4d02-9e48-baa9ea725cf6 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:59 +0000 (0:00:00.503) 0:01:17.983 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:59 +0000 (0:00:00.036) 0:01:18.019 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2954156-3e55-4d02-9e48-baa9ea725cf6 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:59 +0000 (0:00:00.049) 0:01:18.069 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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, f2954156-3e55-4d02-9e48-baa9ea725cf6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f2954156-3e55-4d02-9e48-baa9ea725cf6 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:59 +0000 (0:00:00.042) 0:01:18.112 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:59 +0000 (0:00:00.040) 0:01:18.153 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 17:54:59 +0000 (0:00:00.333) 0:01:18.487 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:59 +0000 (0:00:00.086) 0:01:18.573 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:59 +0000 (0:00:00.060) 0:01:18.634 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:55:00 +0000 (0:00:00.426) 0:01:19.061 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:55:01 +0000 (0:00:00.908) 0:01:19.969 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:55:01 +0000 (0:00:00.870) 0:01:20.839 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:55:02 +0000 (0:00:00.050) 0:01:20.890 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:55:02 +0000 (0:00:00.038) 0:01:20.928 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:55:02 +0000 (0:00:00.036) 0:01:20.964 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:55:02 +0000 (0:00:00.072) 0:01:21.037 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:55:02 +0000 (0:00:00.036) 0:01:21.074 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:55:02 +0000 (0:00:00.037) 0:01:21.112 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:55:02 +0000 (0:00:00.053) 0:01:21.165 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:55:02 +0000 (0:00:00.442) 0:01:21.608 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:55:02 +0000 (0:00:00.054) 0:01:21.662 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:55:02 +0000 (0:00:00.033) 0:01:21.696 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:55:02 +0000 (0:00:00.034) 0:01:21.731 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:55:03 +0000 (0:00:00.583) 0:01:22.314 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:55:03 +0000 (0:00:00.038) 0:01:22.353 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:55:03 +0000 (0:00:00.049) 0:01:22.402 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:55:03 +0000 (0:00:00.086) 0:01:22.489 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:55:03 +0000 (0:00:00.099) 0:01:22.588 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [test] ******************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:55:04 +0000 (0:00:00.346) 0:01:22.935 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove+down_profile.yml for /cache/centos-7.qcow2c.snap => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 17:55:04 +0000 (0:00:00.058) 0:01:22.994 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:55:04 +0000 (0:00:00.054) 0:01:23.048 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:55:04 +0000 (0:00:00.062) 0:01:23.111 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:55:04 +0000 (0:00:00.450) 0:01:23.561 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:55:05 +0000 (0:00:00.898) 0:01:24.459 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:55:06 +0000 (0:00:00.922) 0:01:25.382 ****** ok: [/cache/centos-7.qcow2c.snap] => {} 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:55:06 +0000 (0:00:00.043) 0:01:25.426 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:55:06 +0000 (0:00:00.038) 0:01:25.464 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:55:06 +0000 (0:00:00.037) 0:01:25.501 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:55:06 +0000 (0:00:00.070) 0:01:25.572 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:55:06 +0000 (0:00:00.037) 0:01:25.610 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:55:06 +0000 (0:00:00.039) 0:01:25.650 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:55:06 +0000 (0:00:00.052) 0:01:25.702 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:55:07 +0000 (0:00:00.447) 0:01:26.149 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:55:07 +0000 (0:00:00.053) 0:01:26.203 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:55:07 +0000 (0:00:00.035) 0:01:26.239 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:55:07 +0000 (0:00:00.033) 0:01:26.272 ****** ok: [/cache/centos-7.qcow2c.snap] => { "_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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:55:07 +0000 (0:00:00.553) 0:01:26.825 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:55:07 +0000 (0:00:00.041) 0:01:26.867 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:55:08 +0000 (0:00:00.046) 0:01:26.913 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:55:08 +0000 (0:00:00.048) 0:01:26.962 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:55:08 +0000 (0:00:00.037) 0:01:27.000 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [asserts] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:55:08 +0000 (0:00:00.333) 0:01:27.333 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/centos-7.qcow2c.snap => (item=tasks/assert_profile_absent.yml) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for /cache/centos-7.qcow2c.snap => (item=tasks/get_NetworkManager_NVR.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:55:08 +0000 (0:00:00.078) 0:01:27.412 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:55:08 +0000 (0:00:00.061) 0:01:27.473 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:55:08 +0000 (0:00:00.046) 0:01:27.520 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:55:08 +0000 (0:00:00.315) 0:01:27.835 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:55:09 +0000 (0:00:00.035) 0:01:27.871 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020788", "end": "2022-08-03 17:55:08.994991", "rc": 1, "start": "2022-08-03 17:55:08.974203" } 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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:55:09 +0000 (0:00:00.331) 0:01:28.202 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:55:09 +0000 (0:00:00.036) 0:01:28.239 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:55:09 +0000 (0:00:00.033) 0:01:28.272 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:55:09 +0000 (0:00:00.033) 0:01:28.305 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:4 Wednesday 03 August 2022 17:55:09 +0000 (0:00:00.043) 0:01:28.349 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.409279", "end": "2022-08-03 17:55:09.870566", "rc": 0, "start": "2022-08-03 17:55:09.461287" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:10 Wednesday 03 August 2022 17:55:10 +0000 (0:00:00.735) 0:01:29.085 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "NetworkManager_NVR": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 03 August 2022 17:55:10 +0000 (0:00:00.044) 0:01:29.129 ****** ok: [/cache/centos-7.qcow2c.snap] => { "NetworkManager_NVR": "NetworkManager-1.18.8-2.el7_9" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:55:10 +0000 (0:00:00.048) 0:01:29.178 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-7.qcow2c.snap => (item={'what': 'tasks/assert_device_absent.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:55:10 +0000 (0:00:00.075) 0:01:29.253 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:55:10 +0000 (0:00:00.053) 0:01:29.307 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:55:10 +0000 (0:00:00.339) 0:01:29.647 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:55:10 +0000 (0:00:00.045) 0:01:29.692 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:55:10 +0000 (0:00:00.086) 0:01:29.779 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/centos-7.qcow2c.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:55:11 +0000 (0:00:00.096) 0:01:29.875 ****** fatal: [/cache/centos-7.qcow2c.snap]: 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.048819", "end": "2022-08-03 17:55:11.031262", "rc": 1, "start": "2022-08-03 17:55:10.982443" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=333 changed=13 unreachable=0 failed=0 skipped=189 rescued=0 ignored=11 Wednesday 03 August 2022 17:55:11 +0000 (0:00:00.387) 0:01:30.262 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.85s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 2.50s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.19s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.82s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.82s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.78s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.33s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.33s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.10s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.03s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Check which services are running ---- 1.01s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmppolohs8h/tests/network/tests_states_nm.yml:5 -------------------------- fedora.linux_system_roles.network : Check which services are running ---- 0.98s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.95s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.94s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.94s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmppolohs8h/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmppolohs8h/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:55:11 +0000 (0:00:00.041) 0:01:30.304 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.009205", "end": "2022-08-03 17:55:11.424724", "rc": 0, "start": "2022-08-03 17:55:11.415519" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=334 changed=14 unreachable=0 failed=0 skipped=189 rescued=0 ignored=11 Wednesday 03 August 2022 17:55:11 +0000 (0:00:00.359) 0:01:30.663 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.85s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 2.50s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.19s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.82s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.82s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.78s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.33s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.33s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.10s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.03s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Check which services are running ---- 1.01s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmppolohs8h/tests/network/tests_states_nm.yml:5 -------------------------- fedora.linux_system_roles.network : Check which services are running ---- 0.98s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.95s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.94s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.94s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14