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/tmpcwsggv7g 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Wednesday 03 August 2022 15:45:40 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:45:42 +0000 (0:00:01.268) 0:00:01.285 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpd6fsfezc/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpd6fsfezc/tests/_backup.yml:6 Wednesday 03 August 2022 15:45:42 +0000 (0:00:00.014) 0:00:01.300 ****** ok: [/cache/rhel-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659541540.2747784, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659541539.2737784, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539931.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "98781527", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpd6fsfezc/tests/_backup.yml:13 Wednesday 03 August 2022 15:45:42 +0000 (0:00:00.499) 0:00:01.799 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8.qcow2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 752168, 'dev': 64515, 'nlink': 1, 'atime': 1659541540.2747784, 'mtime': 1659539931.0, 'ctime': 1659541539.2737784, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '98781527', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659541540.2747784, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659541539.2737784, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539931.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "98781527", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpd6fsfezc/tests/_backup.yml:19 Wednesday 03 August 2022 15:45:42 +0000 (0:00:00.033) 0:00:01.833 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004761", "end": "2022-08-03 11:45:42.181034", "rc": 0, "start": "2022-08-03 11:45:42.176273" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:45:43 +0000 (0:00:00.463) 0:00:02.297 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmpd6fsfezc/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.46s /tmp/tmpd6fsfezc/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpd6fsfezc/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_reapply_nm.yml ************************************************* 2 plays in /tmp/tmpd6fsfezc/tests/tests_reapply_nm.yml PLAY [Run playbook 'playbooks/tests_reapply.yml' with nm as provider] ********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/tests_reapply_nm.yml:5 Wednesday 03 August 2022 15:45:43 +0000 (0:00:00.026) 0:00:02.324 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tests_reapply_nm.yml:8 Wednesday 03 August 2022 15:45:44 +0000 (0:00:01.028) 0:00:03.352 ****** included: /tmp/tmpd6fsfezc/tests/tasks/el_repo_setup.yml for /cache/rhel-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:45:44 +0000 (0:00:00.026) 0:00:03.379 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:45:44 +0000 (0:00:00.022) 0:00:03.401 ****** included: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml for /cache/rhel-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:45:44 +0000 (0:00:00.028) 0:00:03.430 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:45:44 +0000 (0:00:00.364) 0:00:03.794 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:45:44 +0000 (0:00:00.022) 0:00:03.817 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.414835", "end": "2022-08-03 11:45:44.470710", "rc": 0, "start": "2022-08-03 11:45:44.055875" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:45:45 +0000 (0:00:00.766) 0:00:04.583 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpd6fsfezc/tests/tests_reapply_nm.yml:9 Wednesday 03 August 2022 15:45:45 +0000 (0:00:00.019) 0:00:04.603 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:7 Wednesday 03 August 2022 15:45:45 +0000 (0:00:00.044) 0:00:04.647 ****** ok: [/cache/rhel-8.qcow2] TASK [Show test banner] ******************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:13 Wednesday 03 August 2022 15:45:46 +0000 (0:00:00.789) 0:00:05.437 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Inside states tests TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:16 Wednesday 03 August 2022 15:45:46 +0000 (0:00:00.032) 0:00:05.469 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:45:46 +0000 (0:00:00.029) 0:00:05.498 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:45:46 +0000 (0:00:00.029) 0:00:05.528 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002886", "end": "2022-08-03 11:45:45.782975", "rc": 0, "start": "2022-08-03 11:45:45.780089" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:45:46 +0000 (0:00:00.368) 0:00:05.896 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:45:46 +0000 (0:00:00.038) 0:00:05.934 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:17 Wednesday 03 August 2022 15:45:46 +0000 (0:00:00.074) 0:00:06.008 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_absent.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 15:45:46 +0000 (0:00:00.030) 0:00:06.039 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface rpltstbr] ***************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:45:47 +0000 (0:00:00.030) 0:00:06.069 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface rpltstbr is absent] ******************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 15:45:47 +0000 (0:00:00.374) 0:00:06.443 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:45:47 +0000 (0:00:00.040) 0:00:06.484 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:45:47 +0000 (0:00:00.031) 0:00:06.516 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:45:47 +0000 (0:00:00.538) 0:00:07.054 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:45:49 +0000 (0:00:01.681) 0:00:08.735 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:45:51 +0000 (0:00:01.422) 0:00:10.158 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:45:51 +0000 (0:00:00.048) 0:00:10.206 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:45:51 +0000 (0:00:00.041) 0:00:10.247 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:45:51 +0000 (0:00:00.039) 0:00:10.287 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:45:51 +0000 (0:00:00.072) 0:00:10.359 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:45:51 +0000 (0:00:00.039) 0:00:10.399 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:45:51 +0000 (0:00:00.039) 0:00:10.438 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:45:51 +0000 (0:00:00.049) 0:00:10.487 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:45:52 +0000 (0:00:00.829) 0:00:11.317 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:45:52 +0000 (0:00:00.053) 0:00:11.371 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:45:52 +0000 (0:00:00.034) 0:00:11.406 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:45:52 +0000 (0:00:00.037) 0:00:11.443 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:45:53 +0000 (0:00:00.722) 0:00:12.165 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:45:53 +0000 (0:00:00.041) 0:00:12.206 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:45:53 +0000 (0:00:00.048) 0:00:12.255 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:45:53 +0000 (0:00:00.046) 0:00:12.301 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:45:53 +0000 (0:00:00.040) 0:00:12.342 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:23 Wednesday 03 August 2022 15:45:53 +0000 (0:00:00.526) 0:00:12.868 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:45:53 +0000 (0:00:00.068) 0:00:12.937 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:45:53 +0000 (0:00:00.062) 0:00:12.999 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:45:54 +0000 (0:00:00.528) 0:00:13.527 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:45:57 +0000 (0:00:02.615) 0:00:16.143 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:45:58 +0000 (0:00:01.123) 0:00:17.267 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:45:58 +0000 (0:00:00.047) 0:00:17.314 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:45:58 +0000 (0:00:00.070) 0:00:17.385 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:45:58 +0000 (0:00:00.042) 0:00:17.428 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:45:58 +0000 (0:00:00.075) 0:00:17.504 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:45:58 +0000 (0:00:00.042) 0:00:17.546 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:45:58 +0000 (0:00:00.041) 0:00:17.588 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:45:58 +0000 (0:00:00.055) 0:00:17.643 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:45:59 +0000 (0:00:00.567) 0:00:18.210 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:45:59 +0000 (0:00:00.059) 0:00:18.270 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:45:59 +0000 (0:00:00.037) 0:00:18.307 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:45:59 +0000 (0:00:00.037) 0:00:18.345 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9 [004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:45:59 +0000 (0:00:00.622) 0:00:18.967 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:45:59 +0000 (0:00:00.073) 0:00:19.040 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:46:00 +0000 (0:00:00.047) 0:00:19.088 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:46:00 +0000 (0:00:00.044) 0:00:19.132 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:46:00 +0000 (0:00:00.038) 0:00:19.171 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:34 Wednesday 03 August 2022 15:46:00 +0000 (0:00:00.397) 0:00:19.568 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:46:00 +0000 (0:00:00.062) 0:00:19.630 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface rpltstbr] ***************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:46:00 +0000 (0:00:00.070) 0:00:19.700 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659541558.759754, "block_size": 4096, "blocks": 0, "ctime": 1659541558.759754, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36681, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/rpltstbr", "lnk_target": "../../devices/virtual/net/rpltstbr", "mode": "0777", "mtime": 1659541558.759754, "nlink": 1, "path": "/sys/class/net/rpltstbr", "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 rpltstbr is present] ******************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:46:01 +0000 (0:00:00.398) 0:00:20.099 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:35 Wednesday 03 August 2022 15:46:01 +0000 (0:00:00.051) 0:00:20.151 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:46:01 +0000 (0:00:00.115) 0:00:20.267 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:46:01 +0000 (0:00:00.062) 0:00:20.329 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:46:01 +0000 (0:00:00.049) 0:00:20.379 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659541558.8157783, "block_size": 4096, "blocks": 8, "ctime": 1659541558.7577784, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17605142, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659541558.7577784, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-rpltstbr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 222, "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/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:46:01 +0000 (0:00:00.392) 0:00:20.771 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:46:01 +0000 (0:00:00.048) 0:00:20.820 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep rpltstbr | grep /etc", "delta": "0:00:00.017823", "end": "2022-08-03 11:46:01.098258", "rc": 0, "start": "2022-08-03 11:46:01.080435" } STDOUT: rpltstbr /etc/sysconfig/network-scripts/ifcfg-rpltstbr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:46:02 +0000 (0:00:00.409) 0:00:21.229 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-rpltstbr] *********************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:46:02 +0000 (0:00:00.051) 0:00:21.281 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-rpltstbr] ******************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:46:02 +0000 (0:00:00.039) 0:00:21.320 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'rpltstbr' is present] ******************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:46:02 +0000 (0:00:00.039) 0:00:21.360 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'rpltstbr' is present] ************ task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:46:02 +0000 (0:00:00.051) 0:00:21.412 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get network_connections output] ****************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:37 Wednesday 03 August 2022 15:46:02 +0000 (0:00:00.049) 0:00:21.461 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ip": { "address": [ "192.0.2.72/31" ], "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9 [004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9 (is-modified) [005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied TASK [Show test_module_run] **************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:52 Wednesday 03 August 2022 15:46:02 +0000 (0:00:00.500) 0:00:21.961 ****** ok: [/cache/rhel-8.qcow2] => { "test_module_run": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ip": { "address": [ "192.0.2.72/31" ], "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9 (is-modified)\n[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 11f19d32-11d5-4e2e-8403-858d4195dce9 (is-modified)", "[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied" ] } } TASK [Assert that reapply is found in log output] ****************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:55 Wednesday 03 August 2022 15:46:02 +0000 (0:00:00.050) 0:00:22.012 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [network_connections] ***************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:62 Wednesday 03 August 2022 15:46:03 +0000 (0:00:00.050) 0:00:22.063 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: missing required arguments: __header ...ignoring TASK [command] ***************************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:68 Wednesday 03 August 2022 15:46:03 +0000 (0:00:00.433) 0:00:22.496 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "rpltstbr" ], "delta": "0:00:00.024943", "end": "2022-08-03 11:46:02.773520", "rc": 0, "start": "2022-08-03 11:46:02.748577" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=59 changed=5 unreachable=0 failed=0 skipped=27 rescued=0 ignored=1 Wednesday 03 August 2022 15:46:03 +0000 (0:00:00.428) 0:00:22.924 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.62s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.68s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.42s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.12s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpd6fsfezc/tests/tests_reapply_nm.yml:5 --------------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.83s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:7 -------------------------- Enable EPEL 8 ----------------------------------------------------------- 0.77s /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:17 ------------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.72s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.62s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.57s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.54s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.53s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Re-test connectivity ----------------------- 0.53s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Get network_connections output ------------------------------------------ 0.50s /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:37 ------------------------- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmpd6fsfezc/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.46s /tmp/tmpd6fsfezc/tests/_backup.yml:19 ----------------------------------------- network_connections ----------------------------------------------------- 0.43s /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:62 ------------------------- command ----------------------------------------------------------------- 0.43s /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:68 ------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpd6fsfezc/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpd6fsfezc/tests/_restore.yml:4 Wednesday 03 August 2022 15:46:03 +0000 (0:00:00.048) 0:00:22.973 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007618", "end": "2022-08-03 11:46:03.235284", "rc": 0, "start": "2022-08-03 11:46:03.227666" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=60 changed=6 unreachable=0 failed=0 skipped=27 rescued=0 ignored=1 Wednesday 03 August 2022 15:46:04 +0000 (0:00:00.413) 0:00:23.387 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.62s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.68s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.42s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.12s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpd6fsfezc/tests/tests_reapply_nm.yml:5 --------------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.83s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:7 -------------------------- Enable EPEL 8 ----------------------------------------------------------- 0.77s /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:17 ------------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.72s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.62s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.57s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.54s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.53s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Re-test connectivity ----------------------- 0.53s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Get network_connections output ------------------------------------------ 0.50s /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:37 ------------------------- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmpd6fsfezc/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.46s /tmp/tmpd6fsfezc/tests/_backup.yml:19 ----------------------------------------- network_connections ----------------------------------------------------- 0.43s /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:62 ------------------------- command ----------------------------------------------------------------- 0.43s /tmp/tmpd6fsfezc/tests/playbooks/tests_reapply.yml:68 ------------------------- 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/tmpcwsggv7g 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Wednesday 03 August 2022 16:22:20 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:22:21 +0000 (0:00:01.255) 0:00:01.273 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.26s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpzotb0bdj/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpzotb0bdj/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:22:21 +0000 (0:00:00.014) 0:00:01.288 ****** ok: [/cache/rhel-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659543739.4625843, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543738.4615843, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3731249171", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:22:21 +0000 (0:00:00.480) 0:00:01.769 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8.qcow2] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 752168, 'dev': 64515, 'nlink': 1, 'atime': 1659543739.4625843, 'mtime': 1659542132.0, 'ctime': 1659543738.4615843, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '3731249171', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659543739.4625843, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543738.4615843, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3731249171", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpzotb0bdj/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:22:21 +0000 (0:00:00.035) 0:00:01.805 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004879", "end": "2022-08-03 12:22:21.396043", "rc": 0, "start": "2022-08-03 12:22:21.391164" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:22:22 +0000 (0:00:00.469) 0:00:02.274 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.26s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.48s /tmp/tmpzotb0bdj/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.47s /tmp/tmpzotb0bdj/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpzotb0bdj/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_reapply_nm.yml ************************************************* 2 plays in /tmp/tmpzotb0bdj/tests/network/tests_reapply_nm.yml PLAY [Run playbook 'playbooks/tests_reapply.yml' with nm as provider] ********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/tests_reapply_nm.yml:5 Wednesday 03 August 2022 16:22:22 +0000 (0:00:00.032) 0:00:02.306 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tests_reapply_nm.yml:8 Wednesday 03 August 2022 16:22:23 +0000 (0:00:01.024) 0:00:03.331 ****** included: /tmp/tmpzotb0bdj/tests/network/tasks/el_repo_setup.yml for /cache/rhel-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:22:23 +0000 (0:00:00.026) 0:00:03.357 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:22:23 +0000 (0:00:00.020) 0:00:03.378 ****** included: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml for /cache/rhel-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:22:23 +0000 (0:00:00.027) 0:00:03.405 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:22:23 +0000 (0:00:00.348) 0:00:03.753 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:22:23 +0000 (0:00:00.021) 0:00:03.775 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.411351", "end": "2022-08-03 12:22:23.667179", "rc": 0, "start": "2022-08-03 12:22:23.255828" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:22:24 +0000 (0:00:00.764) 0:00:04.540 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/tests_reapply_nm.yml:9 Wednesday 03 August 2022 16:22:24 +0000 (0:00:00.021) 0:00:04.561 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:7 Wednesday 03 August 2022 16:22:24 +0000 (0:00:00.047) 0:00:04.608 ****** ok: [/cache/rhel-8.qcow2] TASK [Show test banner] ******************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:13 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.811) 0:00:05.420 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Inside states tests TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:16 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.036) 0:00:05.456 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.030) 0:00:05.486 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.030) 0:00:05.517 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003341", "end": "2022-08-03 12:22:25.022088", "rc": 0, "start": "2022-08-03 12:22:25.018747" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.376) 0:00:05.893 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.031) 0:00:05.925 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:17 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.030) 0:00:05.956 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:22:26 +0000 (0:00:00.029) 0:00:05.986 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface rpltstbr] ***************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:22:26 +0000 (0:00:00.030) 0:00:06.016 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface rpltstbr is absent] ******************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:22:26 +0000 (0:00:00.414) 0:00:06.431 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:22:26 +0000 (0:00:00.042) 0:00:06.473 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:22:26 +0000 (0:00:00.033) 0:00:06.507 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:22:27 +0000 (0:00:00.535) 0:00:07.042 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:22:28 +0000 (0:00:01.773) 0:00:08.815 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:22:30 +0000 (0:00:01.363) 0:00:10.179 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.049) 0:00:10.228 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.038) 0:00:10.267 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.041) 0:00:10.308 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.077) 0:00:10.386 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.039) 0:00:10.425 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.039) 0:00:10.465 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.079) 0:00:10.544 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:22:31 +0000 (0:00:00.789) 0:00:11.334 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:22:31 +0000 (0:00:00.054) 0:00:11.389 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:22:31 +0000 (0:00:00.051) 0:00:11.440 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:22:31 +0000 (0:00:00.057) 0:00:11.498 ****** ok: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:22:32 +0000 (0:00:00.727) 0:00:12.226 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:22:32 +0000 (0:00:00.041) 0:00:12.268 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:22:32 +0000 (0:00:00.052) 0:00:12.321 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:22:32 +0000 (0:00:00.051) 0:00:12.372 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:22:32 +0000 (0:00:00.039) 0:00:12.411 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:23 Wednesday 03 August 2022 16:22:32 +0000 (0:00:00.513) 0:00:12.925 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:22:33 +0000 (0:00:00.074) 0:00:13.000 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:22:33 +0000 (0:00:00.063) 0:00:13.063 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:22:33 +0000 (0:00:00.525) 0:00:13.589 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:22:35 +0000 (0:00:01.553) 0:00:15.142 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:22:36 +0000 (0:00:01.144) 0:00:16.287 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:22:36 +0000 (0:00:00.046) 0:00:16.333 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:22:36 +0000 (0:00:00.038) 0:00:16.372 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:22:36 +0000 (0:00:00.037) 0:00:16.409 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:22:36 +0000 (0:00:00.073) 0:00:16.483 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:22:36 +0000 (0:00:00.068) 0:00:16.551 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:22:36 +0000 (0:00:00.039) 0:00:16.590 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:22:36 +0000 (0:00:00.056) 0:00:16.647 ****** ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.543) 0:00:17.190 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.052) 0:00:17.242 ****** skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.034) 0:00:17.277 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.035) 0:00:17.313 ****** changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519 [004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.581) 0:00:17.895 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.040) 0:00:17.935 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:22:38 +0000 (0:00:00.045) 0:00:17.981 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:22:38 +0000 (0:00:00.048) 0:00:18.029 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:22:38 +0000 (0:00:00.078) 0:00:18.108 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:34 Wednesday 03 August 2022 16:22:38 +0000 (0:00:00.393) 0:00:18.502 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:22:38 +0000 (0:00:00.062) 0:00:18.564 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface rpltstbr] ***************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:22:38 +0000 (0:00:00.058) 0:00:18.622 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659543756.9543283, "block_size": 4096, "blocks": 0, "ctime": 1659543756.9543283, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36675, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/rpltstbr", "lnk_target": "../../devices/virtual/net/rpltstbr", "mode": "0777", "mtime": 1659543756.9543283, "nlink": 1, "path": "/sys/class/net/rpltstbr", "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 rpltstbr is present] ******************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:22:39 +0000 (0:00:00.373) 0:00:18.996 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:35 Wednesday 03 August 2022 16:22:39 +0000 (0:00:00.052) 0:00:19.048 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:22:39 +0000 (0:00:00.063) 0:00:19.112 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:22:39 +0000 (0:00:00.061) 0:00:19.174 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:22:39 +0000 (0:00:00.045) 0:00:19.219 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659543757.0015843, "block_size": 4096, "blocks": 8, "ctime": 1659543756.9525843, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17604258, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659543756.9525843, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-rpltstbr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 222, "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/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:22:39 +0000 (0:00:00.417) 0:00:19.636 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:22:39 +0000 (0:00:00.048) 0:00:19.684 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep rpltstbr | grep /etc", "delta": "0:00:00.018964", "end": "2022-08-03 12:22:39.193306", "rc": 0, "start": "2022-08-03 12:22:39.174342" } STDOUT: rpltstbr /etc/sysconfig/network-scripts/ifcfg-rpltstbr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:22:40 +0000 (0:00:00.394) 0:00:20.079 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-rpltstbr] *********************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:22:40 +0000 (0:00:00.048) 0:00:20.127 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-rpltstbr] ******************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:22:40 +0000 (0:00:00.039) 0:00:20.166 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'rpltstbr' is present] ******************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:22:40 +0000 (0:00:00.038) 0:00:20.205 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'rpltstbr' is present] ************ task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:22:40 +0000 (0:00:00.048) 0:00:20.253 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get network_connections output] ****************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:37 Wednesday 03 August 2022 16:22:40 +0000 (0:00:00.049) 0:00:20.303 ****** changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ip": { "address": [ "192.0.2.72/31" ], "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519 [004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519 (is-modified) [005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied TASK [Show test_module_run] **************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:52 Wednesday 03 August 2022 16:22:40 +0000 (0:00:00.486) 0:00:20.789 ****** ok: [/cache/rhel-8.qcow2] => { "test_module_run": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ip": { "address": [ "192.0.2.72/31" ], "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519 (is-modified)\n[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 2ca1a992-dd9c-47cc-bdb4-ab0b6b23a519 (is-modified)", "[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied" ] } } TASK [Assert that reapply is found in log output] ****************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:55 Wednesday 03 August 2022 16:22:40 +0000 (0:00:00.046) 0:00:20.836 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network_connections] *************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:62 Wednesday 03 August 2022 16:22:40 +0000 (0:00:00.043) 0:00:20.880 ****** fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: missing required arguments: __header ...ignoring TASK [command] ***************************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:68 Wednesday 03 August 2022 16:22:41 +0000 (0:00:00.455) 0:00:21.336 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "ip", "link", "del", "rpltstbr" ], "delta": "0:00:00.035534", "end": "2022-08-03 12:22:40.857526", "rc": 0, "start": "2022-08-03 12:22:40.821992" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=59 changed=5 unreachable=0 failed=0 skipped=27 rescued=0 ignored=1 Wednesday 03 August 2022 16:22:41 +0000 (0:00:00.428) 0:00:21.764 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 set up internal repositories -------------------------------------------- 1.26s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.14s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpzotb0bdj/tests/network/tests_reapply_nm.yml:5 ------------------------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:7 ------------------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.79s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Enable EPEL 8 ----------------------------------------------------------- 0.76s /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:17 ----------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.58s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.54s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.54s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.53s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.51s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Get network_connections output ------------------------------------------ 0.49s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:37 ----------------- Get stats of system files ----------------------------------------------- 0.48s /tmp/tmpzotb0bdj/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.47s /tmp/tmpzotb0bdj/tests/network/_backup.yml:19 --------------------------------- fedora.linux_system_roles.network_connections --------------------------- 0.46s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:62 ----------------- command ----------------------------------------------------------------- 0.43s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:68 ----------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpzotb0bdj/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpzotb0bdj/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:22:41 +0000 (0:00:00.046) 0:00:21.810 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006105", "end": "2022-08-03 12:22:41.309948", "rc": 0, "start": "2022-08-03 12:22:41.303843" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=60 changed=6 unreachable=0 failed=0 skipped=27 rescued=0 ignored=1 Wednesday 03 August 2022 16:22:42 +0000 (0:00:00.405) 0:00:22.216 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 set up internal repositories -------------------------------------------- 1.26s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.14s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpzotb0bdj/tests/network/tests_reapply_nm.yml:5 ------------------------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:7 ------------------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.79s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Enable EPEL 8 ----------------------------------------------------------- 0.76s /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:17 ----------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.58s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.54s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.54s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.53s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.51s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Get network_connections output ------------------------------------------ 0.49s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:37 ----------------- Get stats of system files ----------------------------------------------- 0.48s /tmp/tmpzotb0bdj/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.47s /tmp/tmpzotb0bdj/tests/network/_backup.yml:19 --------------------------------- fedora.linux_system_roles.network_connections --------------------------- 0.46s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:62 ----------------- command ----------------------------------------------------------------- 0.43s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_reapply.yml:68 -----------------