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/tmp40vowjjo executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp05ac0kav/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:6 Wednesday 03 August 2022 16:17:29 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659543448.3529353, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543448.3539355, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1127737528", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp05ac0kav/tests/_backup.yml:13 Wednesday 03 August 2022 16:17:30 +0000 (0:00:00.589) 0:00:00.607 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-9.qcow2.snap] => (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': 4210438, 'dev': 64513, 'nlink': 1, 'atime': 1659543448.3529353, 'mtime': 1659542505.0, 'ctime': 1659543448.3539355, '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': '1127737528', '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'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "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": 1659543448.3529353, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543448.3539355, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1127737528", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:19 Wednesday 03 August 2022 16:17:30 +0000 (0:00:00.034) 0:00:00.641 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003586", "end": "2022-08-03 12:17:30.089520", "rc": 0, "start": "2022-08-03 12:17:30.085934" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:17:30 +0000 (0:00:00.480) 0:00:01.122 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.48s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_regression_nm.yml ********************************************** 2 plays in /tmp/tmp05ac0kav/tests/tests_regression_nm.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/tests_regression_nm.yml:4 Wednesday 03 August 2022 16:17:30 +0000 (0:00:00.029) 0:00:01.152 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tests_regression_nm.yml:6 Wednesday 03 August 2022 16:17:31 +0000 (0:00:01.053) 0:00:02.205 ****** included: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:17:31 +0000 (0:00:00.027) 0:00:02.232 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:17:31 +0000 (0:00:00.021) 0:00:02.254 ****** included: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:17:31 +0000 (0:00:00.026) 0:00:02.280 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:17:31 +0000 (0:00:00.018) 0:00:02.299 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:17:31 +0000 (0:00:00.019) 0:00:02.318 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:17:31 +0000 (0:00:00.019) 0:00:02.338 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp05ac0kav/tests/tests_regression_nm.yml:8 Wednesday 03 August 2022 16:17:31 +0000 (0:00:00.021) 0:00:02.359 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** task path: /tmp/tmp05ac0kav/tests/tests_regression_nm.yml:11 Wednesday 03 August 2022 16:17:31 +0000 (0:00:00.032) 0:00:02.392 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmp05ac0kav/tests/tests_regression_nm.yml:15 Wednesday 03 August 2022 16:17:32 +0000 (0:00:01.004) 0:00:03.396 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.009513", "end": "2022-08-03 12:17:32.746335", "rc": 0, "start": "2022-08-03 12:17:32.736822" } STDOUT: 1.39.10 META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:7 Wednesday 03 August 2022 16:17:33 +0000 (0:00:00.401) 0:00:03.798 ****** ok: [/cache/centos-9.qcow2.snap] TASK [Show test banner] ******************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:13 Wednesday 03 August 2022 16:17:34 +0000 (0:00:00.801) 0:00:04.599 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Inside states tests TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:16 Wednesday 03 August 2022 16:17:34 +0000 (0:00:00.049) 0:00:04.648 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:17:34 +0000 (0:00:00.047) 0:00:04.695 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml for /cache/centos-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:17:34 +0000 (0:00:00.057) 0:00:04.752 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003266", "end": "2022-08-03 12:17:34.123531", "rc": 0, "start": "2022-08-03 12:17:34.120265" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:17:34 +0000 (0:00:00.401) 0:00:05.154 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:17:34 +0000 (0:00:00.048) 0:00:05.203 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:17 Wednesday 03 August 2022 16:17:34 +0000 (0:00:00.045) 0:00:05.249 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_absent.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:17:34 +0000 (0:00:00.044) 0:00:05.293 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface cptstbr] ****************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:17:34 +0000 (0:00:00.047) 0:00:05.340 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface cptstbr is absent] ********************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:17:35 +0000 (0:00:00.381) 0:00:05.722 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:17:35 +0000 (0:00:00.056) 0:00:05.779 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:17:35 +0000 (0:00:00.052) 0:00:05.832 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:17:35 +0000 (0:00:00.553) 0:00:06.385 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:17:37 +0000 (0:00:01.654) 0:00:08.040 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:17:38 +0000 (0:00:01.014) 0:00:09.055 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:17:38 +0000 (0:00:00.065) 0:00:09.120 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:17:38 +0000 (0:00:00.052) 0:00:09.172 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:17:38 +0000 (0:00:00.050) 0:00:09.223 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:17:38 +0000 (0:00:00.077) 0:00:09.301 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:17:38 +0000 (0:00:00.056) 0:00:09.358 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:17:39 +0000 (0:00:00.054) 0:00:09.413 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:17:39 +0000 (0:00:00.056) 0:00:09.469 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:17:39 +0000 (0:00:00.850) 0:00:10.319 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:17:39 +0000 (0:00:00.059) 0:00:10.379 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:17:40 +0000 (0:00:00.054) 0:00:10.433 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:17:40 +0000 (0:00:00.059) 0:00:10.493 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/centos-9.qcow2.snap] => { "_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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:17:40 +0000 (0:00:00.706) 0:00:11.200 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:17:40 +0000 (0:00:00.054) 0:00:11.254 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:17:40 +0000 (0:00:00.065) 0:00:11.319 ****** ok: [/cache/centos-9.qcow2.snap] => { "__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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:17:40 +0000 (0:00:00.067) 0:00:11.387 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:17:41 +0000 (0:00:00.056) 0:00:11.443 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [install dbus-tools] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:23 Wednesday 03 August 2022 16:17:41 +0000 (0:00:00.538) 0:00:11.981 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Include network role] **************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:28 Wednesday 03 August 2022 16:17:42 +0000 (0:00:00.850) 0:00:12.832 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:17:42 +0000 (0:00:00.084) 0:00:12.916 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:17:42 +0000 (0:00:00.073) 0:00:12.990 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:17:43 +0000 (0:00:00.546) 0:00:13.536 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:17:44 +0000 (0:00:01.505) 0:00:15.042 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:17:45 +0000 (0:00:00.773) 0:00:15.815 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:17:45 +0000 (0:00:00.063) 0:00:15.879 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:17:45 +0000 (0:00:00.049) 0:00:15.929 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:17:45 +0000 (0:00:00.048) 0:00:15.977 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false, "failures": [ "No package network-scripts available." ], "rc": 1, "results": [] } MSG: Failed to install some of the specified packages TASK [network_connections] ***************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:77 Wednesday 03 August 2022 16:17:46 +0000 (0:00:00.865) 0:00:16.843 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false } MSG: missing required arguments: __header ...ignoring TASK [file] ******************************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:83 Wednesday 03 August 2022 16:17:46 +0000 (0:00:00.484) 0:00:17.328 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "path": "/etc/sysconfig/network-scripts/ifcfg-cptstbr", "state": "absent" } TASK [command] ***************************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:86 Wednesday 03 August 2022 16:17:47 +0000 (0:00:00.540) 0:00:17.869 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "cptstbr" ], "delta": "0:00:00.007997", "end": "2022-08-03 12:17:47.243338", "rc": 1, "start": "2022-08-03 12:17:47.235341" } STDERR: Cannot find device "cptstbr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=39 changed=3 unreachable=0 failed=1 skipped=18 rescued=0 ignored=2 Wednesday 03 August 2022 16:17:47 +0000 (0:00:00.392) 0:00:18.262 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.65s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.51s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp05ac0kav/tests/tests_regression_nm.yml:4 ------------------------------ linux-system-roles.network : Check which packages are installed --------- 1.01s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install NetworkManager -------------------------------------------------- 1.00s /tmp/tmp05ac0kav/tests/tests_regression_nm.yml:11 ----------------------------- linux-system-roles.network : Install packages --------------------------- 0.87s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- linux-system-roles.network : Enable and start NetworkManager ------------ 0.85s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- install dbus-tools ------------------------------------------------------ 0.85s /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:23 -------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:7 --------------- linux-system-roles.network : Check which packages are installed --------- 0.77s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.71s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.55s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.55s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - file -------------------------------------------------------------------- 0.54s /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:83 -------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.54s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- network_connections ----------------------------------------------------- 0.48s /tmp/tmp05ac0kav/tests/playbooks/tests_checkpoint_cleanup.yml:77 -------------- Back up system files ---------------------------------------------------- 0.48s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Gather current interface info ------------------------------------------- 0.40s /tmp/tmp05ac0kav/tests/playbooks/tasks/get_current_interfaces.yml:3 ----------- Get NetworkManager version ---------------------------------------------- 0.40s /tmp/tmp05ac0kav/tests/tests_regression_nm.yml:15 ----------------------------- 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/tmp40vowjjo executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpem3y1lsc/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:38:40 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659544718.2909024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544718.2909024, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210118, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "561080189", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:38:40 +0000 (0:00:00.612) 0:00:00.631 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-9.qcow2.snap] => (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': 4210118, 'dev': 64513, 'nlink': 1, 'atime': 1659544718.2909024, 'mtime': 1659543778.0, 'ctime': 1659544718.2909024, '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': '561080189', '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'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "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": 1659544718.2909024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544718.2909024, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210118, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "561080189", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:38:40 +0000 (0:00:00.036) 0:00:00.667 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004043", "end": "2022-08-03 12:38:40.057934", "rc": 0, "start": "2022-08-03 12:38:40.053891" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:38:41 +0000 (0:00:00.485) 0:00:01.153 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.61s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.49s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_regression_nm.yml ********************************************** 2 plays in /tmp/tmpem3y1lsc/tests/network/tests_regression_nm.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/tests_regression_nm.yml:4 Wednesday 03 August 2022 16:38:41 +0000 (0:00:00.035) 0:00:01.189 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_regression_nm.yml:6 Wednesday 03 August 2022 16:38:42 +0000 (0:00:01.082) 0:00:02.271 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:38:42 +0000 (0:00:00.025) 0:00:02.297 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:38:42 +0000 (0:00:00.020) 0:00:02.318 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:38:42 +0000 (0:00:00.029) 0:00:02.347 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:38:42 +0000 (0:00:00.020) 0:00:02.368 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:38:42 +0000 (0:00:00.021) 0:00:02.389 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:38:42 +0000 (0:00:00.019) 0:00:02.408 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_regression_nm.yml:8 Wednesday 03 August 2022 16:38:42 +0000 (0:00:00.021) 0:00:02.430 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_regression_nm.yml:11 Wednesday 03 August 2022 16:38:42 +0000 (0:00:00.026) 0:00:02.456 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_regression_nm.yml:15 Wednesday 03 August 2022 16:38:43 +0000 (0:00:01.070) 0:00:03.527 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.010812", "end": "2022-08-03 12:38:42.816918", "rc": 0, "start": "2022-08-03 12:38:42.806106" } STDOUT: 1.39.10 META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:7 Wednesday 03 August 2022 16:38:44 +0000 (0:00:00.405) 0:00:03.932 ****** ok: [/cache/centos-9.qcow2.snap] TASK [Show test banner] ******************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:13 Wednesday 03 August 2022 16:38:44 +0000 (0:00:00.810) 0:00:04.742 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Inside states tests TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:16 Wednesday 03 August 2022 16:38:44 +0000 (0:00:00.049) 0:00:04.791 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:38:44 +0000 (0:00:00.048) 0:00:04.839 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/centos-9.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:38:45 +0000 (0:00:00.055) 0:00:04.895 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003387", "end": "2022-08-03 12:38:44.195150", "rc": 0, "start": "2022-08-03 12:38:44.191763" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:38:45 +0000 (0:00:00.391) 0:00:05.287 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:38:45 +0000 (0:00:00.047) 0:00:05.335 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:17 Wednesday 03 August 2022 16:38:45 +0000 (0:00:00.050) 0:00:05.385 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:38:45 +0000 (0:00:00.052) 0:00:05.437 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface cptstbr] ****************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:38:45 +0000 (0:00:00.048) 0:00:05.486 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface cptstbr is absent] ********************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:38:46 +0000 (0:00:00.419) 0:00:05.906 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:38:46 +0000 (0:00:00.058) 0:00:05.964 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:38:46 +0000 (0:00:00.058) 0:00:06.022 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:38:46 +0000 (0:00:00.531) 0:00:06.553 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:38:48 +0000 (0:00:01.675) 0:00:08.229 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:38:49 +0000 (0:00:01.061) 0:00:09.290 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:38:49 +0000 (0:00:00.069) 0:00:09.360 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:38:49 +0000 (0:00:00.055) 0:00:09.415 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:38:49 +0000 (0:00:00.058) 0:00:09.474 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:38:49 +0000 (0:00:00.080) 0:00:09.554 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:38:49 +0000 (0:00:00.054) 0:00:09.609 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:38:49 +0000 (0:00:00.054) 0:00:09.663 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:38:49 +0000 (0:00:00.059) 0:00:09.723 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:38:50 +0000 (0:00:00.806) 0:00:10.529 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:38:50 +0000 (0:00:00.060) 0:00:10.590 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:38:50 +0000 (0:00:00.059) 0:00:10.649 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:38:50 +0000 (0:00:00.086) 0:00:10.736 ****** ok: [/cache/centos-9.qcow2.snap] => { "_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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:38:51 +0000 (0:00:00.732) 0:00:11.468 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:38:51 +0000 (0:00:00.066) 0:00:11.535 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:38:51 +0000 (0:00:00.094) 0:00:11.629 ****** ok: [/cache/centos-9.qcow2.snap] => { "__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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:38:51 +0000 (0:00:00.072) 0:00:11.702 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:38:51 +0000 (0:00:00.064) 0:00:11.766 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [install dbus-tools] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:23 Wednesday 03 August 2022 16:38:52 +0000 (0:00:00.557) 0:00:12.323 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Include network role] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:28 Wednesday 03 August 2022 16:38:53 +0000 (0:00:00.870) 0:00:13.193 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:38:53 +0000 (0:00:00.087) 0:00:13.281 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:38:53 +0000 (0:00:00.077) 0:00:13.358 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:38:54 +0000 (0:00:00.545) 0:00:13.904 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:38:55 +0000 (0:00:01.592) 0:00:15.497 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:38:56 +0000 (0:00:00.758) 0:00:16.255 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:38:56 +0000 (0:00:00.063) 0:00:16.318 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:38:56 +0000 (0:00:00.051) 0:00:16.370 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:38:56 +0000 (0:00:00.051) 0:00:16.422 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false, "failures": [ "No package network-scripts available." ], "rc": 1, "results": [] } MSG: Failed to install some of the specified packages TASK [fedora.linux_system_roles.network_connections] *************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:75 Wednesday 03 August 2022 16:38:57 +0000 (0:00:00.897) 0:00:17.320 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false } MSG: missing required arguments: __header ...ignoring TASK [file] ******************************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:81 Wednesday 03 August 2022 16:38:57 +0000 (0:00:00.502) 0:00:17.822 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "path": "/etc/sysconfig/network-scripts/ifcfg-cptstbr", "state": "absent" } TASK [command] ***************************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:84 Wednesday 03 August 2022 16:38:58 +0000 (0:00:00.512) 0:00:18.335 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "cptstbr" ], "delta": "0:00:00.011864", "end": "2022-08-03 12:38:57.643956", "rc": 1, "start": "2022-08-03 12:38:57.632092" } STDERR: Cannot find device "cptstbr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=39 changed=3 unreachable=0 failed=1 skipped=18 rescued=0 ignored=2 Wednesday 03 August 2022 16:38:58 +0000 (0:00:00.394) 0:00:18.729 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmpem3y1lsc/tests/network/tests_regression_nm.yml:4 ---------------------- Install NetworkManager -------------------------------------------------- 1.07s /tmp/tmpem3y1lsc/tests/network/tests_regression_nm.yml:11 --------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.06s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Install packages -------------------- 0.90s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 install dbus-tools ------------------------------------------------------ 0.87s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:23 ------ Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:7 ------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.81s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.61s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.56s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.55s /tmp/tmp40vowjjo/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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 file -------------------------------------------------------------------- 0.51s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:81 ------ fedora.linux_system_roles.network_connections --------------------------- 0.50s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_checkpoint_cleanup.yml:75 ------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Get stat for interface cptstbr ------------------------------------------ 0.42s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml:3 ------- Get NetworkManager version ---------------------------------------------- 0.41s /tmp/tmpem3y1lsc/tests/network/tests_regression_nm.yml:15 ---------------------