Formatting '/cache/centos-9.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=10737418240 backing_file=/cache/centos-9.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 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: centos-9_setup.yml *************************************************** 2 plays in /cache/centos-9_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-9_setup.yml:5 Wednesday 03 August 2022 16:00:33 +0000 (0:00:00.019) 0:00:00.019 ****** changed: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "highavailability" ], "delta": "0:00:01.426260", "end": "2022-08-03 12:00:35.633121", "rc": 0, "start": "2022-08-03 12:00:34.206861" } META: ran handlers META: ran handlers PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/centos-9_setup.yml:7 Wednesday 03 August 2022 16:00:35 +0000 (0:00:02.248) 0:00:02.268 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Create EPEL 9 repo] ****************************************************** task path: /cache/centos-9_setup.yml:11 Wednesday 03 August 2022 16:00:37 +0000 (0:00:01.119) 0:00:03.387 ****** 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 [Create yum cache] ******************************************************** task path: /cache/centos-9_setup.yml:21 Wednesday 03 August 2022 16:00:37 +0000 (0:00:00.022) 0:00:03.410 ****** 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 [Create dnf cache] ******************************************************** task path: /cache/centos-9_setup.yml:27 Wednesday 03 August 2022 16:00:37 +0000 (0:00:00.019) 0:00:03.430 ****** changed: [/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": true } TASK [Disable EPEL 7] ********************************************************** task path: /cache/centos-9_setup.yml:33 Wednesday 03 August 2022 16:00:55 +0000 (0:00:17.955) 0:00:21.386 ****** 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 [Disable EPEL 8] ********************************************************** task path: /cache/centos-9_setup.yml:41 Wednesday 03 August 2022 16:00:55 +0000 (0:00:00.025) 0:00:21.411 ****** 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 } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Wednesday 03 August 2022 16:00:55 +0000 (0:00:00.031) 0:00:21.442 ****** =============================================================================== Create dnf cache ------------------------------------------------------- 17.96s /cache/centos-9_setup.yml:27 -------------------------------------------------- Enable HA repos --------------------------------------------------------- 2.25s /cache/centos-9_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.12s /cache/centos-9_setup.yml:7 --------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-9_setup.yml:41 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.03s /cache/centos-9_setup.yml:33 -------------------------------------------------- Create EPEL 9 repo ------------------------------------------------------ 0.02s /cache/centos-9_setup.yml:11 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:21 -------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmp05ac0kav/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/setup-snapshot.yml:1 Wednesday 03 August 2022 16:00:55 +0000 (0:00:00.013) 0:00:21.456 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Set facts used by role] ************************************************** task path: /tmp/tmp05ac0kav/tests/setup-snapshot.yml:3 Wednesday 03 August 2022 16:00:55 +0000 (0:00:00.812) 0:00:22.268 ****** 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:00:55 +0000 (0:00:00.034) 0:00:22.303 ****** 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:00:56 +0000 (0:00:00.535) 0:00:22.838 ****** 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:00:58 +0000 (0:00:01.685) 0:00:24.523 ****** 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 } META: role_complete for /cache/centos-9.qcow2.snap TASK [Install test packages] *************************************************** task path: /tmp/tmp05ac0kav/tests/setup-snapshot.yml:9 Wednesday 03 August 2022 16:00:59 +0000 (0:00:01.242) 0:00:25.766 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=8 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Wednesday 03 August 2022 16:01:00 +0000 (0:00:01.072) 0:00:26.838 ****** =============================================================================== Create dnf cache ------------------------------------------------------- 17.96s /cache/centos-9_setup.yml:27 -------------------------------------------------- Enable HA repos --------------------------------------------------------- 2.25s /cache/centos-9_setup.yml:5 --------------------------------------------------- linux-system-roles.network : Check which services are running ----------- 1.69s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.24s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.12s /cache/centos-9_setup.yml:7 --------------------------------------------------- Install test packages --------------------------------------------------- 1.07s /tmp/tmp05ac0kav/tests/setup-snapshot.yml:9 ----------------------------------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp05ac0kav/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.54s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Set facts used by role -------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-9_setup.yml:41 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.03s /cache/centos-9_setup.yml:33 -------------------------------------------------- Create EPEL 9 repo ------------------------------------------------------ 0.02s /cache/centos-9_setup.yml:11 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:21 -------------------------------------------------- PLAYBOOK: centos-9_post_setup.yml ********************************************** 1 plays in /cache/centos-9_post_setup.yml PLAY [Post setup - these happen last] ****************************************** META: ran handlers TASK [force sync of filesystems - ensure setup changes are made to snapshot] *** task path: /cache/centos-9_post_setup.yml:5 Wednesday 03 August 2022 16:01:00 +0000 (0:00:00.041) 0:00:26.879 ****** changed: [/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": true } TASK [shutdown guest] ********************************************************** task path: /cache/centos-9_post_setup.yml:8 Wednesday 03 August 2022 16:01:00 +0000 (0:00:00.403) 0:00:27.282 ****** changed: [/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": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=10 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Wednesday 03 August 2022 16:01:01 +0000 (0:00:00.566) 0:00:27.849 ****** =============================================================================== Create dnf cache ------------------------------------------------------- 17.96s /cache/centos-9_setup.yml:27 -------------------------------------------------- Enable HA repos --------------------------------------------------------- 2.25s /cache/centos-9_setup.yml:5 --------------------------------------------------- linux-system-roles.network : Check which services are running ----------- 1.69s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.24s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.12s /cache/centos-9_setup.yml:7 --------------------------------------------------- Install test packages --------------------------------------------------- 1.07s /tmp/tmp05ac0kav/tests/setup-snapshot.yml:9 ----------------------------------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp05ac0kav/tests/setup-snapshot.yml:1 ----------------------------------- shutdown guest ---------------------------------------------------------- 0.57s /cache/centos-9_post_setup.yml:8 ---------------------------------------------- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.54s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - force sync of filesystems - ensure setup changes are made to snapshot --- 0.40s /cache/centos-9_post_setup.yml:5 ---------------------------------------------- Set facts used by role -------------------------------------------------- 0.03s /tmp/tmp05ac0kav/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-9_setup.yml:41 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.03s /cache/centos-9_setup.yml:33 -------------------------------------------------- Create EPEL 9 repo ------------------------------------------------------ 0.02s /cache/centos-9_setup.yml:11 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:21 -------------------------------------------------- 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:01:47 +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": 1659542505.6269355, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542505.6279354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4338794, "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.6269355, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2775974038", "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:01:47 +0000 (0:00:00.611) 0:00:00.630 ****** [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': 4338794, 'dev': 64513, 'nlink': 1, 'atime': 1659542505.6269355, 'mtime': 1659542505.6269355, 'ctime': 1659542505.6279354, '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': '2775974038', '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": 1659542505.6269355, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542505.6279354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4338794, "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.6269355, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2775974038", "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:01:47 +0000 (0:00:00.035) 0:00:00.665 ****** 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.006771", "end": "2022-08-03 12:01:47.861414", "rc": 0, "start": "2022-08-03 12:01:47.854643" } 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:01:48 +0000 (0:00:00.494) 0:00:01.160 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.61s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_802_1x_nm.yml ************************************************** 2 plays in /tmp/tmp05ac0kav/tests/tests_802_1x_nm.yml PLAY [Run playbook 'playbooks/tests_802_1x.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/tests_802_1x_nm.yml:5 Wednesday 03 August 2022 16:01:48 +0000 (0:00:00.084) 0:00:01.244 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tests_802_1x_nm.yml:8 Wednesday 03 August 2022 16:01:49 +0000 (0:00:01.229) 0:00:02.474 ****** 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:01:49 +0000 (0:00:00.026) 0:00:02.500 ****** 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:01:49 +0000 (0:00:00.021) 0:00:02.521 ****** 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:01:49 +0000 (0:00:00.027) 0:00:02.549 ****** 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:01:49 +0000 (0:00:00.019) 0:00:02.568 ****** 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:01:49 +0000 (0:00:00.018) 0:00:02.587 ****** 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:01:49 +0000 (0:00:00.018) 0:00:02.606 ****** 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_802_1x_nm.yml:9 Wednesday 03 August 2022 16:01:49 +0000 (0:00:00.018) 0:00:02.625 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:3 Wednesday 03 August 2022 16:01:49 +0000 (0:00:00.047) 0:00:02.673 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [INIT: 802.1x tests] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:7 Wednesday 03 August 2022 16:01:50 +0000 (0:00:00.819) 0:00:03.492 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:10 Wednesday 03 August 2022 16:01:50 +0000 (0:00:00.042) 0:00:03.534 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802.1x.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802.1x.yml:1 Wednesday 03 August 2022 16:01:50 +0000 (0:00:00.040) 0:00:03.575 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml for /cache/centos-9.qcow2.snap TASK [Install hostapd via CentOS Stream] *************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:4 Wednesday 03 August 2022 16:01:50 +0000 (0:00:00.054) 0:00:03.630 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install hostapd] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:11 Wednesday 03 August 2022 16:01:50 +0000 (0:00:00.040) 0:00:03.671 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: hostapd-2.10-1.el9.x86_64" ] } TASK [Create directory for test certificates] ********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:16 Wednesday 03 August 2022 16:01:54 +0000 (0:00:03.160) 0:00:06.832 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/hostapd_test", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Copy server certificates] ************************************************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:21 Wednesday 03 August 2022 16:01:54 +0000 (0:00:00.553) 0:00:07.386 ****** changed: [/cache/centos-9.qcow2.snap] => (item=server.key) => { "ansible_loop_var": "item", "changed": true, "checksum": "cdb9dc915fdc71f7fd22ad887def7ecffab6cb6e", "dest": "/etc/pki/tls/hostapd_test/server.key", "gid": 0, "group": "root", "item": "server.key", "md5sum": "cd4f4d7098e86ee9d0e88e61f0c44ec4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1659542514.7658405-61480-217001221248883/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=dh.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "bf0f85791e75de8be4c2d350f275a2ba11387409", "dest": "/etc/pki/tls/hostapd_test/dh.pem", "gid": 0, "group": "root", "item": "dh.pem", "md5sum": "4113e34f62361150e6900c737183327e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 424, "src": "/root/.ansible/tmp/ansible-tmp-1659542515.5673943-61480-138255082054204/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=server.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "8e23f3b43e1d5346659d6e46a7415d5da14128a0", "dest": "/etc/pki/tls/hostapd_test/server.pem", "gid": 0, "group": "root", "item": "server.pem", "md5sum": "7b57077d9e9aea06a4e2dd4ca1f4be7d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1659542516.247071-61480-59756546972898/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/hostapd_test/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659542516.9428725-61480-226372535738909/source", "state": "file", "uid": 0 } TASK [Create test interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:32 Wednesday 03 August 2022 16:01:57 +0000 (0:00:02.893) 0:00:10.279 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip link add veth1 type veth peer name veth1-br\nip link add veth2 type veth peer name veth2-br\n\nip link add br1 type bridge\nip link set br1 up\n\nip netns add ns1\n\nip link set veth1 netns ns1\n\nip netns exec ns1 ip addr add 203.0.113.1/24 dev veth1\n\nip link set veth1-br up\nip link set veth2-br up\n\nip link set veth1-br master br1\nip link set veth2-br master br1\n\nip netns exec ns1 ip link set veth1 up\nip link set veth2 up\n\n# Enable forwarding of EAP 802.1x messages through software bridge \"br1\".\necho 8 > /sys/class/net/br1/bridge/group_fwd_mask\n", "delta": "0:00:00.095626", "end": "2022-08-03 12:01:57.492290", "rc": 0, "start": "2022-08-03 12:01:57.396664" } TASK [Create hostapd config] *************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:59 Wednesday 03 August 2022 16:01:58 +0000 (0:00:00.508) 0:00:10.788 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "63d57fa1df50be4e935d3ebaf25081e64c6f3cce", "dest": "/etc/hostapd/wired.conf", "gid": 0, "group": "root", "md5sum": "925e7b62de46d20b695d58823d8e706b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 397, "src": "/root/.ansible/tmp/ansible-tmp-1659542518.159548-61599-19613515764048/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:80 Wednesday 03 August 2022 16:01:58 +0000 (0:00:00.690) 0:00:11.478 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "efe2ba91d712f9e07f9ad035796dc766d91b1f4e", "dest": "/etc/hostapd/hostapd.eap_user", "gid": 0, "group": "root", "md5sum": "51fa368b94ad6544dbd0ac27754ed092", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 6, "src": "/root/.ansible/tmp/ansible-tmp-1659542518.8767161-61627-159753992914245/source", "state": "file", "uid": 0 } TASK [Run hostapd in namespace] ************************************************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:87 Wednesday 03 August 2022 16:01:59 +0000 (0:00:00.714) 0:00:12.193 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.039120", "end": "2022-08-03 12:02:04.342700", "rc": 0, "start": "2022-08-03 12:01:59.303580" } STDOUT: veth1: interface state UNINITIALIZED->ENABLED veth1: AP-ENABLED TASK [Copy client certs] ******************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802.1x.yml:2 Wednesday 03 August 2022 16:02:04 +0000 (0:00:05.447) 0:00:17.640 ****** changed: [/cache/centos-9.qcow2.snap] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "checksum": "4e613674a093ce2b6f3f7838c417ae52497298d9", "dest": "/etc/pki/tls/client.key", "gid": 0, "group": "root", "item": "client.key", "md5sum": "04ac780ee7f45b957931ef5904ff1db3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1659542525.0170875-61671-71176621256012/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=client.key.nocrypt) => { "ansible_loop_var": "item", "changed": true, "checksum": "da377753604d62ad8a5da4b67cd4e98e9a66433b", "dest": "/etc/pki/tls/client.key.nocrypt", "gid": 0, "group": "root", "item": "client.key.nocrypt", "md5sum": "cd7792b2fbafd1669e6d5e519cbdb6c6", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1675, "src": "/root/.ansible/tmp/ansible-tmp-1659542525.6886516-61671-89950848595120/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "f872445a88ad99f43f281c911af2329b323c43b1", "dest": "/etc/pki/tls/client.pem", "gid": 0, "group": "root", "item": "client.pem", "md5sum": "2ee1d9c042ecfad6cb2240c0a310b993", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1659542526.3611774-61671-212990822895205/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659542527.0473468-61671-206145805322817/source", "state": "file", "uid": 0 } TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:12 Wednesday 03 August 2022 16:02:07 +0000 (0:00:02.722) 0:00:20.363 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## 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:02:07 +0000 (0:00:00.043) 0:00:20.406 ****** 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:02:07 +0000 (0:00:00.049) 0:00:20.456 ****** 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:02:08 +0000 (0:00:00.524) 0:00:20.980 ****** 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:02:09 +0000 (0:00:01.660) 0:00:22.641 ****** 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:02:10 +0000 (0:00:01.050) 0:00:23.691 ****** 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:02:11 +0000 (0:00:00.089) 0:00:23.781 ****** 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:02:11 +0000 (0:00:00.056) 0:00:23.837 ****** 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:02:11 +0000 (0:00:00.055) 0:00:23.893 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: wpa_supplicant-1:2.10-4.el9.x86_64" ] } 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:02:16 +0000 (0:00:04.995) 0:00:28.889 ****** 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:02:16 +0000 (0:00:00.056) 0:00:28.945 ****** 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:02:16 +0000 (0:00:00.056) 0:00:29.002 ****** 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:02:16 +0000 (0:00:00.061) 0:00:29.064 ****** 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:02:17 +0000 (0:00:00.866) 0:00:29.930 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice dbus.socket basic.target sysinit.target dbus-broker.service systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } 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:02:17 +0000 (0:00:00.753) 0:00:30.684 ****** 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:02:18 +0000 (0:00:00.053) 0:00:30.738 ****** 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:02:18 +0000 (0:00:00.053) 0:00:30.791 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, edac7058-7415-41d5-83fc-f03671bba7c8 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, edac7058-7415-41d5-83fc-f03671bba7c8 (not-active) 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:02:20 +0000 (0:00:02.839) 0:00:33.631 ****** 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:02:20 +0000 (0:00:00.057) 0:00:33.689 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, edac7058-7415-41d5-83fc-f03671bba7c8", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, edac7058-7415-41d5-83fc-f03671bba7c8 (not-active)" ] } 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:02:21 +0000 (0:00:00.064) 0:00:33.753 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, edac7058-7415-41d5-83fc-f03671bba7c8\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, edac7058-7415-41d5-83fc-f03671bba7c8 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, edac7058-7415-41d5-83fc-f03671bba7c8", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, edac7058-7415-41d5-83fc-f03671bba7c8 (not-active)" ] } } 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:02:21 +0000 (0:00:00.064) 0:00:33.818 ****** 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:02:21 +0000 (0:00:00.053) 0:00:33.872 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:38 Wednesday 03 August 2022 16:02:21 +0000 (0:00:00.555) 0:00:34.427 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.006058", "end": "2022-08-03 12:02:21.543165", "rc": 0, "start": "2022-08-03 12:02:21.537107" } STDOUT: PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data. 64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.085 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.085/0.085/0.085/0.000 ms 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:02:22 +0000 (0:00:00.426) 0:00:34.853 ****** 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:02:22 +0000 (0:00:00.082) 0:00:34.936 ****** 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:02:22 +0000 (0:00:00.580) 0:00:35.516 ****** 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:02:24 +0000 (0:00:01.490) 0:00:37.006 ****** 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:02:25 +0000 (0:00:00.763) 0:00:37.769 ****** 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:02:25 +0000 (0:00:00.068) 0:00:37.838 ****** 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:02:25 +0000 (0:00:00.061) 0:00:37.900 ****** 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:02:25 +0000 (0:00:00.061) 0:00:37.961 ****** 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:02:25 +0000 (0:00:00.083) 0:00:38.044 ****** 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:02:25 +0000 (0:00:00.060) 0:00:38.104 ****** 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:02:25 +0000 (0:00:00.059) 0:00:38.163 ****** 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:02:25 +0000 (0:00:00.066) 0:00:38.230 ****** 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:02:26 +0000 (0:00:00.603) 0:00:38.833 ****** 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:02:26 +0000 (0:00:00.064) 0:00:38.898 ****** 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:02:26 +0000 (0:00:00.061) 0:00:38.959 ****** 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:02:26 +0000 (0:00:00.057) 0:00:39.017 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:02:26 +0000 (0:00:00.600) 0:00:39.617 ****** 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:02:26 +0000 (0:00:00.067) 0:00:39.685 ****** 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:02:27 +0000 (0:00:00.069) 0:00:39.754 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:02:27 +0000 (0:00:00.067) 0:00:39.822 ****** 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:02:27 +0000 (0:00:00.059) 0:00:39.882 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: 802.1x profile with unencrypted private key, domain suffix match, and system ca certs] *** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:48 Wednesday 03 August 2022 16:02:27 +0000 (0:00:00.459) 0:00:40.341 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [Copy cacert to system truststore] **************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:53 Wednesday 03 August 2022 16:02:27 +0000 (0:00:00.061) 0:00:40.403 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/ca-trust/source/anchors/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659542547.7737575-62126-54086756348163/source", "state": "file", "uid": 0 } TASK [Update ca trust] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:58 Wednesday 03 August 2022 16:02:28 +0000 (0:00:00.714) 0:00:41.117 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.236582", "end": "2022-08-03 12:02:28.443821", "rc": 0, "start": "2022-08-03 12:02:28.207239" } 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:02:29 +0000 (0:00:00.637) 0:00:41.755 ****** 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:02:29 +0000 (0:00:00.079) 0:00:41.835 ****** 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:02:29 +0000 (0:00:00.536) 0:00:42.371 ****** 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:02:31 +0000 (0:00:01.524) 0:00:43.895 ****** 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:02:31 +0000 (0:00:00.747) 0:00:44.643 ****** 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:02:32 +0000 (0:00:00.073) 0:00:44.717 ****** 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:02:32 +0000 (0:00:00.061) 0:00:44.778 ****** 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:02:32 +0000 (0:00:00.068) 0:00:44.847 ****** 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:02:32 +0000 (0:00:00.079) 0:00:44.926 ****** 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:02:32 +0000 (0:00:00.106) 0:00:45.033 ****** 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:02:32 +0000 (0:00:00.066) 0:00:45.099 ****** 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:02:32 +0000 (0:00:00.062) 0:00:45.162 ****** 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:02:33 +0000 (0:00:00.557) 0:00:45.720 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ActiveEnterTimestampMonotonic": "41349140", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket system.slice dbus-broker.service sysinit.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:02:17 EDT", "AssertTimestampMonotonic": "41342002", "Before": "shutdown.target network.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "18248000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ConditionTimestampMonotonic": "41342000", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13983", "ExecMainStartTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ExecMainStartTimestampMonotonic": "41343017", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:02:17 EDT] ; stop_time=[n/a] ; pid=13983 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[Wed 2022-08-03 12:02:17 EDT] ; stop_time=[n/a] ; pid=13983 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:02:17 EDT", "InactiveExitTimestampMonotonic": "41343354", "InvocationID": "f4f21197b6584d9db7914cfa75945f23", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13983", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "2703360", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:02:17 EDT", "StateChangeTimestampMonotonic": "41349140", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } 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:02:33 +0000 (0:00:00.583) 0:00:46.304 ****** 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:02:33 +0000 (0:00:00.054) 0:00:46.358 ****** 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:02:33 +0000 (0:00:00.052) 0:00:46.411 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ], "system_ca_certs": true }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 7a2848ce-2fa5-432f-93a9-f7fd9029641f [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 7a2848ce-2fa5-432f-93a9-f7fd9029641f (is-modified) 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:02:36 +0000 (0:00:02.706) 0:00:49.118 ****** 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:02:36 +0000 (0:00:00.057) 0:00:49.176 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 7a2848ce-2fa5-432f-93a9-f7fd9029641f", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 7a2848ce-2fa5-432f-93a9-f7fd9029641f (is-modified)" ] } 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:02:36 +0000 (0:00:00.068) 0:00:49.244 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ], "system_ca_certs": true }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 7a2848ce-2fa5-432f-93a9-f7fd9029641f\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 7a2848ce-2fa5-432f-93a9-f7fd9029641f (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 7a2848ce-2fa5-432f-93a9-f7fd9029641f", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 7a2848ce-2fa5-432f-93a9-f7fd9029641f (is-modified)" ] } } 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:02:36 +0000 (0:00:00.065) 0:00:49.310 ****** 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:02:36 +0000 (0:00:00.061) 0:00:49.371 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:83 Wednesday 03 August 2022 16:02:37 +0000 (0:00:00.432) 0:00:49.804 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.003413", "end": "2022-08-03 12:02:36.924866", "rc": 0, "start": "2022-08-03 12:02:36.921453" } STDOUT: PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data. 64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.059 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.059/0.059/0.059/0.000 ms 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:02:37 +0000 (0:00:00.426) 0:00:50.230 ****** 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:02:37 +0000 (0:00:00.091) 0:00:50.322 ****** 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:02:38 +0000 (0:00:00.547) 0:00:50.870 ****** 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:02:39 +0000 (0:00:01.502) 0:00:52.373 ****** 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:02:40 +0000 (0:00:00.841) 0:00:53.215 ****** 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:02:40 +0000 (0:00:00.071) 0:00:53.286 ****** 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:02:40 +0000 (0:00:00.061) 0:00:53.347 ****** 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:02:40 +0000 (0:00:00.066) 0:00:53.414 ****** 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:02:40 +0000 (0:00:00.086) 0:00:53.501 ****** 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:02:40 +0000 (0:00:00.059) 0:00:53.560 ****** 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:02:40 +0000 (0:00:00.069) 0:00:53.630 ****** 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:02:40 +0000 (0:00:00.064) 0:00:53.694 ****** 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:02:41 +0000 (0:00:00.573) 0:00:54.268 ****** 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:02:41 +0000 (0:00:00.074) 0:00:54.342 ****** 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:02:41 +0000 (0:00:00.059) 0:00:54.402 ****** 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:02:41 +0000 (0:00:00.063) 0:00:54.465 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:02:42 +0000 (0:00:00.647) 0:00:55.113 ****** 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:02:42 +0000 (0:00:00.062) 0:00:55.175 ****** 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:02:42 +0000 (0:00:00.070) 0:00:55.246 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:02:42 +0000 (0:00:00.072) 0:00:55.319 ****** 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:02:42 +0000 (0:00:00.061) 0:00:55.380 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:94 Wednesday 03 August 2022 16:02:43 +0000 (0:00:00.409) 0:00:55.790 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml for /cache/centos-9.qcow2.snap TASK [TEST: 802.1x profile with unencrypted private key and ca_path] *********** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:2 Wednesday 03 August 2022 16:02:43 +0000 (0:00:00.105) 0:00:55.895 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:6 Wednesday 03 August 2022 16:02:43 +0000 (0:00:00.058) 0:00:55.954 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ] }, "changed": false } TASK [Create directory for ca_path test] *************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:22 Wednesday 03 August 2022 16:02:43 +0000 (0:00:00.059) 0:00:56.013 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/my_ca_certs", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Copy cacert to ca_path] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:27 Wednesday 03 August 2022 16:02:43 +0000 (0:00:00.400) 0:00:56.414 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/my_ca_certs/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659542563.8307152-62474-192893177865070/source", "state": "file", "uid": 0 } TASK [Install openssl (test dependency)] *************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:32 Wednesday 03 August 2022 16:02:44 +0000 (0:00:00.754) 0:00:57.168 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Hash cacert] ************************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:36 Wednesday 03 August 2022 16:02:45 +0000 (0:00:00.844) 0:00:58.012 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem" ], "delta": "0:00:00.058483", "end": "2022-08-03 12:02:45.165570", "rc": 0, "start": "2022-08-03 12:02:45.107087" } STDOUT: d1b7d027 TASK [Add symlink for cacert] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:41 Wednesday 03 August 2022 16:02:45 +0000 (0:00:00.466) 0:00:58.478 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "dest": "/etc/pki/tls/my_ca_certs/d1b7d027.0", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 10, "src": "cacert.pem", "state": "link", "uid": 0 } TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:46 Wednesday 03 August 2022 16:02:46 +0000 (0:00:00.423) 0:00:58.902 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.200543", "end": "2022-08-03 12:02:46.201460", "rc": 0, "start": "2022-08-03 12:02:46.000917" } STDOUT: NetworkManager-1.39.5-1.el9.x86_64 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:02:46 +0000 (0:00:00.612) 0:00:59.515 ****** 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:02:46 +0000 (0:00:00.076) 0:00:59.591 ****** 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:02:47 +0000 (0:00:00.579) 0:01:00.170 ****** 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:02:48 +0000 (0:00:01.499) 0:01:01.670 ****** 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:02:49 +0000 (0:00:00.769) 0:01:02.440 ****** 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:02:49 +0000 (0:00:00.129) 0:01:02.570 ****** 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:02:49 +0000 (0:00:00.051) 0:01:02.621 ****** 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:02:49 +0000 (0:00:00.052) 0:01:02.674 ****** 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:02:50 +0000 (0:00:00.075) 0:01:02.749 ****** 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:02:50 +0000 (0:00:00.052) 0:01:02.802 ****** 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:02:50 +0000 (0:00:00.053) 0:01:02.855 ****** 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:02:50 +0000 (0:00:00.054) 0:01:02.910 ****** 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:02:50 +0000 (0:00:00.558) 0:01:03.469 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ActiveEnterTimestampMonotonic": "41349140", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket system.slice dbus-broker.service sysinit.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:02:17 EDT", "AssertTimestampMonotonic": "41342002", "Before": "shutdown.target network.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "94841000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ConditionTimestampMonotonic": "41342000", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13983", "ExecMainStartTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ExecMainStartTimestampMonotonic": "41343017", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:02:17 EDT] ; stop_time=[n/a] ; pid=13983 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[Wed 2022-08-03 12:02:17 EDT] ; stop_time=[n/a] ; pid=13983 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:02:17 EDT", "InactiveExitTimestampMonotonic": "41343354", "InvocationID": "f4f21197b6584d9db7914cfa75945f23", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13983", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3469312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:02:17 EDT", "StateChangeTimestampMonotonic": "41349140", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } 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:02:51 +0000 (0:00:00.542) 0:01:04.011 ****** 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:02:51 +0000 (0:00:00.048) 0:01:04.060 ****** 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:02:51 +0000 (0:00:00.047) 0:01:04.108 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 68a17cad-1e93-4100-9193-3f64e0826048 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 68a17cad-1e93-4100-9193-3f64e0826048 (is-modified) 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:02:54 +0000 (0:00:02.781) 0:01:06.889 ****** 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:02:54 +0000 (0:00:00.059) 0:01:06.949 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 68a17cad-1e93-4100-9193-3f64e0826048", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 68a17cad-1e93-4100-9193-3f64e0826048 (is-modified)" ] } 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:02:54 +0000 (0:00:00.059) 0:01:07.009 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 68a17cad-1e93-4100-9193-3f64e0826048\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 68a17cad-1e93-4100-9193-3f64e0826048 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 68a17cad-1e93-4100-9193-3f64e0826048", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 68a17cad-1e93-4100-9193-3f64e0826048 (is-modified)" ] } } 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:02:54 +0000 (0:00:00.062) 0:01:07.072 ****** 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:02:54 +0000 (0:00:00.055) 0:01:07.127 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:75 Wednesday 03 August 2022 16:02:54 +0000 (0:00:00.462) 0:01:07.590 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004781", "end": "2022-08-03 12:02:54.739387", "rc": 0, "start": "2022-08-03 12:02:54.734606" } STDOUT: PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data. 64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.084 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.084/0.084/0.084/0.000 ms TASK [trigger failure in case the role did not fail] *************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:77 Wednesday 03 August 2022 16:02:55 +0000 (0:00:00.457) 0:01:08.047 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false } MSG: after test TASK [Show failed item] ******************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:81 Wednesday 03 August 2022 16:02:55 +0000 (0:00:00.057) 0:01:08.105 ****** ok: [/cache/centos-9.qcow2.snap] => (item=ansible_failed_result) => { "ansible_failed_result": { "changed": false, "failed": true, "msg": "after test" }, "ansible_loop_var": "item", "item": "ansible_failed_result" } ok: [/cache/centos-9.qcow2.snap] => (item=ansible_failed_task) => { "ansible_failed_task": { "action": "fail", "any_errors_fatal": false, "args": { "msg": "after test" }, "async": 0, "async_val": 0, "become": false, "become_exe": null, "become_flags": null, "become_method": "sudo", "become_user": null, "changed_when": [], "check_mode": false, "collections": [], "connection": "smart", "debugger": null, "delay": 5, "delegate_facts": null, "delegate_to": null, "diff": false, "environment": [ {} ], "failed_when": [], "finalized": true, "ignore_errors": null, "ignore_unreachable": null, "loop": null, "loop_control": null, "loop_with": null, "module_defaults": [], "name": "trigger failure in case the role did not fail", "no_log": null, "notify": null, "poll": 15, "port": null, "register": null, "remote_user": null, "retries": 3, "run_once": null, "squashed": true, "tags": [], "throttle": 0, "timeout": 0, "until": [], "uuid": "0a58ac36-193e-ff86-1357-00000000044c", "vars": {}, "when": [ "ansible_distribution_major_version != '6'", "ansible_distribution != 'RedHat' or ansible_distribution_major_version | int < 9" ] }, "ansible_loop_var": "item", "item": "ansible_failed_task" } ok: [/cache/centos-9.qcow2.snap] => (item=__network_NM_NVR.stdout) => { "__network_NM_NVR.stdout": "NetworkManager-1.39.5-1.el9.x86_64", "ansible_loop_var": "item", "item": "__network_NM_NVR.stdout" } ok: [/cache/centos-9.qcow2.snap] => (item=__NM_capath_ignored_NVRs) => { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ], "ansible_loop_var": "item", "item": "__NM_capath_ignored_NVRs" } TASK [Assert role behavior] **************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:91 Wednesday 03 August 2022 16:02:55 +0000 (0:00:00.106) 0:01:08.212 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert role failure] ***************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:101 Wednesday 03 August 2022 16:02:55 +0000 (0:00:00.058) 0:01:08.271 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ping succeeded] *************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:110 Wednesday 03 August 2022 16:02:55 +0000 (0:00:00.047) 0:01:08.318 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed 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:02:55 +0000 (0:00:00.062) 0:01:08.381 ****** 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:02:55 +0000 (0:00:00.082) 0:01:08.464 ****** 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:02:56 +0000 (0:00:00.537) 0:01:09.001 ****** 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:02:57 +0000 (0:00:01.501) 0:01:10.503 ****** 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:02:58 +0000 (0:00:00.768) 0:01:11.271 ****** 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:02:58 +0000 (0:00:00.061) 0:01:11.333 ****** 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:02:58 +0000 (0:00:00.056) 0:01:11.389 ****** 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:02:58 +0000 (0:00:00.055) 0:01:11.445 ****** 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:02:58 +0000 (0:00:00.082) 0:01:11.527 ****** 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:02:58 +0000 (0:00:00.057) 0:01:11.585 ****** 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:02:58 +0000 (0:00:00.056) 0:01:11.641 ****** 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:02:59 +0000 (0:00:00.089) 0:01:11.731 ****** 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:02:59 +0000 (0:00:00.549) 0:01:12.280 ****** 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:02:59 +0000 (0:00:00.065) 0:01:12.346 ****** 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:02:59 +0000 (0:00:00.055) 0:01:12.402 ****** 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:02:59 +0000 (0:00:00.058) 0:01:12.460 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" }, { "name": "br1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete 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:03:00 +0000 (0:00:00.675) 0:01:13.135 ****** 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:03:00 +0000 (0:00:00.057) 0:01:13.193 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete" ] } 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:03:00 +0000 (0:00:00.066) 0:01:13.260 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" }, { "name": "br1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete\n", "stderr_lines": [ "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete" ] } } 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:03:00 +0000 (0:00:00.067) 0:01:13.328 ****** 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:03:00 +0000 (0:00:00.057) 0:01:13.385 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:108 Wednesday 03 August 2022 16:03:01 +0000 (0:00:00.474) 0:01:13.860 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/cleanup_802_1x_server.yml for /cache/centos-9.qcow2.snap TASK [Remove test interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/cleanup_802_1x_server.yml:3 Wednesday 03 August 2022 16:03:01 +0000 (0:00:00.075) 0:01:13.935 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip netns delete ns1\nip link delete veth1-br\nip link delete veth2-br\nip link delete br1\n", "delta": "0:00:00.049650", "end": "2022-08-03 12:03:01.061469", "rc": 0, "start": "2022-08-03 12:03:01.011819" } TASK [Kill hostapd process] **************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/cleanup_802_1x_server.yml:11 Wednesday 03 August 2022 16:03:01 +0000 (0:00:00.443) 0:01:14.378 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.012670", "end": "2022-08-03 12:03:01.486651", "rc": 0, "start": "2022-08-03 12:03:01.473981" } TASK [Remove certs and config] ************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 Wednesday 03 August 2022 16:03:02 +0000 (0:00:00.416) 0:01:14.795 ****** changed: [/cache/centos-9.qcow2.snap] => (item=/etc/pki/tls/hostapd_test) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/hostapd_test", "path": "/etc/pki/tls/hostapd_test", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=/etc/hostapd/wired.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/wired.conf", "path": "/etc/hostapd/wired.conf", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=/etc/hostapd/hostapd.eap_user) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/hostapd.eap_user", "path": "/etc/hostapd/hostapd.eap_user", "state": "absent" } TASK [Remove test certificates] ************************************************ task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:109 Wednesday 03 August 2022 16:03:03 +0000 (0:00:01.112) 0:01:15.908 ****** changed: [/cache/centos-9.qcow2.snap] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "item": "client.key", "path": "/etc/pki/tls/client.key", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=client.key.nocrypt) => { "ansible_loop_var": "item", "changed": true, "item": "client.key.nocrypt", "path": "/etc/pki/tls/client.key.nocrypt", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "item": "client.pem", "path": "/etc/pki/tls/client.pem", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "item": "cacert.pem", "path": "/etc/pki/tls/cacert.pem", "state": "absent" } TASK [Remove test CA] ********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:118 Wednesday 03 August 2022 16:03:04 +0000 (0:00:01.535) 0:01:17.444 ****** changed: [/cache/centos-9.qcow2.snap] => (item=/etc/pki/tls/my_ca_certs) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/my_ca_certs", "path": "/etc/pki/tls/my_ca_certs", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=/etc/pki/ca-trust/source/anchors/cacert.pem) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/ca-trust/source/anchors/cacert.pem", "path": "/etc/pki/ca-trust/source/anchors/cacert.pem", "state": "absent" } TASK [Update ca trust] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:125 Wednesday 03 August 2022 16:03:05 +0000 (0:00:00.786) 0:01:18.231 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.230028", "end": "2022-08-03 12:03:05.565953", "rc": 0, "start": "2022-08-03 12:03:05.335925" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=109 changed=27 unreachable=0 failed=0 skipped=69 rescued=1 ignored=0 Wednesday 03 August 2022 16:03:06 +0000 (0:00:00.670) 0:01:18.901 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.45s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:87 ------------- linux-system-roles.network : Install packages --------------------------- 5.00s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- Install hostapd --------------------------------------------------------- 3.16s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:11 ------------- Copy server certificates ------------------------------------------------ 2.89s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:21 ------------- linux-system-roles.network : Configure networking connection profiles --- 2.84s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.78s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Copy client certs ------------------------------------------------------- 2.72s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802.1x.yml:2 --------------------- linux-system-roles.network : Configure networking connection profiles --- 2.71s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.66s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Remove test certificates ------------------------------------------------ 1.54s /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:109 ------------------------- linux-system-roles.network : Check which services are running ----------- 1.52s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.50s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.50s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.50s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.49s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.25s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 1.23s /tmp/tmp05ac0kav/tests/tests_802_1x_nm.yml:5 ---------------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 1.18s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Remove certs and config ------------------------------------------------- 1.11s /tmp/tmp05ac0kav/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 ----------- linux-system-roles.network : Check which packages are installed --------- 1.05s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp05ac0kav/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_restore.yml:4 Wednesday 03 August 2022 16:03:06 +0000 (0:00:00.045) 0:01:18.946 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006890", "end": "2022-08-03 12:03:06.063705", "rc": 0, "start": "2022-08-03 12:03:06.056815" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=110 changed=28 unreachable=0 failed=0 skipped=69 rescued=1 ignored=0 Wednesday 03 August 2022 16:03:06 +0000 (0:00:00.481) 0:01:19.428 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.45s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:87 ------------- linux-system-roles.network : Install packages --------------------------- 5.00s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- Install hostapd --------------------------------------------------------- 3.16s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:11 ------------- Copy server certificates ------------------------------------------------ 2.89s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:21 ------------- linux-system-roles.network : Configure networking connection profiles --- 2.84s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.78s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Copy client certs ------------------------------------------------------- 2.72s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802.1x.yml:2 --------------------- linux-system-roles.network : Configure networking connection profiles --- 2.71s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.66s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Remove test certificates ------------------------------------------------ 1.54s /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:109 ------------------------- linux-system-roles.network : Check which services are running ----------- 1.52s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.50s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.50s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.50s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.49s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.25s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 1.23s /tmp/tmp05ac0kav/tests/tests_802_1x_nm.yml:5 ---------------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 1.18s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Remove certs and config ------------------------------------------------- 1.11s /tmp/tmp05ac0kav/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 ----------- linux-system-roles.network : Check which packages are installed --------- 1.05s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.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:23:00 +0000 (0:00:00.019) 0:00:00.019 ****** 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": 1659543778.5039024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543778.5049024, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4338794, "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.5039024, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2775974038", "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:23:01 +0000 (0:00:00.611) 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': 4338794, 'dev': 64513, 'nlink': 1, 'atime': 1659543778.5039024, 'mtime': 1659543778.5039024, 'ctime': 1659543778.5049024, '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': '2775974038', '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": 1659543778.5039024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543778.5049024, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4338794, "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.5039024, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2775974038", "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:23:01 +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.007051", "end": "2022-08-03 12:23:00.794785", "rc": 0, "start": "2022-08-03 12:23:00.787734" } 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:23:01 +0000 (0:00:00.501) 0:00:01.169 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.61s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_802_1x_nm.yml ************************************************** 2 plays in /tmp/tmpem3y1lsc/tests/network/tests_802_1x_nm.yml PLAY [Run playbook 'playbooks/tests_802_1x.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/tests_802_1x_nm.yml:5 Wednesday 03 August 2022 16:23:02 +0000 (0:00:00.102) 0:00:01.271 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_802_1x_nm.yml:8 Wednesday 03 August 2022 16:23:03 +0000 (0:00:01.082) 0:00:02.354 ****** 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:23:03 +0000 (0:00:00.027) 0:00:02.381 ****** 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:23:03 +0000 (0:00:00.022) 0:00:02.404 ****** 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:23:03 +0000 (0:00:00.029) 0:00:02.433 ****** 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:23:03 +0000 (0:00:00.020) 0:00:02.453 ****** 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:23:03 +0000 (0:00:00.018) 0:00:02.472 ****** 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:23:03 +0000 (0:00:00.021) 0:00:02.494 ****** 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_802_1x_nm.yml:9 Wednesday 03 August 2022 16:23:03 +0000 (0:00:00.020) 0:00:02.514 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:3 Wednesday 03 August 2022 16:23:03 +0000 (0:00:00.048) 0:00:02.562 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [INIT: 802.1x tests] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:7 Wednesday 03 August 2022 16:23:04 +0000 (0:00:00.824) 0:00:03.387 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:10 Wednesday 03 August 2022 16:23:04 +0000 (0:00:00.044) 0:00:03.431 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802.1x.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802.1x.yml:1 Wednesday 03 August 2022 16:23:04 +0000 (0:00:00.043) 0:00:03.474 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml for /cache/centos-9.qcow2.snap TASK [Install hostapd via CentOS Stream] *************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:4 Wednesday 03 August 2022 16:23:04 +0000 (0:00:00.055) 0:00:03.530 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install hostapd] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:11 Wednesday 03 August 2022 16:23:04 +0000 (0:00:00.040) 0:00:03.571 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: hostapd-2.10-1.el9.x86_64" ] } TASK [Create directory for test certificates] ********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:16 Wednesday 03 August 2022 16:23:06 +0000 (0:00:02.026) 0:00:05.597 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/hostapd_test", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Copy server certificates] ************************************************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:21 Wednesday 03 August 2022 16:23:06 +0000 (0:00:00.551) 0:00:06.149 ****** changed: [/cache/centos-9.qcow2.snap] => (item=server.key) => { "ansible_loop_var": "item", "changed": true, "checksum": "cdb9dc915fdc71f7fd22ad887def7ecffab6cb6e", "dest": "/etc/pki/tls/hostapd_test/server.key", "gid": 0, "group": "root", "item": "server.key", "md5sum": "cd4f4d7098e86ee9d0e88e61f0c44ec4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1659543787.0367424-95154-97804675178233/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=dh.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "bf0f85791e75de8be4c2d350f275a2ba11387409", "dest": "/etc/pki/tls/hostapd_test/dh.pem", "gid": 0, "group": "root", "item": "dh.pem", "md5sum": "4113e34f62361150e6900c737183327e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 424, "src": "/root/.ansible/tmp/ansible-tmp-1659543787.8539262-95154-159190019636224/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=server.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "8e23f3b43e1d5346659d6e46a7415d5da14128a0", "dest": "/etc/pki/tls/hostapd_test/server.pem", "gid": 0, "group": "root", "item": "server.pem", "md5sum": "7b57077d9e9aea06a4e2dd4ca1f4be7d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1659543788.5195613-95154-168839081511324/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/hostapd_test/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659543789.1840672-95154-91258593280411/source", "state": "file", "uid": 0 } TASK [Create test interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:32 Wednesday 03 August 2022 16:23:09 +0000 (0:00:02.862) 0:00:09.011 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip link add veth1 type veth peer name veth1-br\nip link add veth2 type veth peer name veth2-br\n\nip link add br1 type bridge\nip link set br1 up\n\nip netns add ns1\n\nip link set veth1 netns ns1\n\nip netns exec ns1 ip addr add 203.0.113.1/24 dev veth1\n\nip link set veth1-br up\nip link set veth2-br up\n\nip link set veth1-br master br1\nip link set veth2-br master br1\n\nip netns exec ns1 ip link set veth1 up\nip link set veth2 up\n\n# Enable forwarding of EAP 802.1x messages through software bridge \"br1\".\necho 8 > /sys/class/net/br1/bridge/group_fwd_mask\n", "delta": "0:00:00.111792", "end": "2022-08-03 12:23:09.175013", "rc": 0, "start": "2022-08-03 12:23:09.063221" } TASK [Create hostapd config] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:59 Wednesday 03 August 2022 16:23:10 +0000 (0:00:00.539) 0:00:09.551 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "63d57fa1df50be4e935d3ebaf25081e64c6f3cce", "dest": "/etc/hostapd/wired.conf", "gid": 0, "group": "root", "md5sum": "925e7b62de46d20b695d58823d8e706b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 397, "src": "/root/.ansible/tmp/ansible-tmp-1659543790.428106-95273-262308448982677/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:80 Wednesday 03 August 2022 16:23:11 +0000 (0:00:00.705) 0:00:10.257 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "efe2ba91d712f9e07f9ad035796dc766d91b1f4e", "dest": "/etc/hostapd/hostapd.eap_user", "gid": 0, "group": "root", "md5sum": "51fa368b94ad6544dbd0ac27754ed092", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 6, "src": "/root/.ansible/tmp/ansible-tmp-1659543791.1601994-95301-63066902734500/source", "state": "file", "uid": 0 } TASK [Run hostapd in namespace] ************************************************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:87 Wednesday 03 August 2022 16:23:11 +0000 (0:00:00.726) 0:00:10.983 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.044869", "end": "2022-08-03 12:23:16.103027", "rc": 0, "start": "2022-08-03 12:23:11.058158" } STDOUT: veth1: interface state UNINITIALIZED->ENABLED veth1: AP-ENABLED TASK [Copy client certs] ******************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802.1x.yml:2 Wednesday 03 August 2022 16:23:17 +0000 (0:00:05.486) 0:00:16.470 ****** changed: [/cache/centos-9.qcow2.snap] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "checksum": "4e613674a093ce2b6f3f7838c417ae52497298d9", "dest": "/etc/pki/tls/client.key", "gid": 0, "group": "root", "item": "client.key", "md5sum": "04ac780ee7f45b957931ef5904ff1db3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1659543797.3513026-95345-225830518890886/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=client.key.nocrypt) => { "ansible_loop_var": "item", "changed": true, "checksum": "da377753604d62ad8a5da4b67cd4e98e9a66433b", "dest": "/etc/pki/tls/client.key.nocrypt", "gid": 0, "group": "root", "item": "client.key.nocrypt", "md5sum": "cd7792b2fbafd1669e6d5e519cbdb6c6", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1675, "src": "/root/.ansible/tmp/ansible-tmp-1659543798.0300539-95345-106266117859675/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "f872445a88ad99f43f281c911af2329b323c43b1", "dest": "/etc/pki/tls/client.pem", "gid": 0, "group": "root", "item": "client.pem", "md5sum": "2ee1d9c042ecfad6cb2240c0a310b993", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1659543798.6985872-95345-54175481139473/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659543799.3749504-95345-242384524213368/source", "state": "file", "uid": 0 } TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:12 Wednesday 03 August 2022 16:23:20 +0000 (0:00:02.741) 0:00:19.211 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## 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:23:20 +0000 (0:00:00.045) 0:00:19.256 ****** 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:23:20 +0000 (0:00:00.055) 0:00:19.312 ****** 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:23:20 +0000 (0:00:00.545) 0:00:19.858 ****** 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:23:22 +0000 (0:00:01.678) 0:00:21.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 [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:23:23 +0000 (0:00:01.039) 0:00:22.576 ****** 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:23:23 +0000 (0:00:00.118) 0:00:22.695 ****** 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:23:23 +0000 (0:00:00.056) 0:00:22.751 ****** 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:23:23 +0000 (0:00:00.056) 0:00:22.807 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: wpa_supplicant-1:2.10-4.el9.x86_64" ] } 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:23:25 +0000 (0:00:01.579) 0:00:24.386 ****** 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:23:25 +0000 (0:00:00.058) 0:00:24.445 ****** 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:23:25 +0000 (0:00:00.056) 0:00:24.501 ****** 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:23:25 +0000 (0:00:00.070) 0:00:24.572 ****** 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:23:26 +0000 (0:00:00.861) 0:00:25.433 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target system.slice dbus.socket sysinit.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } 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:23:27 +0000 (0:00:00.771) 0:00:26.204 ****** 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:23:27 +0000 (0:00:00.053) 0:00:26.258 ****** 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:23:27 +0000 (0:00:00.050) 0:00:26.309 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 3e5f879c-2ad6-421d-9f9d-1c60e65cd8c4 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 3e5f879c-2ad6-421d-9f9d-1c60e65cd8c4 (not-active) 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:23:29 +0000 (0:00:02.818) 0:00:29.127 ****** 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:23:29 +0000 (0:00:00.060) 0:00:29.187 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 3e5f879c-2ad6-421d-9f9d-1c60e65cd8c4", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 3e5f879c-2ad6-421d-9f9d-1c60e65cd8c4 (not-active)" ] } 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:23:30 +0000 (0:00:00.095) 0:00:29.283 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 3e5f879c-2ad6-421d-9f9d-1c60e65cd8c4\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 3e5f879c-2ad6-421d-9f9d-1c60e65cd8c4 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 3e5f879c-2ad6-421d-9f9d-1c60e65cd8c4", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 3e5f879c-2ad6-421d-9f9d-1c60e65cd8c4 (not-active)" ] } } 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:23:30 +0000 (0:00:00.100) 0:00:29.383 ****** 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:23:30 +0000 (0:00:00.091) 0:00:29.475 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:38 Wednesday 03 August 2022 16:23:30 +0000 (0:00:00.516) 0:00:29.992 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.005813", "end": "2022-08-03 12:23:29.999992", "rc": 0, "start": "2022-08-03 12:23:29.994179" } STDOUT: PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data. 64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.155 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.155/0.155/0.155/0.000 ms 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:23:31 +0000 (0:00:00.384) 0:00:30.376 ****** 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:23:31 +0000 (0:00:00.083) 0:00:30.460 ****** 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:23:31 +0000 (0:00:00.555) 0:00:31.015 ****** 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:23:33 +0000 (0:00:01.640) 0:00:32.656 ****** 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:23:34 +0000 (0:00:00.777) 0:00:33.434 ****** 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:23:34 +0000 (0:00:00.073) 0:00:33.507 ****** 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:23:34 +0000 (0:00:00.062) 0:00:33.570 ****** 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:23:34 +0000 (0:00:00.060) 0:00:33.630 ****** 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:23:34 +0000 (0:00:00.086) 0:00:33.717 ****** 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:23:34 +0000 (0:00:00.067) 0:00:33.784 ****** 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:23:34 +0000 (0:00:00.104) 0:00:33.888 ****** 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:23:34 +0000 (0:00:00.064) 0:00:33.953 ****** 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:23:35 +0000 (0:00:00.584) 0:00:34.537 ****** 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:23:35 +0000 (0:00:00.066) 0:00:34.603 ****** 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:23:35 +0000 (0:00:00.059) 0:00:34.663 ****** 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:23:35 +0000 (0:00:00.054) 0:00:34.717 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:23:36 +0000 (0:00:00.616) 0:00:35.334 ****** 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:23:36 +0000 (0:00:00.059) 0:00:35.394 ****** 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:23:36 +0000 (0:00:00.070) 0:00:35.465 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:23:36 +0000 (0:00:00.069) 0:00:35.534 ****** 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:23:36 +0000 (0:00:00.058) 0:00:35.592 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: 802.1x profile with unencrypted private key, domain suffix match, and system ca certs] *** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:48 Wednesday 03 August 2022 16:23:36 +0000 (0:00:00.468) 0:00:36.061 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [Copy cacert to system truststore] **************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:53 Wednesday 03 August 2022 16:23:36 +0000 (0:00:00.059) 0:00:36.120 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/ca-trust/source/anchors/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659543817.0060985-95799-222984617728104/source", "state": "file", "uid": 0 } TASK [Update ca trust] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:58 Wednesday 03 August 2022 16:23:37 +0000 (0:00:00.716) 0:00:36.837 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.242612", "end": "2022-08-03 12:23:37.094830", "rc": 0, "start": "2022-08-03 12:23:36.852218" } 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:23:38 +0000 (0:00:00.638) 0:00:37.475 ****** 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:23:38 +0000 (0:00:00.080) 0:00:37.556 ****** 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:23:38 +0000 (0:00:00.550) 0:00:38.107 ****** 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:23:40 +0000 (0:00:01.569) 0:00:39.676 ****** 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:23:41 +0000 (0:00:00.776) 0:00:40.453 ****** 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:23:41 +0000 (0:00:00.065) 0:00:40.518 ****** 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:23:41 +0000 (0:00:00.056) 0:00:40.575 ****** 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:23:41 +0000 (0:00:00.104) 0:00:40.679 ****** 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:23:41 +0000 (0:00:00.080) 0:00:40.760 ****** 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:23:41 +0000 (0:00:00.058) 0:00:40.818 ****** 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:23:41 +0000 (0:00:00.056) 0:00:40.874 ****** 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:23:41 +0000 (0:00:00.057) 0:00:40.932 ****** 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:23:42 +0000 (0:00:00.571) 0:00:41.504 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ActiveEnterTimestampMonotonic": "36812173", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-journald.socket system.slice sysinit.target dbus-broker.service basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:23:25 EDT", "AssertTimestampMonotonic": "36803966", "Before": "multi-user.target shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "20053000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ConditionTimestampMonotonic": "36803964", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13978", "ExecMainStartTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ExecMainStartTimestampMonotonic": "36805197", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:23:25 EDT] ; stop_time=[n/a] ; pid=13978 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[Wed 2022-08-03 12:23:25 EDT] ; stop_time=[n/a] ; pid=13978 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:23:25 EDT", "InactiveExitTimestampMonotonic": "36805737", "InvocationID": "77e7364154f04354bdb6fd54e115c4a5", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13978", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "2740224", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:23:25 EDT", "StateChangeTimestampMonotonic": "36812173", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } 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:23:42 +0000 (0:00:00.557) 0:00:42.061 ****** 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:23:42 +0000 (0:00:00.055) 0:00:42.117 ****** 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:23:42 +0000 (0:00:00.053) 0:00:42.170 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ], "system_ca_certs": true }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, cbf959db-91f4-47ea-95b2-6e19e1c269df [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, cbf959db-91f4-47ea-95b2-6e19e1c269df (is-modified) 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:23:45 +0000 (0:00:02.690) 0:00:44.861 ****** 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:23:45 +0000 (0:00:00.060) 0:00:44.921 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, cbf959db-91f4-47ea-95b2-6e19e1c269df", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, cbf959db-91f4-47ea-95b2-6e19e1c269df (is-modified)" ] } 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:23:45 +0000 (0:00:00.067) 0:00:44.988 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ], "system_ca_certs": true }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, cbf959db-91f4-47ea-95b2-6e19e1c269df\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, cbf959db-91f4-47ea-95b2-6e19e1c269df (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, cbf959db-91f4-47ea-95b2-6e19e1c269df", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, cbf959db-91f4-47ea-95b2-6e19e1c269df (is-modified)" ] } } 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:23:45 +0000 (0:00:00.064) 0:00:45.053 ****** 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:23:45 +0000 (0:00:00.061) 0:00:45.114 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:83 Wednesday 03 August 2022 16:23:46 +0000 (0:00:00.438) 0:00:45.552 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004327", "end": "2022-08-03 12:23:45.604908", "rc": 0, "start": "2022-08-03 12:23:45.600581" } STDOUT: PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data. 64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.089 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.089/0.089/0.089/0.000 ms 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:23:46 +0000 (0:00:00.435) 0:00:45.988 ****** 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:23:46 +0000 (0:00:00.085) 0:00:46.073 ****** 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:23:47 +0000 (0:00:00.560) 0:00:46.634 ****** 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:23:48 +0000 (0:00:01.532) 0:00:48.166 ****** 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:23:49 +0000 (0:00:00.792) 0:00:48.959 ****** 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:23:49 +0000 (0:00:00.070) 0:00:49.029 ****** 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:23:49 +0000 (0:00:00.057) 0:00:49.087 ****** 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:23:49 +0000 (0:00:00.055) 0:00:49.143 ****** 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:23:50 +0000 (0:00:00.081) 0:00:49.224 ****** 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:23:50 +0000 (0:00:00.058) 0:00:49.282 ****** 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:23:50 +0000 (0:00:00.056) 0:00:49.339 ****** 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:23:50 +0000 (0:00:00.065) 0:00:49.404 ****** 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:23:50 +0000 (0:00:00.575) 0:00:49.980 ****** 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:23:50 +0000 (0:00:00.101) 0:00:50.081 ****** 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:23:50 +0000 (0:00:00.056) 0:00:50.138 ****** 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:23:51 +0000 (0:00:00.054) 0:00:50.193 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:23:51 +0000 (0:00:00.617) 0:00:50.810 ****** 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:23:51 +0000 (0:00:00.067) 0:00:50.878 ****** 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:23:51 +0000 (0:00:00.070) 0:00:50.949 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:23:51 +0000 (0:00:00.070) 0:00:51.019 ****** 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:23:51 +0000 (0:00:00.061) 0:00:51.080 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:94 Wednesday 03 August 2022 16:23:52 +0000 (0:00:00.418) 0:00:51.499 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml for /cache/centos-9.qcow2.snap TASK [TEST: 802.1x profile with unencrypted private key and ca_path] *********** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:2 Wednesday 03 August 2022 16:23:52 +0000 (0:00:00.144) 0:00:51.644 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:6 Wednesday 03 August 2022 16:23:52 +0000 (0:00:00.057) 0:00:51.702 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ] }, "changed": false } TASK [Create directory for ca_path test] *************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:22 Wednesday 03 August 2022 16:23:52 +0000 (0:00:00.059) 0:00:51.762 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/my_ca_certs", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Copy cacert to ca_path] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:27 Wednesday 03 August 2022 16:23:52 +0000 (0:00:00.414) 0:00:52.176 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/my_ca_certs/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659543833.0568745-96147-49167082192072/source", "state": "file", "uid": 0 } TASK [Install openssl (test dependency)] *************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:32 Wednesday 03 August 2022 16:23:53 +0000 (0:00:00.714) 0:00:52.890 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Hash cacert] ************************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:36 Wednesday 03 August 2022 16:23:54 +0000 (0:00:00.864) 0:00:53.754 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem" ], "delta": "0:00:00.053502", "end": "2022-08-03 12:23:53.815282", "rc": 0, "start": "2022-08-03 12:23:53.761780" } STDOUT: d1b7d027 TASK [Add symlink for cacert] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:40 Wednesday 03 August 2022 16:23:55 +0000 (0:00:00.483) 0:00:54.238 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "dest": "/etc/pki/tls/my_ca_certs/d1b7d027.0", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 10, "src": "cacert.pem", "state": "link", "uid": 0 } TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:45 Wednesday 03 August 2022 16:23:55 +0000 (0:00:00.412) 0:00:54.650 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.184703", "end": "2022-08-03 12:23:54.865201", "rc": 0, "start": "2022-08-03 12:23:54.680498" } STDOUT: NetworkManager-1.39.5-1.el9.x86_64 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:23:56 +0000 (0:00:00.599) 0:00:55.249 ****** 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:23:56 +0000 (0:00:00.078) 0:00:55.328 ****** 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:23:56 +0000 (0:00:00.515) 0:00:55.844 ****** 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:23:59 +0000 (0:00:02.767) 0:00:58.611 ****** 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:24:00 +0000 (0:00:00.839) 0:00:59.450 ****** 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:24:00 +0000 (0:00:00.061) 0:00:59.512 ****** 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:24:00 +0000 (0:00:00.048) 0:00:59.560 ****** 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:24:00 +0000 (0:00:00.047) 0:00:59.608 ****** 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:24:00 +0000 (0:00:00.073) 0:00:59.682 ****** 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:24:00 +0000 (0:00:00.053) 0:00:59.735 ****** 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:24:00 +0000 (0:00:00.052) 0:00:59.787 ****** 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:24:00 +0000 (0:00:00.058) 0:00:59.846 ****** 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:24:01 +0000 (0:00:00.590) 0:01:00.436 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ActiveEnterTimestampMonotonic": "36812173", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-journald.socket system.slice sysinit.target dbus-broker.service basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:23:25 EDT", "AssertTimestampMonotonic": "36803966", "Before": "multi-user.target shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "99483000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ConditionTimestampMonotonic": "36803964", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13978", "ExecMainStartTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ExecMainStartTimestampMonotonic": "36805197", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:23:25 EDT] ; stop_time=[n/a] ; pid=13978 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[Wed 2022-08-03 12:23:25 EDT] ; stop_time=[n/a] ; pid=13978 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:23:25 EDT", "InactiveExitTimestampMonotonic": "36805737", "InvocationID": "77e7364154f04354bdb6fd54e115c4a5", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13978", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3510272", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:23:25 EDT", "StateChangeTimestampMonotonic": "36812173", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } 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:24:01 +0000 (0:00:00.595) 0:01:01.031 ****** 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:24:01 +0000 (0:00:00.050) 0:01:01.082 ****** 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:24:01 +0000 (0:00:00.051) 0:01:01.134 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 6ad4246d-1128-4747-ab16-46d35ee55447 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 6ad4246d-1128-4747-ab16-46d35ee55447 (is-modified) 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:24:04 +0000 (0:00:02.755) 0:01:03.889 ****** 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:24:04 +0000 (0:00:00.049) 0:01:03.939 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 6ad4246d-1128-4747-ab16-46d35ee55447", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 6ad4246d-1128-4747-ab16-46d35ee55447 (is-modified)" ] } 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:24:04 +0000 (0:00:00.056) 0:01:03.996 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 6ad4246d-1128-4747-ab16-46d35ee55447\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 6ad4246d-1128-4747-ab16-46d35ee55447 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 6ad4246d-1128-4747-ab16-46d35ee55447", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 6ad4246d-1128-4747-ab16-46d35ee55447 (is-modified)" ] } } 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:24:04 +0000 (0:00:00.088) 0:01:04.084 ****** 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:24:04 +0000 (0:00:00.085) 0:01:04.169 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:74 Wednesday 03 August 2022 16:24:05 +0000 (0:00:00.452) 0:01:04.622 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004366", "end": "2022-08-03 12:24:04.681598", "rc": 0, "start": "2022-08-03 12:24:04.677232" } STDOUT: PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data. 64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.117 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.117/0.117/0.117/0.000 ms TASK [trigger failure in case the role did not fail] *************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:76 Wednesday 03 August 2022 16:24:05 +0000 (0:00:00.443) 0:01:05.065 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false } MSG: after test TASK [Show failed item] ******************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:80 Wednesday 03 August 2022 16:24:05 +0000 (0:00:00.060) 0:01:05.126 ****** ok: [/cache/centos-9.qcow2.snap] => (item=ansible_failed_result) => { "ansible_failed_result": { "changed": false, "failed": true, "msg": "after test" }, "ansible_loop_var": "item", "item": "ansible_failed_result" } ok: [/cache/centos-9.qcow2.snap] => (item=ansible_failed_task) => { "ansible_failed_task": { "action": "fail", "any_errors_fatal": false, "args": { "msg": "after test" }, "async": 0, "async_val": 0, "become": false, "become_exe": null, "become_flags": null, "become_method": "sudo", "become_user": null, "changed_when": [], "check_mode": false, "collections": [], "connection": "smart", "debugger": null, "delay": 5, "delegate_facts": null, "delegate_to": null, "diff": false, "environment": [ {} ], "failed_when": [], "finalized": true, "ignore_errors": null, "ignore_unreachable": null, "loop": null, "loop_control": null, "loop_with": null, "module_defaults": [], "name": "trigger failure in case the role did not fail", "no_log": null, "notify": null, "poll": 15, "port": null, "register": null, "remote_user": null, "retries": 3, "run_once": null, "squashed": true, "tags": [], "throttle": 0, "timeout": 0, "until": [], "uuid": "0a58ac36-193e-961e-6dc9-00000000044c", "vars": {}, "when": [ "ansible_distribution_major_version != '6'", "ansible_distribution != 'RedHat' or ansible_distribution_major_version | int < 9" ] }, "ansible_loop_var": "item", "item": "ansible_failed_task" } ok: [/cache/centos-9.qcow2.snap] => (item=__network_NM_NVR.stdout) => { "__network_NM_NVR.stdout": "NetworkManager-1.39.5-1.el9.x86_64", "ansible_loop_var": "item", "item": "__network_NM_NVR.stdout" } ok: [/cache/centos-9.qcow2.snap] => (item=__NM_capath_ignored_NVRs) => { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ], "ansible_loop_var": "item", "item": "__NM_capath_ignored_NVRs" } TASK [Assert role behavior] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:90 Wednesday 03 August 2022 16:24:06 +0000 (0:00:00.115) 0:01:05.241 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert role failure] ***************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:97 Wednesday 03 August 2022 16:24:06 +0000 (0:00:00.062) 0:01:05.304 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ping succeeded] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:104 Wednesday 03 August 2022 16:24:06 +0000 (0:00:00.048) 0:01:05.353 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed 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:24:06 +0000 (0:00:00.059) 0:01:05.412 ****** 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:24:06 +0000 (0:00:00.078) 0:01:05.491 ****** 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:24:06 +0000 (0:00:00.557) 0:01:06.048 ****** 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:24:08 +0000 (0:00:01.566) 0:01:07.614 ****** 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:24:09 +0000 (0:00:00.754) 0:01:08.369 ****** 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:24:09 +0000 (0:00:00.067) 0:01:08.436 ****** 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:24:09 +0000 (0:00:00.057) 0:01:08.494 ****** 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:24:09 +0000 (0:00:00.092) 0:01:08.586 ****** 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:24:09 +0000 (0:00:00.080) 0:01:08.666 ****** 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:24:09 +0000 (0:00:00.061) 0:01:08.728 ****** 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:24:09 +0000 (0:00:00.061) 0:01:08.789 ****** 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:24:09 +0000 (0:00:00.057) 0:01:08.847 ****** 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:24:10 +0000 (0:00:00.587) 0:01:09.435 ****** 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:24:10 +0000 (0:00:00.059) 0:01:09.494 ****** 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:24:10 +0000 (0:00:00.052) 0:01:09.547 ****** 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:24:10 +0000 (0:00:00.050) 0:01:09.597 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" }, { "name": "br1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete 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:24:11 +0000 (0:00:00.654) 0:01:10.252 ****** 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:24:11 +0000 (0:00:00.054) 0:01:10.306 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete" ] } 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:24:11 +0000 (0:00:00.096) 0:01:10.402 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" }, { "name": "br1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete\n", "stderr_lines": [ "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete" ] } } 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:24:11 +0000 (0:00:00.104) 0:01:10.506 ****** 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:24:11 +0000 (0:00:00.056) 0:01:10.562 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:108 Wednesday 03 August 2022 16:24:11 +0000 (0:00:00.445) 0:01:11.008 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/cleanup_802_1x_server.yml for /cache/centos-9.qcow2.snap TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:3 Wednesday 03 August 2022 16:24:11 +0000 (0:00:00.079) 0:01:11.087 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip netns delete ns1\nip link delete veth1-br\nip link delete veth2-br\nip link delete br1\n", "delta": "0:00:00.050537", "end": "2022-08-03 12:24:11.180259", "rc": 0, "start": "2022-08-03 12:24:11.129722" } TASK [Kill hostapd process] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:11 Wednesday 03 August 2022 16:24:12 +0000 (0:00:00.480) 0:01:11.568 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.015203", "end": "2022-08-03 12:24:11.601682", "rc": 0, "start": "2022-08-03 12:24:11.586479" } TASK [Remove certs and config] ************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:14 Wednesday 03 August 2022 16:24:12 +0000 (0:00:00.415) 0:01:11.983 ****** changed: [/cache/centos-9.qcow2.snap] => (item=/etc/pki/tls/hostapd_test) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/hostapd_test", "path": "/etc/pki/tls/hostapd_test", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=/etc/hostapd/wired.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/wired.conf", "path": "/etc/hostapd/wired.conf", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=/etc/hostapd/hostapd.eap_user) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/hostapd.eap_user", "path": "/etc/hostapd/hostapd.eap_user", "state": "absent" } TASK [Remove test certificates] ************************************************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:109 Wednesday 03 August 2022 16:24:13 +0000 (0:00:01.185) 0:01:13.169 ****** changed: [/cache/centos-9.qcow2.snap] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "item": "client.key", "path": "/etc/pki/tls/client.key", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=client.key.nocrypt) => { "ansible_loop_var": "item", "changed": true, "item": "client.key.nocrypt", "path": "/etc/pki/tls/client.key.nocrypt", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "item": "client.pem", "path": "/etc/pki/tls/client.pem", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "item": "cacert.pem", "path": "/etc/pki/tls/cacert.pem", "state": "absent" } TASK [Remove test CA] ********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:118 Wednesday 03 August 2022 16:24:15 +0000 (0:00:01.484) 0:01:14.653 ****** changed: [/cache/centos-9.qcow2.snap] => (item=/etc/pki/tls/my_ca_certs) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/my_ca_certs", "path": "/etc/pki/tls/my_ca_certs", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=/etc/pki/ca-trust/source/anchors/cacert.pem) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/ca-trust/source/anchors/cacert.pem", "path": "/etc/pki/ca-trust/source/anchors/cacert.pem", "state": "absent" } TASK [Update ca trust] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:125 Wednesday 03 August 2022 16:24:16 +0000 (0:00:00.784) 0:01:15.437 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.239157", "end": "2022-08-03 12:24:15.698205", "rc": 0, "start": "2022-08-03 12:24:15.459048" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=109 changed=27 unreachable=0 failed=0 skipped=69 rescued=1 ignored=0 Wednesday 03 August 2022 16:24:16 +0000 (0:00:00.665) 0:01:16.102 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.49s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:87 ----- Copy server certificates ------------------------------------------------ 2.86s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:21 ----- fedora.linux_system_roles.network : Configure networking connection profiles --- 2.82s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 2.77s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.76s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Copy client certs ------------------------------------------------------- 2.74s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802.1x.yml:2 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 2.69s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install hostapd --------------------------------------------------------- 2.03s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:11 ----- 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.64s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Install packages -------------------- 1.58s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /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.57s /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.53s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Remove test certificates ------------------------------------------------ 1.48s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:109 ----------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 1.23s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Remove certs and config ------------------------------------------------- 1.19s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:14 --- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.16s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmpem3y1lsc/tests/network/tests_802_1x_nm.yml:5 -------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpem3y1lsc/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:24:16 +0000 (0:00:00.087) 0:01:16.190 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006488", "end": "2022-08-03 12:24:16.200855", "rc": 0, "start": "2022-08-03 12:24:16.194367" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=110 changed=28 unreachable=0 failed=0 skipped=69 rescued=1 ignored=0 Wednesday 03 August 2022 16:24:17 +0000 (0:00:00.413) 0:01:16.603 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.49s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:87 ----- Copy server certificates ------------------------------------------------ 2.86s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:21 ----- fedora.linux_system_roles.network : Configure networking connection profiles --- 2.82s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 2.77s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.76s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Copy client certs ------------------------------------------------------- 2.74s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802.1x.yml:2 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 2.69s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install hostapd --------------------------------------------------------- 2.03s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:11 ----- 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.64s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Install packages -------------------- 1.58s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /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.57s /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.53s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Remove test certificates ------------------------------------------------ 1.48s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:109 ----------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 1.23s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Remove certs and config ------------------------------------------------- 1.19s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:14 --- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.16s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmpem3y1lsc/tests/network/tests_802_1x_nm.yml:5 -------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14