Formatting '/cache/centos-7.qcow2c.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=8589934592 backing_file=/cache/centos-7.qcow2c 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/tmpe4dwqm__ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-7_setup.yml *************************************************** 1 plays in /cache/centos-7_setup.yml PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/centos-7_setup.yml:1 Wednesday 03 August 2022 17:07:00 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Create EPEL 7 repo] ****************************************************** task path: /cache/centos-7_setup.yml:5 Wednesday 03 August 2022 17:07:01 +0000 (0:00:01.070) 0:00:01.083 ****** changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create yum cache] ******************************************************** task path: /cache/centos-7_setup.yml:15 Wednesday 03 August 2022 17:07:03 +0000 (0:00:01.901) 0:00:02.985 ****** changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create dnf cache] ******************************************************** task path: /cache/centos-7_setup.yml:21 Wednesday 03 August 2022 17:07:24 +0000 (0:00:21.151) 0:00:24.136 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 7] ********************************************************** task path: /cache/centos-7_setup.yml:27 Wednesday 03 August 2022 17:07:24 +0000 (0:00:00.021) 0:00:24.158 ****** changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Disable EPEL 8] ********************************************************** task path: /cache/centos-7_setup.yml:35 Wednesday 03 August 2022 17:07:25 +0000 (0:00:00.485) 0:00:24.644 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=4 changed=3 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Wednesday 03 August 2022 17:07:25 +0000 (0:00:00.031) 0:00:24.676 ****** =============================================================================== Create yum cache ------------------------------------------------------- 21.15s /cache/centos-7_setup.yml:15 -------------------------------------------------- Create EPEL 7 repo ------------------------------------------------------ 1.90s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.07s /cache/centos-7_setup.yml:1 --------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.49s /cache/centos-7_setup.yml:27 -------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-7_setup.yml:35 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-7_setup.yml:21 -------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmplbj_o459/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/setup-snapshot.yml:1 Wednesday 03 August 2022 17:07:25 +0000 (0:00:00.013) 0:00:24.689 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Set facts used by role] ************************************************** task path: /tmp/tmplbj_o459/tests/setup-snapshot.yml:3 Wednesday 03 August 2022 17:07:25 +0000 (0:00:00.709) 0:00:25.398 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:07:25 +0000 (0:00:00.033) 0:00:25.431 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:07:26 +0000 (0:00:00.413) 0:00:25.844 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:07:27 +0000 (0:00:01.079) 0:00:26.924 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Install test packages] *************************************************** task path: /tmp/tmplbj_o459/tests/setup-snapshot.yml:9 Wednesday 03 August 2022 17:07:28 +0000 (0:00:01.061) 0:00:27.985 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed" ] } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=9 changed=3 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Wednesday 03 August 2022 17:07:29 +0000 (0:00:00.755) 0:00:28.741 ****** =============================================================================== Create yum cache ------------------------------------------------------- 21.15s /cache/centos-7_setup.yml:15 -------------------------------------------------- Create EPEL 7 repo ------------------------------------------------------ 1.90s /cache/centos-7_setup.yml:5 --------------------------------------------------- linux-system-roles.network : Check which services are running ----------- 1.08s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.07s /cache/centos-7_setup.yml:1 --------------------------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.06s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install test packages --------------------------------------------------- 0.76s /tmp/tmplbj_o459/tests/setup-snapshot.yml:9 ----------------------------------- Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmplbj_o459/tests/setup-snapshot.yml:1 ----------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.49s /cache/centos-7_setup.yml:27 -------------------------------------------------- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.41s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Set facts used by role -------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-7_setup.yml:35 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-7_setup.yml:21 -------------------------------------------------- PLAYBOOK: centos-7_post_setup.yml ********************************************** 1 plays in /cache/centos-7_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-7_post_setup.yml:5 Wednesday 03 August 2022 17:07:29 +0000 (0:00:00.037) 0:00:28.778 ****** changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/centos-7_post_setup.yml:8 Wednesday 03 August 2022 17:07:29 +0000 (0:00:00.380) 0:00:29.158 ****** changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=11 changed=5 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Wednesday 03 August 2022 17:07:30 +0000 (0:00:00.481) 0:00:29.640 ****** =============================================================================== Create yum cache ------------------------------------------------------- 21.15s /cache/centos-7_setup.yml:15 -------------------------------------------------- Create EPEL 7 repo ------------------------------------------------------ 1.90s /cache/centos-7_setup.yml:5 --------------------------------------------------- linux-system-roles.network : Check which services are running ----------- 1.08s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.07s /cache/centos-7_setup.yml:1 --------------------------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.06s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install test packages --------------------------------------------------- 0.76s /tmp/tmplbj_o459/tests/setup-snapshot.yml:9 ----------------------------------- Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmplbj_o459/tests/setup-snapshot.yml:1 ----------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.49s /cache/centos-7_setup.yml:27 -------------------------------------------------- shutdown guest ---------------------------------------------------------- 0.48s /cache/centos-7_post_setup.yml:8 ---------------------------------------------- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.41s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - force sync of filesystems - ensure setup changes are made to snapshot --- 0.38s /cache/centos-7_post_setup.yml:5 ---------------------------------------------- Set facts used by role -------------------------------------------------- 0.03s /tmp/tmplbj_o459/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-7_setup.yml:35 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-7_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/tmpe4dwqm__ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmplbj_o459/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmplbj_o459/tests/_backup.yml:6 Wednesday 03 August 2022 17:08:14 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659546491.9644897, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659546490.8634896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 72, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.8634896, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744073084987864", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmplbj_o459/tests/_backup.yml:13 Wednesday 03 August 2022 17:08:14 +0000 (0:00:00.582) 0:00:00.601 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659546490.8634896, 'block_size': 4096, 'inode': 72, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744073084987864', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659546491.9644897, 'isdir': False, 'ctime': 1659546490.8634896, 'isblk': False, 'wgrp': False, 'checksum': '58d0b40c7f3b3443c40de4c19aee35ddf579fd17', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659546491.9644897, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659546490.8634896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 72, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.8634896, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744073084987864", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmplbj_o459/tests/_backup.yml:19 Wednesday 03 August 2022 17:08:14 +0000 (0:00:00.035) 0:00:00.637 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.006132", "end": "2022-08-03 17:08:14.765797", "rc": 0, "start": "2022-08-03 17:08:14.759665" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:08:15 +0000 (0:00:00.420) 0:00:01.057 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.58s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.42s /tmp/tmplbj_o459/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_802_1x_nm.yml ************************************************** 2 plays in /tmp/tmplbj_o459/tests/tests_802_1x_nm.yml PLAY [Run playbook 'playbooks/tests_802_1x.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/tests_802_1x_nm.yml:5 Wednesday 03 August 2022 17:08:15 +0000 (0:00:00.083) 0:00:01.141 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_802_1x_nm.yml:8 Wednesday 03 August 2022 17:08:16 +0000 (0:00:00.967) 0:00:02.108 ****** included: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml for /cache/centos-7.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:08:16 +0000 (0:00:00.026) 0:00:02.135 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:08:16 +0000 (0:00:00.020) 0:00:02.155 ****** included: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml for /cache/centos-7.qcow2c.snap TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:08:16 +0000 (0:00:00.026) 0:00:02.182 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:08:16 +0000 (0:00:00.308) 0:00:02.491 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.273126", "end": "2022-08-03 17:08:16.967515", "rc": 0, "start": "2022-08-03 17:08:16.694389" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = 1 enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=genclo&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:08:17 +0000 (0:00:00.769) 0:00:03.260 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:08:17 +0000 (0:00:00.023) 0:00:03.284 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmplbj_o459/tests/tests_802_1x_nm.yml:9 Wednesday 03 August 2022 17:08:17 +0000 (0:00:00.021) 0:00:03.305 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:3 Wednesday 03 August 2022 17:08:17 +0000 (0:00:00.049) 0:00:03.355 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [INIT: 802.1x tests] ****************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:7 Wednesday 03 August 2022 17:08:18 +0000 (0:00:00.718) 0:00:04.073 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:10 Wednesday 03 August 2022 17:08:18 +0000 (0:00:00.044) 0:00:04.118 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802.1x.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802.1x.yml:1 Wednesday 03 August 2022 17:08:18 +0000 (0:00:00.048) 0:00:04.167 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml for /cache/centos-7.qcow2c.snap TASK [Install hostapd via CentOS Stream] *************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:4 Wednesday 03 August 2022 17:08:18 +0000 (0:00:00.051) 0:00:04.218 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install hostapd] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:11 Wednesday 03 August 2022 17:08:18 +0000 (0:00:00.036) 0:00:04.254 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "hostapd" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.umd.edu\n * epel: dl.fedoraproject.org\n * extras: mirror.math.princeton.edu\n * updates: mirror.cs.uwp.edu\nResolving Dependencies\n--> Running transaction check\n---> Package hostapd.x86_64 0:2.9-3.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n hostapd x86_64 2.9-3.el7 epel 489 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 489 k\nInstalled size: 1.2 M\nDownloading packages:\nPublic key for hostapd-2.9-3.el7.x86_64.rpm is not installed\nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : hostapd-2.9-3.el7.x86_64 1/1 \n Verifying : hostapd-2.9-3.el7.x86_64 1/1 \n\nInstalled:\n hostapd.x86_64 0:2.9-3.el7 \n\nComplete!\n" ] } MSG: warning: /var/cache/yum/x86_64/7/epel/packages/hostapd-2.9-3.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 352c64e5: NOKEY Importing GPG key 0x352C64E5: Userid : "Fedora EPEL (7) " Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5 Package : epel-release-7-14.noarch (@/epel-release-latest-7.noarch) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 TASK [Create directory for test certificates] ********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:16 Wednesday 03 August 2022 17:08:24 +0000 (0:00:05.967) 0:00:10.222 ****** changed: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:21 Wednesday 03 August 2022 17:08:24 +0000 (0:00:00.482) 0:00:10.704 ****** changed: [/cache/centos-7.qcow2c.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-1659546504.9476583-170423-219000194164486/source", "state": "file", "uid": 0 } changed: [/cache/centos-7.qcow2c.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-1659546505.6198466-170423-142962313169260/source", "state": "file", "uid": 0 } changed: [/cache/centos-7.qcow2c.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-1659546506.1663055-170423-2963555335356/source", "state": "file", "uid": 0 } changed: [/cache/centos-7.qcow2c.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-1659546506.7022145-170423-249447938492516/source", "state": "file", "uid": 0 } TASK [Create test interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:32 Wednesday 03 August 2022 17:08:27 +0000 (0:00:02.329) 0:00:13.034 ****** ok: [/cache/centos-7.qcow2c.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.115601", "end": "2022-08-03 17:08:27.205452", "rc": 0, "start": "2022-08-03 17:08:27.089851" } TASK [Create hostapd config] *************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:59 Wednesday 03 August 2022 17:08:27 +0000 (0:00:00.462) 0:00:13.496 ****** changed: [/cache/centos-7.qcow2c.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-1659546507.7425313-170542-121896844417169/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:80 Wednesday 03 August 2022 17:08:28 +0000 (0:00:00.566) 0:00:14.063 ****** changed: [/cache/centos-7.qcow2c.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-1659546508.3328257-170570-220899101585523/source", "state": "file", "uid": 0 } TASK [Run hostapd in namespace] ************************************************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:87 Wednesday 03 August 2022 17:08:28 +0000 (0:00:00.592) 0:00:14.656 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.043733", "end": "2022-08-03 17:08:33.757504", "rc": 0, "start": "2022-08-03 17:08:28.713771" } STDOUT: Configuration file: /etc/hostapd/wired.conf Using interface veth1 with hwaddr e6:b1:98:0a:06:e9 and ssid "" veth1: interface state UNINITIALIZED->ENABLED veth1: AP-ENABLED TASK [Copy client certs] ******************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802.1x.yml:2 Wednesday 03 August 2022 17:08:34 +0000 (0:00:05.390) 0:00:20.046 ****** changed: [/cache/centos-7.qcow2c.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-1659546514.2915525-170614-206107904147494/source", "state": "file", "uid": 0 } changed: [/cache/centos-7.qcow2c.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-1659546514.8458068-170614-270631020950258/source", "state": "file", "uid": 0 } changed: [/cache/centos-7.qcow2c.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-1659546515.3839216-170614-154177490739659/source", "state": "file", "uid": 0 } changed: [/cache/centos-7.qcow2c.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-1659546515.9237673-170614-143304006682772/source", "state": "file", "uid": 0 } TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:12 Wednesday 03 August 2022 17:08:36 +0000 (0:00:02.191) 0:00:22.237 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:08:36 +0000 (0:00:00.045) 0:00:22.283 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:08:36 +0000 (0:00:00.054) 0:00:22.338 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:08:36 +0000 (0:00:00.439) 0:00:22.777 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:08:38 +0000 (0:00:01.144) 0:00:23.921 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:08:39 +0000 (0:00:01.106) 0:00:25.027 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:08:39 +0000 (0:00:00.061) 0:00:25.089 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:08:39 +0000 (0:00:00.079) 0:00:25.169 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:08:39 +0000 (0:00:00.053) 0:00:25.222 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "NetworkManager" ] }, "rc": 0, "results": [ "python-gobject-base-3.22.0-1.el7_4.1.x86_64 providing python-gobject-base is already installed", "1:wpa_supplicant-2.6-12.el7_9.2.x86_64 providing wpa_supplicant is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.umd.edu\n * epel: dl.fedoraproject.org\n * extras: mirror.math.princeton.edu\n * updates: mirror.cs.uwp.edu\nResolving Dependencies\n--> Running transaction check\n---> Package NetworkManager.x86_64 1:1.18.8-2.el7_9 will be installed\n--> Processing Dependency: NetworkManager-libnm(x86-64) = 1:1.18.8-2.el7_9 for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_8_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_6_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_4_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_2_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_18_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_16_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_14_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_12_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_10_2)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_10_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_0_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0()(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Running transaction check\n---> Package NetworkManager-libnm.x86_64 1:1.18.8-2.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n NetworkManager x86_64 1:1.18.8-2.el7_9 updates 1.9 M\nInstalling for dependencies:\n NetworkManager-libnm x86_64 1:1.18.8-2.el7_9 updates 1.7 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal download size: 3.6 M\nInstalled size: 14 M\nDownloading packages:\nPublic key for NetworkManager-libnm-1.18.8-2.el7_9.x86_64.rpm is not installed\n--------------------------------------------------------------------------------\nTotal 11 MB/s | 3.6 MB 00:00 \nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : 1:NetworkManager-libnm-1.18.8-2.el7_9.x86_64 1/2 \n Installing : 1:NetworkManager-1.18.8-2.el7_9.x86_64 2/2 \n Verifying : 1:NetworkManager-1.18.8-2.el7_9.x86_64 1/2 \n Verifying : 1:NetworkManager-libnm-1.18.8-2.el7_9.x86_64 2/2 \n\nInstalled:\n NetworkManager.x86_64 1:1.18.8-2.el7_9 \n\nDependency Installed:\n NetworkManager-libnm.x86_64 1:1.18.8-2.el7_9 \n\nComplete!\n" ] } MSG: warning: /var/cache/yum/x86_64/7/updates/packages/NetworkManager-libnm-1.18.8-2.el7_9.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) " Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-9.2009.1.el7.centos.x86_64 (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:08:42 +0000 (0:00:03.011) 0:00:28.234 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:08:42 +0000 (0:00:00.055) 0:00:28.290 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:08:42 +0000 (0:00:00.054) 0:00:28.344 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:08:42 +0000 (0:00:00.056) 0:00:28.401 ****** changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:08:43 +0000 (0:00:00.787) 0:00:29.188 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "syslog.target basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/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 -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:08:43 +0000 (0:00:00.587) 0:00:29.776 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:08:44 +0000 (0:00:00.050) 0:00:29.826 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:08:44 +0000 (0:00:00.052) 0:00:29.879 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "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, 456defc8-19b5-476c-82a5-96b9b792d901 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 456defc8-19b5-476c-82a5-96b9b792d901 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:08:46 +0000 (0:00:02.451) 0:00:32.331 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:08:46 +0000 (0:00:00.054) 0:00:32.386 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 456defc8-19b5-476c-82a5-96b9b792d901", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 456defc8-19b5-476c-82a5-96b9b792d901 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:08:46 +0000 (0:00:00.060) 0:00:32.447 ****** ok: [/cache/centos-7.qcow2c.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, 456defc8-19b5-476c-82a5-96b9b792d901\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 456defc8-19b5-476c-82a5-96b9b792d901 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 456defc8-19b5-476c-82a5-96b9b792d901", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 456defc8-19b5-476c-82a5-96b9b792d901 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:08:46 +0000 (0:00:00.064) 0:00:32.511 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:08:46 +0000 (0:00:00.057) 0:00:32.569 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:38 Wednesday 03 August 2022 17:08:47 +0000 (0:00:00.497) 0:00:33.066 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.007158", "end": "2022-08-03 17:08:47.134833", "rc": 0, "start": "2022-08-03 17:08:47.127675" } 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 [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:08:47 +0000 (0:00:00.392) 0:00:33.459 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:08:47 +0000 (0:00:00.077) 0:00:33.536 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:08:48 +0000 (0:00:00.449) 0:00:33.985 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:08:49 +0000 (0:00:00.939) 0:00:34.924 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:08:49 +0000 (0:00:00.864) 0:00:35.789 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:08:50 +0000 (0:00:00.147) 0:00:35.936 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:08:50 +0000 (0:00:00.060) 0:00:35.997 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:08:50 +0000 (0:00:00.059) 0:00:36.057 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:08:50 +0000 (0:00:00.081) 0:00:36.138 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:08:50 +0000 (0:00:00.057) 0:00:36.196 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:08:50 +0000 (0:00:00.058) 0:00:36.254 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:08:50 +0000 (0:00:00.060) 0:00:36.314 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:08:50 +0000 (0:00:00.458) 0:00:36.772 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:08:51 +0000 (0:00:00.077) 0:00:36.850 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:08:51 +0000 (0:00:00.056) 0:00:36.907 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:08:51 +0000 (0:00:00.057) 0:00:36.964 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:08:51 +0000 (0:00:00.662) 0:00:37.626 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:08:51 +0000 (0:00:00.058) 0:00:37.685 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:08:52 +0000 (0:00:00.149) 0:00:37.835 ****** ok: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:08:52 +0000 (0:00:00.070) 0:00:37.906 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:08:52 +0000 (0:00:00.059) 0:00:37.965 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [TEST: 802.1x profile with unencrypted private key, domain suffix match, and system ca certs] *** task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:48 Wednesday 03 August 2022 17:08:52 +0000 (0:00:00.358) 0:00:38.323 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [Copy cacert to system truststore] **************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:53 Wednesday 03 August 2022 17:08:52 +0000 (0:00:00.058) 0:00:38.382 ****** changed: [/cache/centos-7.qcow2c.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-1659546532.6270325-171017-212602789682698/source", "state": "file", "uid": 0 } TASK [Update ca trust] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:58 Wednesday 03 August 2022 17:08:53 +0000 (0:00:00.613) 0:00:38.996 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.525446", "end": "2022-08-03 17:08:53.553671", "rc": 0, "start": "2022-08-03 17:08:53.028225" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:08:54 +0000 (0:00:00.860) 0:00:39.856 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:08:54 +0000 (0:00:00.075) 0:00:39.932 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:08:54 +0000 (0:00:00.465) 0:00:40.398 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:08:55 +0000 (0:00:00.922) 0:00:41.321 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:08:56 +0000 (0:00:00.901) 0:00:42.223 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:08:56 +0000 (0:00:00.060) 0:00:42.283 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:08:56 +0000 (0:00:00.056) 0:00:42.340 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:08:56 +0000 (0:00:00.052) 0:00:42.392 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:08:56 +0000 (0:00:00.148) 0:00:42.541 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:08:56 +0000 (0:00:00.054) 0:00:42.595 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:08:56 +0000 (0:00:00.053) 0:00:42.649 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:08:56 +0000 (0:00:00.057) 0:00:42.706 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:08:57 +0000 (0:00:00.492) 0:00:43.199 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:08:43 UTC", "ActiveEnterTimestampMonotonic": "39008420", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:08:43 UTC", "AssertTimestampMonotonic": "38964607", "Before": "network.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:08:43 UTC", "ConditionTimestampMonotonic": "38964607", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3647", "ExecMainStartTimestamp": "Wed 2022-08-03 17:08:43 UTC", "ExecMainStartTimestampMonotonic": "38966615", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:08:43 UTC] ; stop_time=[n/a] ; pid=3647 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 17:08:43 UTC", "InactiveExitTimestampMonotonic": "38966649", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "3647", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 17:08:43 UTC", "WatchdogTimestampMonotonic": "39008380", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:08:57 +0000 (0:00:00.436) 0:00:43.635 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:08:57 +0000 (0:00:00.050) 0:00:43.686 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:08:57 +0000 (0:00:00.051) 0:00:43.737 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "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, 2fd679c9-8652-46f5-a8ea-e763b7435edb [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 2fd679c9-8652-46f5-a8ea-e763b7435edb (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:09:00 +0000 (0:00:02.618) 0:00:46.356 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:09:00 +0000 (0:00:00.055) 0:00:46.411 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 2fd679c9-8652-46f5-a8ea-e763b7435edb", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 2fd679c9-8652-46f5-a8ea-e763b7435edb (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:09:00 +0000 (0:00:00.059) 0:00:46.471 ****** ok: [/cache/centos-7.qcow2c.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, 2fd679c9-8652-46f5-a8ea-e763b7435edb\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 2fd679c9-8652-46f5-a8ea-e763b7435edb (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 2fd679c9-8652-46f5-a8ea-e763b7435edb", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 2fd679c9-8652-46f5-a8ea-e763b7435edb (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:09:00 +0000 (0:00:00.079) 0:00:46.550 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:09:00 +0000 (0:00:00.061) 0:00:46.611 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:83 Wednesday 03 August 2022 17:09:01 +0000 (0:00:00.355) 0:00:46.967 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.005465", "end": "2022-08-03 17:09:01.007671", "rc": 0, "start": "2022-08-03 17:09:01.002206" } 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.072 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.072/0.072/0.072/0.000 ms TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:09:01 +0000 (0:00:00.341) 0:00:47.309 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:09:01 +0000 (0:00:00.108) 0:00:47.417 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:09:02 +0000 (0:00:00.471) 0:00:47.889 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:09:03 +0000 (0:00:00.947) 0:00:48.836 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:09:03 +0000 (0:00:00.862) 0:00:49.699 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:09:03 +0000 (0:00:00.066) 0:00:49.765 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:09:04 +0000 (0:00:00.087) 0:00:49.852 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:09:04 +0000 (0:00:00.056) 0:00:49.909 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:09:04 +0000 (0:00:00.079) 0:00:49.988 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:09:04 +0000 (0:00:00.057) 0:00:50.045 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:09:04 +0000 (0:00:00.060) 0:00:50.106 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:09:04 +0000 (0:00:00.068) 0:00:50.175 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:09:04 +0000 (0:00:00.443) 0:00:50.619 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:09:04 +0000 (0:00:00.061) 0:00:50.680 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:09:04 +0000 (0:00:00.056) 0:00:50.736 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:09:04 +0000 (0:00:00.056) 0:00:50.793 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:09:05 +0000 (0:00:00.625) 0:00:51.419 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:09:05 +0000 (0:00:00.058) 0:00:51.478 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:09:05 +0000 (0:00:00.071) 0:00:51.549 ****** ok: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:09:05 +0000 (0:00:00.101) 0:00:51.651 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:09:05 +0000 (0:00:00.104) 0:00:51.755 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:94 Wednesday 03 August 2022 17:09:06 +0000 (0:00:00.353) 0:00:52.108 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml for /cache/centos-7.qcow2c.snap TASK [TEST: 802.1x profile with unencrypted private key and ca_path] *********** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:2 Wednesday 03 August 2022 17:09:06 +0000 (0:00:00.102) 0:00:52.210 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:6 Wednesday 03 August 2022 17:09:06 +0000 (0:00:00.056) 0:00:52.267 ****** ok: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:22 Wednesday 03 August 2022 17:09:06 +0000 (0:00:00.057) 0:00:52.325 ****** changed: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:27 Wednesday 03 August 2022 17:09:06 +0000 (0:00:00.334) 0:00:52.660 ****** changed: [/cache/centos-7.qcow2c.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-1659546546.901536-171365-106099339108125/source", "state": "file", "uid": 0 } TASK [Install openssl (test dependency)] *************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:32 Wednesday 03 August 2022 17:09:07 +0000 (0:00:00.609) 0:00:53.270 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-22.el7_9.x86_64 providing openssl is already installed" ] } TASK [Hash cacert] ************************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:36 Wednesday 03 August 2022 17:09:08 +0000 (0:00:00.595) 0:00:53.865 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem" ], "delta": "0:00:00.013595", "end": "2022-08-03 17:09:07.906973", "rc": 0, "start": "2022-08-03 17:09:07.893378" } STDOUT: d1b7d027 TASK [Add symlink for cacert] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:41 Wednesday 03 August 2022 17:09:08 +0000 (0:00:00.342) 0:00:54.207 ****** changed: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:46 Wednesday 03 August 2022 17:09:08 +0000 (0:00:00.334) 0:00:54.542 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.396341", "end": "2022-08-03 17:09:08.962401", "rc": 0, "start": "2022-08-03 17:09:08.566060" } STDOUT: NetworkManager-1.18.8-2.el7_9.x86_64 TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:09:09 +0000 (0:00:00.721) 0:00:55.263 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:09:09 +0000 (0:00:00.071) 0:00:55.334 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:09:09 +0000 (0:00:00.427) 0:00:55.762 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:09:10 +0000 (0:00:00.892) 0:00:56.654 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:09:11 +0000 (0:00:00.929) 0:00:57.584 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:09:11 +0000 (0:00:00.058) 0:00:57.642 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:09:11 +0000 (0:00:00.053) 0:00:57.695 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:09:11 +0000 (0:00:00.047) 0:00:57.743 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:09:12 +0000 (0:00:00.084) 0:00:57.828 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:09:12 +0000 (0:00:00.052) 0:00:57.880 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:09:12 +0000 (0:00:00.052) 0:00:57.933 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:09:12 +0000 (0:00:00.050) 0:00:57.983 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:09:12 +0000 (0:00:00.433) 0:00:58.416 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:08:43 UTC", "ActiveEnterTimestampMonotonic": "39008420", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:08:43 UTC", "AssertTimestampMonotonic": "38964607", "Before": "network.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:08:43 UTC", "ConditionTimestampMonotonic": "38964607", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3647", "ExecMainStartTimestamp": "Wed 2022-08-03 17:08:43 UTC", "ExecMainStartTimestampMonotonic": "38966615", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:08:43 UTC] ; stop_time=[n/a] ; pid=3647 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 17:08:43 UTC", "InactiveExitTimestampMonotonic": "38966649", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "3647", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 17:08:43 UTC", "WatchdogTimestampMonotonic": "39008380", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:09:13 +0000 (0:00:00.445) 0:00:58.861 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:09:13 +0000 (0:00:00.048) 0:00:58.909 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:09:13 +0000 (0:00:00.044) 0:00:58.954 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "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, e2202be6-f35d-47d3-904a-f0f7a25ead33 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, e2202be6-f35d-47d3-904a-f0f7a25ead33 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:09:15 +0000 (0:00:02.702) 0:01:01.657 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:09:15 +0000 (0:00:00.089) 0:01:01.747 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, e2202be6-f35d-47d3-904a-f0f7a25ead33", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, e2202be6-f35d-47d3-904a-f0f7a25ead33 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:09:15 +0000 (0:00:00.057) 0:01:01.804 ****** ok: [/cache/centos-7.qcow2c.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, e2202be6-f35d-47d3-904a-f0f7a25ead33\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, e2202be6-f35d-47d3-904a-f0f7a25ead33 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, e2202be6-f35d-47d3-904a-f0f7a25ead33", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, e2202be6-f35d-47d3-904a-f0f7a25ead33 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:09:16 +0000 (0:00:00.060) 0:01:01.865 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:09:16 +0000 (0:00:00.048) 0:01:01.914 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:75 Wednesday 03 August 2022 17:09:16 +0000 (0:00:00.346) 0:01:02.260 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.006455", "end": "2022-08-03 17:09:16.292556", "rc": 0, "start": "2022-08-03 17:09:16.286101" } 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.078 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.078/0.078/0.078/0.000 ms TASK [trigger failure in case the role did not fail] *************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:77 Wednesday 03 August 2022 17:09:16 +0000 (0:00:00.332) 0:01:02.592 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false } MSG: after test TASK [Show failed item] ******************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:81 Wednesday 03 August 2022 17:09:16 +0000 (0:00:00.055) 0:01:02.648 ****** ok: [/cache/centos-7.qcow2c.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-7.qcow2c.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-78cb-5302-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-7.qcow2c.snap] => (item=__network_NM_NVR.stdout) => { "__network_NM_NVR.stdout": "NetworkManager-1.18.8-2.el7_9.x86_64", "ansible_loop_var": "item", "item": "__network_NM_NVR.stdout" } ok: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:91 Wednesday 03 August 2022 17:09:16 +0000 (0:00:00.113) 0:01:02.762 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Assert role failure] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:101 Wednesday 03 August 2022 17:09:17 +0000 (0:00:00.062) 0:01:02.824 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ping succeeded] *************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/test_802.1x_capath.yml:110 Wednesday 03 August 2022 17:09:17 +0000 (0:00:00.047) 0:01:02.871 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:09:17 +0000 (0:00:00.059) 0:01:02.931 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:09:17 +0000 (0:00:00.074) 0:01:03.005 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:09:17 +0000 (0:00:00.447) 0:01:03.453 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:09:18 +0000 (0:00:00.944) 0:01:04.397 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:09:19 +0000 (0:00:00.912) 0:01:05.309 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:09:19 +0000 (0:00:00.068) 0:01:05.378 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:09:19 +0000 (0:00:00.055) 0:01:05.433 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:09:19 +0000 (0:00:00.059) 0:01:05.493 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:09:19 +0000 (0:00:00.079) 0:01:05.572 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:09:19 +0000 (0:00:00.054) 0:01:05.627 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:09:19 +0000 (0:00:00.106) 0:01:05.734 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:09:19 +0000 (0:00:00.056) 0:01:05.791 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:09:20 +0000 (0:00:00.465) 0:01:06.256 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:09:20 +0000 (0:00:00.060) 0:01:06.316 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:09:20 +0000 (0:00:00.049) 0:01:06.365 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:09:20 +0000 (0:00:00.049) 0:01:06.415 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "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: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:09:21 +0000 (0:00:00.770) 0:01:07.186 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:09:21 +0000 (0:00:00.053) 0:01:07.240 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:09:21 +0000 (0:00:00.062) 0:01:07.302 ****** ok: [/cache/centos-7.qcow2c.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": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:09:21 +0000 (0:00:00.058) 0:01:07.361 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:09:21 +0000 (0:00:00.052) 0:01:07.413 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:108 Wednesday 03 August 2022 17:09:21 +0000 (0:00:00.395) 0:01:07.808 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_802_1x_server.yml for /cache/centos-7.qcow2c.snap TASK [Remove test interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_802_1x_server.yml:3 Wednesday 03 August 2022 17:09:22 +0000 (0:00:00.072) 0:01:07.881 ****** ok: [/cache/centos-7.qcow2c.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.060193", "end": "2022-08-03 17:09:21.970041", "rc": 0, "start": "2022-08-03 17:09:21.909848" } TASK [Kill hostapd process] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_802_1x_server.yml:11 Wednesday 03 August 2022 17:09:22 +0000 (0:00:00.394) 0:01:08.276 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.024127", "end": "2022-08-03 17:09:22.337448", "rc": 0, "start": "2022-08-03 17:09:22.313321" } TASK [Remove certs and config] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 Wednesday 03 August 2022 17:09:22 +0000 (0:00:00.368) 0:01:08.644 ****** changed: [/cache/centos-7.qcow2c.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-7.qcow2c.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-7.qcow2c.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/tmplbj_o459/tests/playbooks/tests_802_1x.yml:109 Wednesday 03 August 2022 17:09:23 +0000 (0:00:00.922) 0:01:09.567 ****** changed: [/cache/centos-7.qcow2c.snap] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "item": "client.key", "path": "/etc/pki/tls/client.key", "state": "absent" } changed: [/cache/centos-7.qcow2c.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-7.qcow2c.snap] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "item": "client.pem", "path": "/etc/pki/tls/client.pem", "state": "absent" } changed: [/cache/centos-7.qcow2c.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/tmplbj_o459/tests/playbooks/tests_802_1x.yml:118 Wednesday 03 August 2022 17:09:24 +0000 (0:00:01.238) 0:01:10.806 ****** changed: [/cache/centos-7.qcow2c.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-7.qcow2c.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/tmplbj_o459/tests/playbooks/tests_802_1x.yml:125 Wednesday 03 August 2022 17:09:25 +0000 (0:00:00.668) 0:01:11.474 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.515519", "end": "2022-08-03 17:09:26.063495", "rc": 0, "start": "2022-08-03 17:09:25.547976" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=111 changed=29 unreachable=0 failed=0 skipped=67 rescued=1 ignored=0 Wednesday 03 August 2022 17:09:26 +0000 (0:00:00.918) 0:01:12.393 ****** =============================================================================== Install hostapd --------------------------------------------------------- 5.97s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:11 ------------- Run hostapd in namespace ------------------------------------------------ 5.39s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:87 ------------- linux-system-roles.network : Install packages --------------------------- 3.01s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- linux-system-roles.network : Configure networking connection profiles --- 2.70s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.62s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.45s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Copy server certificates ------------------------------------------------ 2.33s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:21 ------------- Copy client certs ------------------------------------------------------- 2.19s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802.1x.yml:2 --------------------- linux-system-roles.network : Configure networking connection profiles --- 1.29s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Remove test certificates ------------------------------------------------ 1.24s /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:109 ------------------------- linux-system-roles.network : Check which services are running ----------- 1.14s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.11s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmplbj_o459/tests/tests_802_1x_nm.yml:5 ---------------------------------- linux-system-roles.network : Check which services are running ----------- 0.95s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.93s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Remove certs and config ------------------------------------------------- 0.92s /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 ----------- linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Update ca trust --------------------------------------------------------- 0.92s /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:125 ------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmplbj_o459/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmplbj_o459/tests/_restore.yml:4 Wednesday 03 August 2022 17:09:26 +0000 (0:00:00.040) 0:01:12.434 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006920", "end": "2022-08-03 17:09:26.455249", "rc": 0, "start": "2022-08-03 17:09:26.448329" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=112 changed=30 unreachable=0 failed=0 skipped=67 rescued=1 ignored=0 Wednesday 03 August 2022 17:09:26 +0000 (0:00:00.344) 0:01:12.778 ****** =============================================================================== Install hostapd --------------------------------------------------------- 5.97s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:11 ------------- Run hostapd in namespace ------------------------------------------------ 5.39s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:87 ------------- linux-system-roles.network : Install packages --------------------------- 3.01s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- linux-system-roles.network : Configure networking connection profiles --- 2.70s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.62s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.45s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Copy server certificates ------------------------------------------------ 2.33s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:21 ------------- Copy client certs ------------------------------------------------------- 2.19s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802.1x.yml:2 --------------------- linux-system-roles.network : Configure networking connection profiles --- 1.29s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Remove test certificates ------------------------------------------------ 1.24s /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:109 ------------------------- linux-system-roles.network : Check which services are running ----------- 1.14s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.11s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmplbj_o459/tests/tests_802_1x_nm.yml:5 ---------------------------------- linux-system-roles.network : Check which services are running ----------- 0.95s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.93s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Remove certs and config ------------------------------------------------- 0.92s /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 ----------- linux-system-roles.network : Check which services are running ----------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Update ca trust --------------------------------------------------------- 0.92s /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:125 ------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpe4dwqm__ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmppolohs8h/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmppolohs8h/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:33:27 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659548005.0413065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548002.9343066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 72, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.9343066, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744073084987864", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmppolohs8h/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:33:28 +0000 (0:00:00.521) 0:00:00.539 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659548002.9343066, 'block_size': 4096, 'inode': 72, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744073084987864', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659548005.0413065, 'isdir': False, 'ctime': 1659548002.9343066, 'isblk': False, 'wgrp': False, 'checksum': '58d0b40c7f3b3443c40de4c19aee35ddf579fd17', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659548005.0413065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548002.9343066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 72, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.9343066, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744073084987864", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmppolohs8h/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:33:28 +0000 (0:00:00.036) 0:00:00.575 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.006670", "end": "2022-08-03 17:33:28.253583", "rc": 0, "start": "2022-08-03 17:33:28.246913" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:33:28 +0000 (0:00:00.430) 0:00:01.006 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.52s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.43s /tmp/tmppolohs8h/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_802_1x_nm.yml ************************************************** 2 plays in /tmp/tmppolohs8h/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/tmppolohs8h/tests/network/tests_802_1x_nm.yml:5 Wednesday 03 August 2022 17:33:28 +0000 (0:00:00.103) 0:00:01.110 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_802_1x_nm.yml:8 Wednesday 03 August 2022 17:33:30 +0000 (0:00:01.996) 0:00:03.106 ****** included: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml for /cache/centos-7.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:33:30 +0000 (0:00:00.026) 0:00:03.133 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:33:30 +0000 (0:00:00.023) 0:00:03.156 ****** included: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml for /cache/centos-7.qcow2c.snap TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:33:30 +0000 (0:00:00.028) 0:00:03.185 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:33:31 +0000 (0:00:00.315) 0:00:03.500 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.282641", "end": "2022-08-03 17:33:31.338737", "rc": 0, "start": "2022-08-03 17:33:31.056096" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = 1 enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=genclo&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:33:31 +0000 (0:00:00.595) 0:00:04.095 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:33:31 +0000 (0:00:00.025) 0:00:04.120 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmppolohs8h/tests/network/tests_802_1x_nm.yml:9 Wednesday 03 August 2022 17:33:31 +0000 (0:00:00.030) 0:00:04.151 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:3 Wednesday 03 August 2022 17:33:31 +0000 (0:00:00.051) 0:00:04.203 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [INIT: 802.1x tests] ****************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:7 Wednesday 03 August 2022 17:33:32 +0000 (0:00:00.732) 0:00:04.936 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:10 Wednesday 03 August 2022 17:33:32 +0000 (0:00:00.051) 0:00:04.987 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802.1x.yml for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802.1x.yml:1 Wednesday 03 August 2022 17:33:32 +0000 (0:00:00.044) 0:00:05.032 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml for /cache/centos-7.qcow2c.snap TASK [Install hostapd via CentOS Stream] *************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:4 Wednesday 03 August 2022 17:33:32 +0000 (0:00:00.048) 0:00:05.081 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install hostapd] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:11 Wednesday 03 August 2022 17:33:32 +0000 (0:00:00.038) 0:00:05.119 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "hostapd" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.umd.edu\n * epel: dl.fedoraproject.org\n * extras: mirror.math.princeton.edu\n * updates: mirror.cs.uwp.edu\nResolving Dependencies\n--> Running transaction check\n---> Package hostapd.x86_64 0:2.9-3.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n hostapd x86_64 2.9-3.el7 epel 489 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 489 k\nInstalled size: 1.2 M\nDownloading packages:\nPublic key for hostapd-2.9-3.el7.x86_64.rpm is not installed\nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : hostapd-2.9-3.el7.x86_64 1/1 \n Verifying : hostapd-2.9-3.el7.x86_64 1/1 \n\nInstalled:\n hostapd.x86_64 0:2.9-3.el7 \n\nComplete!\n" ] } MSG: warning: /var/cache/yum/x86_64/7/epel/packages/hostapd-2.9-3.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 352c64e5: NOKEY Importing GPG key 0x352C64E5: Userid : "Fedora EPEL (7) " Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5 Package : epel-release-7-14.noarch (@/epel-release-latest-7.noarch) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 TASK [Create directory for test certificates] ********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:16 Wednesday 03 August 2022 17:33:35 +0000 (0:00:03.037) 0:00:08.156 ****** changed: [/cache/centos-7.qcow2c.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/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:21 Wednesday 03 August 2022 17:33:36 +0000 (0:00:00.477) 0:00:08.633 ****** changed: [/cache/centos-7.qcow2c.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-1659548016.244174-213842-221793927244314/source", "state": "file", "uid": 0 } changed: [/cache/centos-7.qcow2c.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-1659548016.9339845-213842-280085112775832/source", "state": "file", "uid": 0 } changed: [/cache/centos-7.qcow2c.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-1659548017.4927142-213842-63635771349123/source", "state": "file", "uid": 0 } changed: [/cache/centos-7.qcow2c.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-1659548018.03264-213842-228823399013337/source", "state": "file", "uid": 0 } TASK [Create test interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:32 Wednesday 03 August 2022 17:33:38 +0000 (0:00:02.379) 0:00:11.013 ****** ok: [/cache/centos-7.qcow2c.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.111728", "end": "2022-08-03 17:33:38.695117", "rc": 0, "start": "2022-08-03 17:33:38.583389" } TASK [Create hostapd config] *************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:59 Wednesday 03 August 2022 17:33:38 +0000 (0:00:00.433) 0:00:11.446 ****** changed: [/cache/centos-7.qcow2c.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-1659548019.0896044-213961-100989467097048/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:80 Wednesday 03 August 2022 17:33:39 +0000 (0:00:00.608) 0:00:12.055 ****** changed: [/cache/centos-7.qcow2c.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-1659548019.691465-213989-237597932888347/source", "state": "file", "uid": 0 } TASK [Run hostapd in namespace] ************************************************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:87 Wednesday 03 August 2022 17:33:40 +0000 (0:00:00.608) 0:00:12.663 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.041059", "end": "2022-08-03 17:33:45.307430", "rc": 0, "start": "2022-08-03 17:33:40.266371" } STDOUT: Configuration file: /etc/hostapd/wired.conf Using interface veth1 with hwaddr 16:32:ad:22:e6:43 and ssid "" veth1: interface state UNINITIALIZED->ENABLED veth1: AP-ENABLED TASK [Copy client certs] ******************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802.1x.yml:2 Wednesday 03 August 2022 17:33:45 +0000 (0:00:05.393) 0:00:18.057 ****** changed: [/cache/centos-7.qcow2c.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-1659548025.6962805-214033-191420702990449/source", "state": "file", "uid": 0 } changed: [/cache/centos-7.qcow2c.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-1659548026.228053-214033-115118465217610/source", "state": "file", "uid": 0 } changed: [/cache/centos-7.qcow2c.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-1659548026.7707007-214033-46477250980936/source", "state": "file", "uid": 0 } changed: [/cache/centos-7.qcow2c.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-1659548027.3178563-214033-102765246469567/source", "state": "file", "uid": 0 } TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:12 Wednesday 03 August 2022 17:33:47 +0000 (0:00:02.240) 0:00:20.297 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:33:47 +0000 (0:00:00.044) 0:00:20.342 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:33:47 +0000 (0:00:00.052) 0:00:20.395 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:33:48 +0000 (0:00:00.423) 0:00:20.818 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:33:49 +0000 (0:00:01.098) 0:00:21.916 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:33:50 +0000 (0:00:01.093) 0:00:23.010 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:33:50 +0000 (0:00:00.090) 0:00:23.100 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:33:50 +0000 (0:00:00.055) 0:00:23.156 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:33:50 +0000 (0:00:00.080) 0:00:23.236 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "NetworkManager" ] }, "rc": 0, "results": [ "python-gobject-base-3.22.0-1.el7_4.1.x86_64 providing python-gobject-base is already installed", "1:wpa_supplicant-2.6-12.el7_9.2.x86_64 providing wpa_supplicant is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.umd.edu\n * epel: dl.fedoraproject.org\n * extras: mirror.math.princeton.edu\n * updates: mirror.cs.uwp.edu\nResolving Dependencies\n--> Running transaction check\n---> Package NetworkManager.x86_64 1:1.18.8-2.el7_9 will be installed\n--> Processing Dependency: NetworkManager-libnm(x86-64) = 1:1.18.8-2.el7_9 for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_8_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_6_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_4_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_2_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_18_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_16_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_14_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_12_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_10_2)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_10_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0(libnm_1_0_0)(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Processing Dependency: libnm.so.0()(64bit) for package: 1:NetworkManager-1.18.8-2.el7_9.x86_64\n--> Running transaction check\n---> Package NetworkManager-libnm.x86_64 1:1.18.8-2.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n NetworkManager x86_64 1:1.18.8-2.el7_9 updates 1.9 M\nInstalling for dependencies:\n NetworkManager-libnm x86_64 1:1.18.8-2.el7_9 updates 1.7 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal download size: 3.6 M\nInstalled size: 14 M\nDownloading packages:\nPublic key for NetworkManager-libnm-1.18.8-2.el7_9.x86_64.rpm is not installed\n--------------------------------------------------------------------------------\nTotal 6.4 MB/s | 3.6 MB 00:00 \nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : 1:NetworkManager-libnm-1.18.8-2.el7_9.x86_64 1/2 \n Installing : 1:NetworkManager-1.18.8-2.el7_9.x86_64 2/2 \n Verifying : 1:NetworkManager-1.18.8-2.el7_9.x86_64 1/2 \n Verifying : 1:NetworkManager-libnm-1.18.8-2.el7_9.x86_64 2/2 \n\nInstalled:\n NetworkManager.x86_64 1:1.18.8-2.el7_9 \n\nDependency Installed:\n NetworkManager-libnm.x86_64 1:1.18.8-2.el7_9 \n\nComplete!\n" ] } MSG: warning: /var/cache/yum/x86_64/7/updates/packages/NetworkManager-libnm-1.18.8-2.el7_9.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) " Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-9.2009.1.el7.centos.x86_64 (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:33:53 +0000 (0:00:03.196) 0:00:26.433 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:33:54 +0000 (0:00:00.053) 0:00:26.486 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:33:54 +0000 (0:00:00.051) 0:00:26.537 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:33:54 +0000 (0:00:00.054) 0:00:26.592 ****** changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:33:54 +0000 (0:00:00.778) 0:00:27.370 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice syslog.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/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 -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:33:55 +0000 (0:00:00.590) 0:00:27.961 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:33:55 +0000 (0:00:00.053) 0:00:28.014 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:33:55 +0000 (0:00:00.050) 0:00:28.065 ****** changed: [/cache/centos-7.qcow2c.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, d48e959c-91e2-484a-9054-5b1acbe00252 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, d48e959c-91e2-484a-9054-5b1acbe00252 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:33:58 +0000 (0:00:02.457) 0:00:30.523 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:33:58 +0000 (0:00:00.055) 0:00:30.578 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, d48e959c-91e2-484a-9054-5b1acbe00252", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, d48e959c-91e2-484a-9054-5b1acbe00252 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:33:58 +0000 (0:00:00.065) 0:00:30.643 ****** ok: [/cache/centos-7.qcow2c.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, d48e959c-91e2-484a-9054-5b1acbe00252\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, d48e959c-91e2-484a-9054-5b1acbe00252 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, d48e959c-91e2-484a-9054-5b1acbe00252", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, d48e959c-91e2-484a-9054-5b1acbe00252 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:33:58 +0000 (0:00:00.062) 0:00:30.706 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:33:58 +0000 (0:00:00.051) 0:00:30.757 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:38 Wednesday 03 August 2022 17:33:58 +0000 (0:00:00.504) 0:00:31.262 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.007487", "end": "2022-08-03 17:33:58.837578", "rc": 0, "start": "2022-08-03 17:33:58.830091" } 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.096 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.096/0.096/0.096/0.000 ms TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:33:59 +0000 (0:00:00.334) 0:00:31.597 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:33:59 +0000 (0:00:00.077) 0:00:31.674 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:33:59 +0000 (0:00:00.453) 0:00:32.128 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:34:00 +0000 (0:00:00.949) 0:00:33.078 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:34:01 +0000 (0:00:00.887) 0:00:33.966 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:34:01 +0000 (0:00:00.160) 0:00:34.127 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:34:01 +0000 (0:00:00.063) 0:00:34.190 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:34:01 +0000 (0:00:00.061) 0:00:34.252 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:34:01 +0000 (0:00:00.081) 0:00:34.333 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:34:01 +0000 (0:00:00.060) 0:00:34.394 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:34:01 +0000 (0:00:00.066) 0:00:34.460 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:34:02 +0000 (0:00:00.061) 0:00:34.522 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:34:02 +0000 (0:00:00.453) 0:00:34.975 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:34:02 +0000 (0:00:00.064) 0:00:35.040 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:34:02 +0000 (0:00:00.064) 0:00:35.104 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:34:02 +0000 (0:00:00.057) 0:00:35.162 ****** changed: [/cache/centos-7.qcow2c.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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:34:03 +0000 (0:00:00.667) 0:00:35.830 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:34:03 +0000 (0:00:00.060) 0:00:35.890 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:34:03 +0000 (0:00:00.140) 0:00:36.030 ****** ok: [/cache/centos-7.qcow2c.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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:34:03 +0000 (0:00:00.084) 0:00:36.114 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:34:03 +0000 (0:00:00.063) 0:00:36.178 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [TEST: 802.1x profile with unencrypted private key, domain suffix match, and system ca certs] *** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:48 Wednesday 03 August 2022 17:34:04 +0000 (0:00:00.364) 0:00:36.542 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [Copy cacert to system truststore] **************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:53 Wednesday 03 August 2022 17:34:04 +0000 (0:00:00.058) 0:00:36.600 ****** changed: [/cache/centos-7.qcow2c.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-1659548044.2076352-214436-131743272380094/source", "state": "file", "uid": 0 } TASK [Update ca trust] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:58 Wednesday 03 August 2022 17:34:04 +0000 (0:00:00.607) 0:00:37.208 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.529281", "end": "2022-08-03 17:34:05.311613", "rc": 0, "start": "2022-08-03 17:34:04.782332" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:34:05 +0000 (0:00:00.866) 0:00:38.074 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:34:05 +0000 (0:00:00.090) 0:00:38.165 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:34:06 +0000 (0:00:00.474) 0:00:38.640 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:34:07 +0000 (0:00:00.987) 0:00:39.627 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:34:08 +0000 (0:00:00.897) 0:00:40.524 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:34:08 +0000 (0:00:00.063) 0:00:40.588 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:34:08 +0000 (0:00:00.054) 0:00:40.642 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:34:08 +0000 (0:00:00.053) 0:00:40.696 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:34:08 +0000 (0:00:00.077) 0:00:40.774 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:34:08 +0000 (0:00:00.055) 0:00:40.829 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:34:08 +0000 (0:00:00.056) 0:00:40.885 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:34:08 +0000 (0:00:00.088) 0:00:40.973 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:34:08 +0000 (0:00:00.448) 0:00:41.421 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:33:55 UTC", "ActiveEnterTimestampMonotonic": "38741452", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target syslog.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:33:55 UTC", "AssertTimestampMonotonic": "38704928", "Before": "multi-user.target network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:33:55 UTC", "ConditionTimestampMonotonic": "38704927", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3651", "ExecMainStartTimestamp": "Wed 2022-08-03 17:33:55 UTC", "ExecMainStartTimestampMonotonic": "38706571", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:33:55 UTC] ; stop_time=[n/a] ; pid=3651 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 17:33:55 UTC", "InactiveExitTimestampMonotonic": "38706619", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "3651", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 17:33:55 UTC", "WatchdogTimestampMonotonic": "38741421", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:34:09 +0000 (0:00:00.425) 0:00:41.847 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:34:09 +0000 (0:00:00.051) 0:00:41.898 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:34:09 +0000 (0:00:00.051) 0:00:41.949 ****** changed: [/cache/centos-7.qcow2c.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, d0a9a2a2-bb2f-4f1a-a929-2edf6f6c9aa6 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, d0a9a2a2-bb2f-4f1a-a929-2edf6f6c9aa6 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:34:12 +0000 (0:00:02.617) 0:00:44.567 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:34:12 +0000 (0:00:00.055) 0:00:44.622 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, d0a9a2a2-bb2f-4f1a-a929-2edf6f6c9aa6", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, d0a9a2a2-bb2f-4f1a-a929-2edf6f6c9aa6 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:34:12 +0000 (0:00:00.059) 0:00:44.682 ****** ok: [/cache/centos-7.qcow2c.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, d0a9a2a2-bb2f-4f1a-a929-2edf6f6c9aa6\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, d0a9a2a2-bb2f-4f1a-a929-2edf6f6c9aa6 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, d0a9a2a2-bb2f-4f1a-a929-2edf6f6c9aa6", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, d0a9a2a2-bb2f-4f1a-a929-2edf6f6c9aa6 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:34:12 +0000 (0:00:00.093) 0:00:44.775 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:34:12 +0000 (0:00:00.055) 0:00:44.831 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:83 Wednesday 03 August 2022 17:34:12 +0000 (0:00:00.421) 0:00:45.252 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.005919", "end": "2022-08-03 17:34:12.840724", "rc": 0, "start": "2022-08-03 17:34:12.834805" } 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.072 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.072/0.072/0.072/0.000 ms TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:34:13 +0000 (0:00:00.347) 0:00:45.600 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:34:13 +0000 (0:00:00.081) 0:00:45.681 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:34:13 +0000 (0:00:00.450) 0:00:46.131 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:34:14 +0000 (0:00:00.952) 0:00:47.084 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:34:15 +0000 (0:00:00.915) 0:00:48.000 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:34:15 +0000 (0:00:00.067) 0:00:48.067 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:34:15 +0000 (0:00:00.058) 0:00:48.125 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:34:15 +0000 (0:00:00.060) 0:00:48.186 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:34:15 +0000 (0:00:00.087) 0:00:48.273 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:34:15 +0000 (0:00:00.061) 0:00:48.335 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:34:15 +0000 (0:00:00.058) 0:00:48.393 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:34:15 +0000 (0:00:00.062) 0:00:48.456 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:34:16 +0000 (0:00:00.465) 0:00:48.921 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:34:16 +0000 (0:00:00.062) 0:00:48.983 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:34:16 +0000 (0:00:00.058) 0:00:49.041 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:34:16 +0000 (0:00:00.056) 0:00:49.098 ****** changed: [/cache/centos-7.qcow2c.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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:34:17 +0000 (0:00:00.695) 0:00:49.793 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:34:17 +0000 (0:00:00.059) 0:00:49.852 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:34:17 +0000 (0:00:00.071) 0:00:49.923 ****** ok: [/cache/centos-7.qcow2c.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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:34:17 +0000 (0:00:00.074) 0:00:49.998 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:34:17 +0000 (0:00:00.058) 0:00:50.057 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:94 Wednesday 03 August 2022 17:34:17 +0000 (0:00:00.370) 0:00:50.427 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml for /cache/centos-7.qcow2c.snap TASK [TEST: 802.1x profile with unencrypted private key and ca_path] *********** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:2 Wednesday 03 August 2022 17:34:18 +0000 (0:00:00.103) 0:00:50.531 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:6 Wednesday 03 August 2022 17:34:18 +0000 (0:00:00.054) 0:00:50.585 ****** ok: [/cache/centos-7.qcow2c.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/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:22 Wednesday 03 August 2022 17:34:18 +0000 (0:00:00.053) 0:00:50.638 ****** changed: [/cache/centos-7.qcow2c.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/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:27 Wednesday 03 August 2022 17:34:18 +0000 (0:00:00.344) 0:00:50.983 ****** changed: [/cache/centos-7.qcow2c.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-1659548058.6195395-214784-174277031918489/source", "state": "file", "uid": 0 } TASK [Install openssl (test dependency)] *************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:32 Wednesday 03 August 2022 17:34:19 +0000 (0:00:00.619) 0:00:51.602 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-22.el7_9.x86_64 providing openssl is already installed" ] } TASK [Hash cacert] ************************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:36 Wednesday 03 August 2022 17:34:19 +0000 (0:00:00.565) 0:00:52.168 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem" ], "delta": "0:00:00.013856", "end": "2022-08-03 17:34:19.754278", "rc": 0, "start": "2022-08-03 17:34:19.740422" } STDOUT: d1b7d027 TASK [Add symlink for cacert] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:40 Wednesday 03 August 2022 17:34:20 +0000 (0:00:00.346) 0:00:52.515 ****** changed: [/cache/centos-7.qcow2c.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/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:45 Wednesday 03 August 2022 17:34:20 +0000 (0:00:00.344) 0:00:52.860 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.412099", "end": "2022-08-03 17:34:20.845257", "rc": 0, "start": "2022-08-03 17:34:20.433158" } STDOUT: NetworkManager-1.18.8-2.el7_9.x86_64 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:34:21 +0000 (0:00:00.749) 0:00:53.609 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:34:21 +0000 (0:00:00.100) 0:00:53.710 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:34:21 +0000 (0:00:00.434) 0:00:54.145 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:34:22 +0000 (0:00:00.974) 0:00:55.119 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:34:23 +0000 (0:00:00.902) 0:00:56.022 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:34:23 +0000 (0:00:00.057) 0:00:56.079 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:34:23 +0000 (0:00:00.047) 0:00:56.127 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:34:23 +0000 (0:00:00.087) 0:00:56.215 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:34:23 +0000 (0:00:00.077) 0:00:56.292 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:34:23 +0000 (0:00:00.057) 0:00:56.350 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:34:23 +0000 (0:00:00.048) 0:00:56.399 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:34:23 +0000 (0:00:00.056) 0:00:56.455 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:34:24 +0000 (0:00:00.471) 0:00:56.927 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:33:55 UTC", "ActiveEnterTimestampMonotonic": "38741452", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target syslog.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:33:55 UTC", "AssertTimestampMonotonic": "38704928", "Before": "multi-user.target network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:33:55 UTC", "ConditionTimestampMonotonic": "38704927", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3651", "ExecMainStartTimestamp": "Wed 2022-08-03 17:33:55 UTC", "ExecMainStartTimestampMonotonic": "38706571", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:33:55 UTC] ; stop_time=[n/a] ; pid=3651 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 17:33:55 UTC", "InactiveExitTimestampMonotonic": "38706619", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "3651", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 17:33:55 UTC", "WatchdogTimestampMonotonic": "38741421", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:34:24 +0000 (0:00:00.452) 0:00:57.379 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:34:24 +0000 (0:00:00.048) 0:00:57.428 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:34:25 +0000 (0:00:00.048) 0:00:57.477 ****** changed: [/cache/centos-7.qcow2c.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, 700d4dd5-2f01-4297-8761-d9cdf25944d1 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 700d4dd5-2f01-4297-8761-d9cdf25944d1 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:34:27 +0000 (0:00:02.724) 0:01:00.202 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:34:27 +0000 (0:00:00.050) 0:01:00.252 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 700d4dd5-2f01-4297-8761-d9cdf25944d1", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 700d4dd5-2f01-4297-8761-d9cdf25944d1 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:34:27 +0000 (0:00:00.092) 0:01:00.345 ****** ok: [/cache/centos-7.qcow2c.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, 700d4dd5-2f01-4297-8761-d9cdf25944d1\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 700d4dd5-2f01-4297-8761-d9cdf25944d1 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 700d4dd5-2f01-4297-8761-d9cdf25944d1", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 700d4dd5-2f01-4297-8761-d9cdf25944d1 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:34:27 +0000 (0:00:00.056) 0:01:00.401 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:34:27 +0000 (0:00:00.049) 0:01:00.450 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:74 Wednesday 03 August 2022 17:34:28 +0000 (0:00:00.366) 0:01:00.817 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.007386", "end": "2022-08-03 17:34:28.423777", "rc": 0, "start": "2022-08-03 17:34:28.416391" } 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.121 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.121/0.121/0.121/0.000 ms TASK [trigger failure in case the role did not fail] *************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:76 Wednesday 03 August 2022 17:34:28 +0000 (0:00:00.376) 0:01:01.194 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false } MSG: after test TASK [Show failed item] ******************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:80 Wednesday 03 August 2022 17:34:28 +0000 (0:00:00.061) 0:01:01.255 ****** ok: [/cache/centos-7.qcow2c.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-7.qcow2c.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-0688-9121-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-7.qcow2c.snap] => (item=__network_NM_NVR.stdout) => { "__network_NM_NVR.stdout": "NetworkManager-1.18.8-2.el7_9.x86_64", "ansible_loop_var": "item", "item": "__network_NM_NVR.stdout" } ok: [/cache/centos-7.qcow2c.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/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:90 Wednesday 03 August 2022 17:34:28 +0000 (0:00:00.112) 0:01:01.368 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Assert role failure] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:97 Wednesday 03 August 2022 17:34:28 +0000 (0:00:00.077) 0:01:01.445 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ping succeeded] *************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/test_802.1x_capath.yml:104 Wednesday 03 August 2022 17:34:29 +0000 (0:00:00.076) 0:01:01.522 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:34:29 +0000 (0:00:00.089) 0:01:01.611 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:34:29 +0000 (0:00:00.083) 0:01:01.694 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:34:29 +0000 (0:00:00.482) 0:01:02.177 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:34:30 +0000 (0:00:00.924) 0:01:03.102 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:34:31 +0000 (0:00:00.862) 0:01:03.964 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:34:31 +0000 (0:00:00.071) 0:01:04.036 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:34:31 +0000 (0:00:00.066) 0:01:04.102 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:34:31 +0000 (0:00:00.061) 0:01:04.163 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:34:31 +0000 (0:00:00.081) 0:01:04.244 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:34:31 +0000 (0:00:00.052) 0:01:04.296 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:34:31 +0000 (0:00:00.090) 0:01:04.387 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:34:31 +0000 (0:00:00.063) 0:01:04.451 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:34:32 +0000 (0:00:00.451) 0:01:04.902 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:34:32 +0000 (0:00:00.060) 0:01:04.963 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:34:32 +0000 (0:00:00.049) 0:01:05.012 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:34:32 +0000 (0:00:00.048) 0:01:05.060 ****** changed: [/cache/centos-7.qcow2c.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: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:34:33 +0000 (0:00:00.746) 0:01:05.807 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:34:33 +0000 (0:00:00.056) 0:01:05.864 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:34:33 +0000 (0:00:00.064) 0:01:05.929 ****** ok: [/cache/centos-7.qcow2c.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": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:34:33 +0000 (0:00:00.063) 0:01:05.992 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:34:33 +0000 (0:00:00.054) 0:01:06.047 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:108 Wednesday 03 August 2022 17:34:33 +0000 (0:00:00.346) 0:01:06.394 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_802_1x_server.yml for /cache/centos-7.qcow2c.snap TASK [Remove test interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:3 Wednesday 03 August 2022 17:34:34 +0000 (0:00:00.106) 0:01:06.501 ****** ok: [/cache/centos-7.qcow2c.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.070573", "end": "2022-08-03 17:34:34.146065", "rc": 0, "start": "2022-08-03 17:34:34.075492" } TASK [Kill hostapd process] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:11 Wednesday 03 August 2022 17:34:34 +0000 (0:00:00.410) 0:01:06.912 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.022103", "end": "2022-08-03 17:34:34.507244", "rc": 0, "start": "2022-08-03 17:34:34.485141" } TASK [Remove certs and config] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:14 Wednesday 03 August 2022 17:34:34 +0000 (0:00:00.361) 0:01:07.273 ****** changed: [/cache/centos-7.qcow2c.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-7.qcow2c.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-7.qcow2c.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/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:109 Wednesday 03 August 2022 17:34:35 +0000 (0:00:00.938) 0:01:08.211 ****** changed: [/cache/centos-7.qcow2c.snap] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "item": "client.key", "path": "/etc/pki/tls/client.key", "state": "absent" } changed: [/cache/centos-7.qcow2c.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-7.qcow2c.snap] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "item": "client.pem", "path": "/etc/pki/tls/client.pem", "state": "absent" } changed: [/cache/centos-7.qcow2c.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/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:118 Wednesday 03 August 2022 17:34:36 +0000 (0:00:01.244) 0:01:09.456 ****** changed: [/cache/centos-7.qcow2c.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-7.qcow2c.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/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:125 Wednesday 03 August 2022 17:34:37 +0000 (0:00:00.670) 0:01:10.126 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.519055", "end": "2022-08-03 17:34:38.242656", "rc": 0, "start": "2022-08-03 17:34:37.723601" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=111 changed=29 unreachable=0 failed=0 skipped=67 rescued=1 ignored=0 Wednesday 03 August 2022 17:34:38 +0000 (0:00:00.906) 0:01:11.033 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.39s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:87 ----- fedora.linux_system_roles.network : Install packages -------------------- 3.20s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install hostapd --------------------------------------------------------- 3.04s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:11 ----- fedora.linux_system_roles.network : Configure networking connection profiles --- 2.72s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.62s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.46s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Copy server certificates ------------------------------------------------ 2.38s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:21 ----- Copy client certs ------------------------------------------------------- 2.24s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802.1x.yml:2 ------------- Gathering Facts --------------------------------------------------------- 2.00s /tmp/tmppolohs8h/tests/network/tests_802_1x_nm.yml:5 -------------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 1.36s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Remove test certificates ------------------------------------------------ 1.24s /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:109 ----------------- fedora.linux_system_roles.network : Check which services are running ---- 1.10s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.09s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running ---- 0.99s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.97s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.95s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.95s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Remove certs and config ------------------------------------------------- 0.94s /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:14 --- fedora.linux_system_roles.network : Check which services are running ---- 0.92s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.92s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmppolohs8h/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmppolohs8h/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:34:38 +0000 (0:00:00.037) 0:01:11.071 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.008893", "end": "2022-08-03 17:34:38.639004", "rc": 0, "start": "2022-08-03 17:34:38.630111" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=112 changed=30 unreachable=0 failed=0 skipped=67 rescued=1 ignored=0 Wednesday 03 August 2022 17:34:38 +0000 (0:00:00.349) 0:01:11.420 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.39s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:87 ----- fedora.linux_system_roles.network : Install packages -------------------- 3.20s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install hostapd --------------------------------------------------------- 3.04s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:11 ----- fedora.linux_system_roles.network : Configure networking connection profiles --- 2.72s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.62s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.46s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Copy server certificates ------------------------------------------------ 2.38s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:21 ----- Copy client certs ------------------------------------------------------- 2.24s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802.1x.yml:2 ------------- Gathering Facts --------------------------------------------------------- 2.00s /tmp/tmppolohs8h/tests/network/tests_802_1x_nm.yml:5 -------------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 1.36s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Remove test certificates ------------------------------------------------ 1.24s /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:109 ----------------- fedora.linux_system_roles.network : Check which services are running ---- 1.10s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.09s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running ---- 0.99s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.97s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.95s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.95s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Remove certs and config ------------------------------------------------- 0.94s /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:14 --- fedora.linux_system_roles.network : Check which services are running ---- 0.92s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.92s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69