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:09:27 +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": 1659546566.4534898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659546566.4534898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8174, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744073158070834", "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:09:28 +0000 (0:00:00.508) 0:00:00.527 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659546490.0, 'block_size': 4096, 'inode': 8174, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744073158070834', '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': 1659546566.4534898, 'isdir': False, 'ctime': 1659546566.4534898, '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": 1659546566.4534898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659546566.4534898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8174, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744073158070834", "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:09:28 +0000 (0:00:00.035) 0:00:00.563 ****** 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.004491", "end": "2022-08-03 17:09:28.087671", "rc": 0, "start": "2022-08-03 17:09:28.083180" } 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:09:28 +0000 (0:00:00.426) 0:00:00.989 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.51s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.43s /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_updated_nm.yml ****************************************** 3 plays in /tmp/tmplbj_o459/tests/tests_802_1x_updated_nm.yml PLAY [Run playbook 'playbooks/tests_802_1x_updated.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/tests_802_1x_updated_nm.yml:5 Wednesday 03 August 2022 17:09:28 +0000 (0:00:00.083) 0:00:01.073 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_802_1x_updated_nm.yml:8 Wednesday 03 August 2022 17:09:29 +0000 (0:00:00.940) 0:00:02.014 ****** 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:09:29 +0000 (0:00:00.027) 0:00:02.041 ****** 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:09:29 +0000 (0:00:00.020) 0:00:02.062 ****** 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:09:29 +0000 (0:00:00.026) 0:00:02.089 ****** 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:09:29 +0000 (0:00:00.296) 0:00:02.385 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.179128", "end": "2022-08-03 17:09:29.967996", "rc": 0, "start": "2022-08-03 17:09:29.788868" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=genclo&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:09:30 +0000 (0:00:00.482) 0:00:02.867 ****** 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:09:30 +0000 (0:00:00.022) 0:00:02.890 ****** 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_updated_nm.yml:9 Wednesday 03 August 2022 17:09:30 +0000 (0:00:00.020) 0:00:02.911 ****** 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_updated.yml:3 Wednesday 03 August 2022 17:09:30 +0000 (0:00:00.044) 0:00:02.955 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Update NetworkManager] *************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x_updated.yml:5 Wednesday 03 August 2022 17:09:31 +0000 (0:00:00.714) 0:00:03.670 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "" ] } TASK [Restart NetworkManager] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_802_1x_updated.yml:9 Wednesday 03 August 2022 17:09:34 +0000 (0:00:02.882) 0:00:06.552 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:08:42 UTC", "ActiveEnterTimestampMonotonic": "38421723", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket cloud-init-local.service basic.target dbus.service system.slice network-pre.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:08:42 UTC", "AssertTimestampMonotonic": "38394946", "Before": "network.target cloud-init.service NetworkManager-wait-online.service shutdown.target network.service multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "539309282", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:08:42 UTC", "ConditionTimestampMonotonic": "38394945", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3428", "ExecMainStartTimestamp": "Wed 2022-08-03 17:08:42 UTC", "ExecMainStartTimestampMonotonic": "38395826", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/dbus-send ; argv[]=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Reload uint32:0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; 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/NetworkManager.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 17:08:42 UTC", "InactiveExitTimestampMonotonic": "38395867", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "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": "3428", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "read-only", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "system.slice basic.target", "Restart": "on-failure", "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": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Wed 2022-08-03 17:08:42 UTC", "WatchdogTimestampMonotonic": "38421324", "WatchdogUSec": "0" } } 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:09:34 +0000 (0:00:00.805) 0:00:07.358 ****** 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:09:35 +0000 (0:00:00.721) 0:00:08.079 ****** 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:09:35 +0000 (0:00:00.070) 0:00:08.150 ****** 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:09:35 +0000 (0:00:00.044) 0:00:08.194 ****** 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:09:35 +0000 (0:00:00.046) 0:00:08.240 ****** 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:09:35 +0000 (0:00:00.033) 0:00:08.274 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "hostapd-2.9-3.el7.x86_64 providing hostapd is already installed" ] } 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:09:36 +0000 (0:00:00.545) 0:00:08.819 ****** 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:09:36 +0000 (0:00:00.446) 0:00:09.266 ****** 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-1659546576.9334178-172181-220587717534199/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-1659546577.5863047-172181-229497782382413/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-1659546578.131054-172181-176329718046207/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-1659546578.676956-172181-200239416310956/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:09:39 +0000 (0:00:02.361) 0:00:11.627 ****** 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.084430", "end": "2022-08-03 17:09:39.155284", "rc": 0, "start": "2022-08-03 17:09:39.070854" } TASK [Create hostapd config] *************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:59 Wednesday 03 August 2022 17:09:39 +0000 (0:00:00.428) 0:00:12.055 ****** 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-1659546579.6893322-172300-83090535520401/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:09:40 +0000 (0:00:00.567) 0:00:12.622 ****** 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-1659546580.2554386-172328-259758606954245/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:09:40 +0000 (0:00:00.560) 0:00:13.182 ****** 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.028082", "end": "2022-08-03 17:09:45.626805", "rc": 0, "start": "2022-08-03 17:09:40.598723" } STDOUT: Configuration file: /etc/hostapd/wired.conf Using interface veth1 with hwaddr 3e:4f:f7:f5:8e:6d 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:09:46 +0000 (0:00:05.344) 0:00:18.527 ****** 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-1659546586.1667008-172372-24902056214368/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-1659546586.7007806-172372-83099070510059/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-1659546587.2551944-172372-47787239255154/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-1659546587.8166053-172372-134776333924712/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:09:48 +0000 (0:00:02.228) 0:00:20.755 ****** 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:09:48 +0000 (0:00:00.045) 0:00:20.801 ****** 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:48 +0000 (0:00:00.054) 0:00:20.855 ****** 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:48 +0000 (0:00:00.421) 0:00:21.276 ****** 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:49 +0000 (0:00:01.067) 0:00:22.344 ****** 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:51 +0000 (0:00:01.143) 0:00:23.487 ****** 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:51 +0000 (0:00:00.091) 0:00:23.579 ****** 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:51 +0000 (0:00:00.053) 0:00:23.632 ****** 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:51 +0000 (0:00:00.094) 0:00:23.726 ****** 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:51 +0000 (0:00:00.074) 0:00:23.801 ****** 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:51 +0000 (0:00:00.052) 0:00:23.853 ****** 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:51 +0000 (0:00:00.051) 0:00:23.905 ****** 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:51 +0000 (0:00:00.053) 0:00:23.958 ****** 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:52 +0000 (0:00:00.492) 0:00:24.451 ****** 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:52 +0000 (0:00:00.465) 0:00:24.917 ****** 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:52 +0000 (0:00:00.051) 0:00:24.968 ****** 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:52 +0000 (0:00:00.049) 0:00:25.018 ****** 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, b63495f7-e77a-4877-9651-954122b2ea5f [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, b63495f7-e77a-4877-9651-954122b2ea5f (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:55 +0000 (0:00:02.793) 0:00:27.811 ****** 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:55 +0000 (0:00:00.054) 0:00:27.866 ****** 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, b63495f7-e77a-4877-9651-954122b2ea5f", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, b63495f7-e77a-4877-9651-954122b2ea5f (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:55 +0000 (0:00:00.064) 0:00:27.930 ****** 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, b63495f7-e77a-4877-9651-954122b2ea5f\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, b63495f7-e77a-4877-9651-954122b2ea5f (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, b63495f7-e77a-4877-9651-954122b2ea5f", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, b63495f7-e77a-4877-9651-954122b2ea5f (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:55 +0000 (0:00:00.064) 0:00:27.995 ****** 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:55 +0000 (0:00:00.054) 0:00:28.049 ****** 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:09:56 +0000 (0:00:00.501) 0:00:28.550 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.006178", "end": "2022-08-03 17:09:56.004027", "rc": 0, "start": "2022-08-03 17:09:55.997849" } STDOUT: PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data. 64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.089 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.089/0.089/0.089/0.000 ms TASK [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:56 +0000 (0:00:00.362) 0:00:28.912 ****** 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:56 +0000 (0:00:00.083) 0:00:28.996 ****** 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:57 +0000 (0:00:00.450) 0:00:29.446 ****** 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:57 +0000 (0:00:00.975) 0:00:30.422 ****** 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:58 +0000 (0:00:00.924) 0:00:31.347 ****** 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:59 +0000 (0:00:00.126) 0:00:31.474 ****** 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:59 +0000 (0:00:00.058) 0:00:31.532 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:09:59 +0000 (0:00:00.057) 0:00:31.590 ****** 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:59 +0000 (0:00:00.085) 0:00:31.675 ****** 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:59 +0000 (0:00:00.066) 0:00:31.742 ****** 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:59 +0000 (0:00:00.062) 0:00:31.804 ****** 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:59 +0000 (0:00:00.061) 0:00:31.865 ****** 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:59 +0000 (0:00:00.453) 0:00:32.319 ****** 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:59 +0000 (0:00:00.062) 0:00:32.382 ****** 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:10:00 +0000 (0:00:00.055) 0:00:32.438 ****** 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:10:00 +0000 (0:00:00.054) 0:00:32.492 ****** 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:10:00 +0000 (0:00:00.588) 0:00:33.080 ****** 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:10:00 +0000 (0:00:00.059) 0:00:33.140 ****** 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:10:00 +0000 (0:00:00.154) 0:00:33.294 ****** 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:10:00 +0000 (0:00:00.067) 0:00:33.362 ****** 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:10:00 +0000 (0:00:00.060) 0:00:33.423 ****** 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:10:01 +0000 (0:00:00.348) 0:00:33.772 ****** 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:10:01 +0000 (0:00:00.055) 0:00:33.828 ****** 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-1659546601.4652538-172761-24603038948984/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:10:02 +0000 (0:00:00.606) 0:00:34.434 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.560293", "end": "2022-08-03 17:10:02.417030", "rc": 0, "start": "2022-08-03 17:10:01.856737" } 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:10:02 +0000 (0:00:00.894) 0:00:35.328 ****** 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:10:02 +0000 (0:00:00.071) 0:00:35.400 ****** 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:10:03 +0000 (0:00:00.473) 0:00:35.873 ****** 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:10:04 +0000 (0:00:00.921) 0:00:36.795 ****** 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:10:05 +0000 (0:00:00.862) 0:00:37.658 ****** 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:10:05 +0000 (0:00:00.059) 0:00:37.717 ****** 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:10:05 +0000 (0:00:00.053) 0:00:37.770 ****** 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:10:05 +0000 (0:00:00.054) 0:00:37.825 ****** 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:10:05 +0000 (0:00:00.107) 0:00:37.933 ****** 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:10:05 +0000 (0:00:00.052) 0:00:37.985 ****** 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:10:05 +0000 (0:00:00.054) 0:00:38.039 ****** 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:10:05 +0000 (0:00:00.055) 0:00:38.095 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [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:10:06 +0000 (0:00:00.458) 0:00:38.554 ****** 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:10:06 +0000 (0:00:00.431) 0:00:38.985 ****** 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:10:06 +0000 (0:00:00.050) 0:00:39.036 ****** 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:10:06 +0000 (0:00:00.050) 0:00:39.087 ****** 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, d64d0deb-e1c8-46a2-a68c-0477a568666b [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, d64d0deb-e1c8-46a2-a68c-0477a568666b (is-modified) 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:10:09 +0000 (0:00:02.610) 0:00:41.697 ****** 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:10:09 +0000 (0:00:00.051) 0:00:41.748 ****** 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, d64d0deb-e1c8-46a2-a68c-0477a568666b", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, d64d0deb-e1c8-46a2-a68c-0477a568666b (is-modified)" ] } 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:10:09 +0000 (0:00:00.092) 0:00:41.840 ****** 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, d64d0deb-e1c8-46a2-a68c-0477a568666b\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, d64d0deb-e1c8-46a2-a68c-0477a568666b (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, d64d0deb-e1c8-46a2-a68c-0477a568666b", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, d64d0deb-e1c8-46a2-a68c-0477a568666b (is-modified)" ] } } 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:10:09 +0000 (0:00:00.126) 0:00:41.967 ****** 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:10:09 +0000 (0:00:00.055) 0:00:42.022 ****** 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:10:09 +0000 (0:00:00.341) 0:00:42.364 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.005826", "end": "2022-08-03 17:10:09.788556", "rc": 0, "start": "2022-08-03 17:10:09.782730" } 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.082 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.082/0.082/0.082/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:10:10 +0000 (0:00:00.336) 0:00:42.700 ****** 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:10:10 +0000 (0:00:00.075) 0:00:42.775 ****** 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:10:10 +0000 (0:00:00.442) 0:00:43.218 ****** 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:10:11 +0000 (0:00:00.942) 0:00:44.160 ****** 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:10:12 +0000 (0:00:00.913) 0:00:45.074 ****** 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:10:12 +0000 (0:00:00.065) 0:00:45.139 ****** 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:10:12 +0000 (0:00:00.054) 0:00:45.194 ****** 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:10:12 +0000 (0:00:00.058) 0:00:45.252 ****** 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:10:12 +0000 (0:00:00.078) 0:00:45.331 ****** 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:10:12 +0000 (0:00:00.055) 0:00:45.386 ****** 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:10:13 +0000 (0:00:00.057) 0:00:45.444 ****** 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:10:13 +0000 (0:00:00.067) 0:00:45.511 ****** 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:10:13 +0000 (0:00:00.437) 0:00:45.948 ****** 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:10:13 +0000 (0:00:00.065) 0:00:46.013 ****** 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:10:13 +0000 (0:00:00.057) 0:00:46.071 ****** 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:10:13 +0000 (0:00:00.084) 0:00:46.156 ****** 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:10:14 +0000 (0:00:00.595) 0:00:46.751 ****** 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:10:14 +0000 (0:00:00.060) 0:00:46.811 ****** 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:10:14 +0000 (0:00:00.066) 0:00:46.878 ****** 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:10:14 +0000 (0:00:00.067) 0:00:46.945 ****** 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:10:14 +0000 (0:00:00.057) 0:00:47.003 ****** 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:10:14 +0000 (0:00:00.347) 0:00:47.351 ****** 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:10:15 +0000 (0:00:00.111) 0:00:47.463 ****** 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:10:15 +0000 (0:00:00.060) 0:00:47.523 ****** 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:10:15 +0000 (0:00:00.056) 0:00:47.580 ****** 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:10:15 +0000 (0:00:00.376) 0:00:47.957 ****** 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-1659546615.5901036-173109-35998549220150/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:10:16 +0000 (0:00:00.580) 0:00:48.537 ****** 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:10:16 +0000 (0:00:00.544) 0:00:49.082 ****** 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.013222", "end": "2022-08-03 17:10:16.516038", "rc": 0, "start": "2022-08-03 17:10:16.502816" } 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:10:17 +0000 (0:00:00.353) 0:00:49.436 ****** 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:10:17 +0000 (0:00:00.343) 0:00:49.780 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.407489", "end": "2022-08-03 17:10:17.611284", "rc": 0, "start": "2022-08-03 17:10:17.203795" } 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:10:18 +0000 (0:00:00.758) 0:00:50.538 ****** 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:10:18 +0000 (0:00:00.094) 0:00:50.633 ****** 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:10:18 +0000 (0:00:00.558) 0:00:51.191 ****** 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:10:19 +0000 (0:00:00.992) 0:00:52.184 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:10:20 +0000 (0:00:00.865) 0:00:53.049 ****** 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:10:20 +0000 (0:00:00.057) 0:00:53.107 ****** 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:10:20 +0000 (0:00:00.050) 0:00:53.157 ****** 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:10:20 +0000 (0:00:00.047) 0:00:53.204 ****** 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:10:20 +0000 (0:00:00.071) 0:00:53.276 ****** 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:10:20 +0000 (0:00:00.048) 0:00:53.325 ****** 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:10:20 +0000 (0:00:00.046) 0:00:53.371 ****** 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:10:20 +0000 (0:00:00.053) 0:00:53.424 ****** 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:10:21 +0000 (0:00:00.437) 0:00:53.862 ****** 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:10:21 +0000 (0:00:00.442) 0:00:54.305 ****** 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:10:21 +0000 (0:00:00.047) 0:00:54.352 ****** 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:10:21 +0000 (0:00:00.063) 0:00:54.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": [ { "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, 93495bd8-042d-4012-8f67-f1eff6d2d7d7 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 93495bd8-042d-4012-8f67-f1eff6d2d7d7 (is-modified) 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:10:24 +0000 (0:00:02.671) 0:00:57.087 ****** 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:10:24 +0000 (0:00:00.053) 0:00:57.140 ****** 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, 93495bd8-042d-4012-8f67-f1eff6d2d7d7", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 93495bd8-042d-4012-8f67-f1eff6d2d7d7 (is-modified)" ] } 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:10:24 +0000 (0:00:00.057) 0:00:57.198 ****** 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, 93495bd8-042d-4012-8f67-f1eff6d2d7d7\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 93495bd8-042d-4012-8f67-f1eff6d2d7d7 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 93495bd8-042d-4012-8f67-f1eff6d2d7d7", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 93495bd8-042d-4012-8f67-f1eff6d2d7d7 (is-modified)" ] } } 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:10:24 +0000 (0:00:00.057) 0:00:57.255 ****** 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:10:24 +0000 (0:00:00.048) 0:00:57.304 ****** 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:10:25 +0000 (0:00:00.389) 0:00:57.693 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004613", "end": "2022-08-03 17:10:25.111769", "rc": 0, "start": "2022-08-03 17:10:25.107156" } 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.063 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.063/0.063/0.063/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:10:25 +0000 (0:00:00.327) 0:00:58.021 ****** 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:10:25 +0000 (0:00:00.053) 0:00:58.074 ****** 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-ebdd-5613-000000000466", "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:10:25 +0000 (0:00:00.112) 0:00:58.187 ****** 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:10:25 +0000 (0:00:00.057) 0:00:58.245 ****** 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:10:25 +0000 (0:00:00.047) 0:00:58.292 ****** 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:10:25 +0000 (0:00:00.060) 0:00:58.352 ****** 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:10:25 +0000 (0:00:00.070) 0:00:58.423 ****** 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:10:26 +0000 (0:00:00.423) 0:00:58.846 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:10:27 +0000 (0:00:00.915) 0:00:59.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 : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:10:28 +0000 (0:00:00.892) 0:01:00.654 ****** 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:10:28 +0000 (0:00:00.057) 0:01:00.712 ****** 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:10:28 +0000 (0:00:00.049) 0:01:00.762 ****** 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:10:28 +0000 (0:00:00.048) 0:01:00.811 ****** 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:10:28 +0000 (0:00:00.070) 0:01:00.881 ****** 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:10:28 +0000 (0:00:00.049) 0:01:00.931 ****** 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:10:28 +0000 (0:00:00.047) 0:01:00.978 ****** 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:10:28 +0000 (0:00:00.053) 0:01:01.032 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [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:10:29 +0000 (0:00:00.443) 0:01:01.475 ****** 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:10:29 +0000 (0:00:00.104) 0:01:01.580 ****** 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:10:29 +0000 (0:00:00.049) 0:01:01.629 ****** 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:10:29 +0000 (0:00:00.058) 0:01:01.688 ****** 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:10:29 +0000 (0:00:00.673) 0:01:02.361 ****** 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:10:29 +0000 (0:00:00.053) 0:01:02.415 ****** 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:10:30 +0000 (0:00:00.064) 0:01:02.479 ****** 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:10:30 +0000 (0:00:00.058) 0:01:02.538 ****** 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:10:30 +0000 (0:00:00.056) 0:01:02.595 ****** 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:10:30 +0000 (0:00:00.337) 0:01:02.933 ****** 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:10:30 +0000 (0:00:00.069) 0:01:03.002 ****** 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.071911", "end": "2022-08-03 17:10:30.507538", "rc": 0, "start": "2022-08-03 17:10:30.435627" } TASK [Kill hostapd process] **************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_802_1x_server.yml:11 Wednesday 03 August 2022 17:10:30 +0000 (0:00:00.418) 0:01:03.421 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.020297", "end": "2022-08-03 17:10:30.906327", "rc": 0, "start": "2022-08-03 17:10:30.886030" } TASK [Remove certs and config] ************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 Wednesday 03 August 2022 17:10:31 +0000 (0:00:00.392) 0:01:03.814 ****** 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:10:32 +0000 (0:00:00.917) 0:01:04.731 ****** 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:10:33 +0000 (0:00:01.202) 0:01:05.933 ****** 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:10:34 +0000 (0:00:00.617) 0:01:06.551 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.526556", "end": "2022-08-03 17:10:34.494322", "rc": 0, "start": "2022-08-03 17:10:33.967766" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=113 changed=26 unreachable=0 failed=0 skipped=68 rescued=1 ignored=0 Wednesday 03 August 2022 17:10:34 +0000 (0:00:00.875) 0:01:07.426 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.34s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:87 ------------- Update NetworkManager --------------------------------------------------- 2.88s /tmp/tmplbj_o459/tests/playbooks/tests_802_1x_updated.yml:5 ------------------- linux-system-roles.network : Configure networking connection profiles --- 2.79s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.67s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.61s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Copy server certificates ------------------------------------------------ 2.36s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:21 ------------- Copy client certs ------------------------------------------------------- 2.23s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802.1x.yml:2 --------------------- Remove test certificates ------------------------------------------------ 1.20s /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:109 ------------------------- linux-system-roles.network : Configure networking connection profiles --- 1.18s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 1.14s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.07s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.99s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.98s /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 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmplbj_o459/tests/tests_802_1x_updated_nm.yml:5 -------------------------- linux-system-roles.network : Check which packages are installed --------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 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 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 linux-system-roles.network : Check which packages are installed --------- 0.91s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 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:10:35 +0000 (0:00:00.037) 0:01:07.464 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007125", "end": "2022-08-03 17:10:34.912641", "rc": 0, "start": "2022-08-03 17:10:34.905516" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=114 changed=27 unreachable=0 failed=0 skipped=68 rescued=1 ignored=0 Wednesday 03 August 2022 17:10:35 +0000 (0:00:00.374) 0:01:07.838 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.34s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:87 ------------- Update NetworkManager --------------------------------------------------- 2.88s /tmp/tmplbj_o459/tests/playbooks/tests_802_1x_updated.yml:5 ------------------- linux-system-roles.network : Configure networking connection profiles --- 2.79s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.67s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.61s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Copy server certificates ------------------------------------------------ 2.36s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802_1x_server.yml:21 ------------- Copy client certs ------------------------------------------------------- 2.23s /tmp/tmplbj_o459/tests/playbooks/tasks/setup_802.1x.yml:2 --------------------- Remove test certificates ------------------------------------------------ 1.20s /tmp/tmplbj_o459/tests/playbooks/tests_802_1x.yml:109 ------------------------- linux-system-roles.network : Configure networking connection profiles --- 1.18s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 1.14s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.07s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.99s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.98s /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 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmplbj_o459/tests/tests_802_1x_updated_nm.yml:5 -------------------------- linux-system-roles.network : Check which packages are installed --------- 0.92s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 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 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 linux-system-roles.network : Check which packages are installed --------- 0.91s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/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:34:39 +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": 1659548078.6363065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548078.6363065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8174, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744071765316451", "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:34:40 +0000 (0:00:00.512) 0:00:00.530 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659548002.0, 'block_size': 4096, 'inode': 8174, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744071765316451', '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': 1659548078.6363065, 'isdir': False, 'ctime': 1659548078.6363065, '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": 1659548078.6363065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548078.6363065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8174, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744071765316451", "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:34:40 +0000 (0:00:00.035) 0:00:00.565 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004659", "end": "2022-08-03 17:34:40.253121", "rc": 0, "start": "2022-08-03 17:34:40.248462" } 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:34:40 +0000 (0:00:00.427) 0:00:00.992 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.51s /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_updated_nm.yml ****************************************** 3 plays in /tmp/tmppolohs8h/tests/network/tests_802_1x_updated_nm.yml PLAY [Run playbook 'playbooks/tests_802_1x_updated.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/tests_802_1x_updated_nm.yml:5 Wednesday 03 August 2022 17:34:40 +0000 (0:00:00.111) 0:00:01.103 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_802_1x_updated_nm.yml:8 Wednesday 03 August 2022 17:34:41 +0000 (0:00:00.972) 0:00:02.076 ****** 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:34:41 +0000 (0:00:00.030) 0:00:02.106 ****** 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:34:41 +0000 (0:00:00.023) 0:00:02.130 ****** 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:34:41 +0000 (0:00:00.030) 0:00:02.161 ****** 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:34:42 +0000 (0:00:00.330) 0:00:02.491 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.176388", "end": "2022-08-03 17:34:42.239933", "rc": 0, "start": "2022-08-03 17:34:42.063545" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=genclo&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:34:42 +0000 (0:00:00.485) 0:00:02.977 ****** 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:34:42 +0000 (0:00:00.022) 0:00:03.000 ****** 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_updated_nm.yml:9 Wednesday 03 August 2022 17:34:42 +0000 (0:00:00.022) 0:00:03.022 ****** 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_updated.yml:3 Wednesday 03 August 2022 17:34:42 +0000 (0:00:00.044) 0:00:03.067 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Update NetworkManager] *************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x_updated.yml:5 Wednesday 03 August 2022 17:34:43 +0000 (0:00:00.730) 0:00:03.797 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "" ] } TASK [Restart NetworkManager] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x_updated.yml:9 Wednesday 03 August 2022 17:34:46 +0000 (0:00:03.423) 0:00:07.221 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:33:54 UTC", "ActiveEnterTimestampMonotonic": "38147693", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network-pre.target dbus.service cloud-init-local.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:33:54 UTC", "AssertTimestampMonotonic": "38124391", "Before": "NetworkManager-wait-online.service network.target network.service cloud-init.service multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "539309282", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:33:54 UTC", "ConditionTimestampMonotonic": "38124391", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3432", "ExecMainStartTimestamp": "Wed 2022-08-03 17:33:54 UTC", "ExecMainStartTimestampMonotonic": "38125168", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/dbus-send ; argv[]=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Reload uint32:0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; 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/NetworkManager.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 17:33:54 UTC", "InactiveExitTimestampMonotonic": "38125210", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "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": "3432", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "read-only", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "system.slice basic.target", "Restart": "on-failure", "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": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Wed 2022-08-03 17:33:54 UTC", "WatchdogTimestampMonotonic": "38147573", "WatchdogUSec": "0" } } 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:34:47 +0000 (0:00:00.811) 0:00:08.032 ****** 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:34:48 +0000 (0:00:00.755) 0:00:08.787 ****** 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:34:48 +0000 (0:00:00.084) 0:00:08.872 ****** 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:34:48 +0000 (0:00:00.044) 0:00:08.916 ****** 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:34:48 +0000 (0:00:00.046) 0:00:08.962 ****** 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:34:48 +0000 (0:00:00.035) 0:00:08.997 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "hostapd-2.9-3.el7.x86_64 providing hostapd is already installed" ] } 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:34:49 +0000 (0:00:00.574) 0:00:09.572 ****** 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:34:49 +0000 (0:00:00.462) 0:00:10.034 ****** 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-1659548089.6572409-215611-97444192102822/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-1659548090.3300445-215611-174713215790032/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-1659548090.895423-215611-163795769644777/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-1659548091.428367-215611-107853490361985/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:34:51 +0000 (0:00:02.359) 0:00:12.393 ****** 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.095659", "end": "2022-08-03 17:34:52.116647", "rc": 0, "start": "2022-08-03 17:34:52.020988" } TASK [Create hostapd config] *************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:59 Wednesday 03 August 2022 17:34:52 +0000 (0:00:00.461) 0:00:12.855 ****** 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-1659548092.513608-215730-260807791252777/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:34:53 +0000 (0:00:00.602) 0:00:13.458 ****** 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-1659548093.0784225-215758-71454425876470/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:34:53 +0000 (0:00:00.572) 0:00:14.030 ****** 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.026820", "end": "2022-08-03 17:34:58.640036", "rc": 0, "start": "2022-08-03 17:34:53.613216" } STDOUT: Configuration file: /etc/hostapd/wired.conf Using interface veth1 with hwaddr 82:9c:4a:c1:70:89 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:34:58 +0000 (0:00:05.348) 0:00:19.379 ****** 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-1659548099.000725-215802-31573872254487/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-1659548099.543002-215802-79899145333764/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-1659548100.0817604-215802-119358732133002/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-1659548100.6531174-215802-44998249650843/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:35:01 +0000 (0:00:02.231) 0:00:21.610 ****** 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:35:01 +0000 (0:00:00.047) 0:00:21.657 ****** 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:35:01 +0000 (0:00:00.055) 0:00:21.713 ****** 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:35:01 +0000 (0:00:00.434) 0:00:22.148 ****** 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:35:02 +0000 (0:00:01.069) 0:00:23.217 ****** 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:35:03 +0000 (0:00:01.148) 0:00:24.366 ****** 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:35:04 +0000 (0:00:00.089) 0:00:24.456 ****** 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:35:04 +0000 (0:00:00.081) 0:00:24.538 ****** 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:35:04 +0000 (0:00:00.060) 0:00:24.598 ****** 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:35:04 +0000 (0:00:00.076) 0:00:24.675 ****** 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:35:04 +0000 (0:00:00.055) 0:00:24.731 ****** 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:35:04 +0000 (0:00:00.057) 0:00:24.788 ****** 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:35:04 +0000 (0:00:00.060) 0:00:24.848 ****** 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:35:04 +0000 (0:00:00.442) 0:00:25.290 ****** 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:35:05 +0000 (0:00:00.424) 0:00:25.715 ****** 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:35:05 +0000 (0:00:00.049) 0:00:25.764 ****** 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:35:05 +0000 (0:00:00.046) 0:00:25.811 ****** 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, 61eda289-14a2-4024-8da5-edf9e11dff9a [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 61eda289-14a2-4024-8da5-edf9e11dff9a (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:35:08 +0000 (0:00:02.780) 0:00:28.592 ****** 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:35:08 +0000 (0:00:00.054) 0:00:28.646 ****** 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, 61eda289-14a2-4024-8da5-edf9e11dff9a", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 61eda289-14a2-4024-8da5-edf9e11dff9a (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:35:08 +0000 (0:00:00.066) 0:00:28.713 ****** 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, 61eda289-14a2-4024-8da5-edf9e11dff9a\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 61eda289-14a2-4024-8da5-edf9e11dff9a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 61eda289-14a2-4024-8da5-edf9e11dff9a", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 61eda289-14a2-4024-8da5-edf9e11dff9a (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:35:08 +0000 (0:00:00.062) 0:00:28.776 ****** 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:35:08 +0000 (0:00:00.058) 0:00:28.834 ****** 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:35:08 +0000 (0:00:00.499) 0:00:29.333 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.006235", "end": "2022-08-03 17:35:08.921143", "rc": 0, "start": "2022-08-03 17:35:08.914908" } 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.137 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.137/0.137/0.137/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:35:09 +0000 (0:00:00.335) 0:00:29.669 ****** 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:35:09 +0000 (0:00:00.117) 0:00:29.787 ****** 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:35:09 +0000 (0:00:00.455) 0:00:30.242 ****** 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:35:10 +0000 (0:00:00.942) 0:00:31.184 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [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:35:11 +0000 (0:00:00.889) 0:00:32.073 ****** 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:35:11 +0000 (0:00:00.080) 0:00:32.154 ****** 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:35:11 +0000 (0:00:00.073) 0:00:32.227 ****** 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:35:11 +0000 (0:00:00.109) 0:00:32.337 ****** 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:35:11 +0000 (0:00:00.090) 0:00:32.428 ****** 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:35:12 +0000 (0:00:00.060) 0:00:32.488 ****** 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:35:12 +0000 (0:00:00.060) 0:00:32.548 ****** 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:35:12 +0000 (0:00:00.062) 0:00:32.611 ****** 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:35:12 +0000 (0:00:00.454) 0:00:33.065 ****** 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:35:12 +0000 (0:00:00.065) 0:00:33.131 ****** 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:35:12 +0000 (0:00:00.056) 0:00:33.187 ****** 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:35:12 +0000 (0:00:00.055) 0:00:33.243 ****** 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:35:13 +0000 (0:00:00.604) 0:00:33.847 ****** 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:35:13 +0000 (0:00:00.058) 0:00:33.906 ****** 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:35:13 +0000 (0:00:00.066) 0:00:33.972 ****** 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:35:13 +0000 (0:00:00.066) 0:00:34.038 ****** 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:35:13 +0000 (0:00:00.089) 0:00:34.128 ****** 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:35:14 +0000 (0:00:00.357) 0:00:34.485 ****** 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:35:14 +0000 (0:00:00.054) 0:00:34.540 ****** 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-1659548114.1603682-216191-166687084077605/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:35:14 +0000 (0:00:00.600) 0:00:35.141 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.521581", "end": "2022-08-03 17:35:15.248351", "rc": 0, "start": "2022-08-03 17:35:14.726770" } 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:35:15 +0000 (0:00:00.859) 0:00:36.000 ****** 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:35:15 +0000 (0:00:00.082) 0:00:36.083 ****** 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:35:16 +0000 (0:00:00.481) 0:00:36.565 ****** 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:35:17 +0000 (0:00:00.948) 0:00:37.513 ****** 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:35:17 +0000 (0:00:00.885) 0:00:38.398 ****** 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:35:18 +0000 (0:00:00.064) 0:00:38.463 ****** 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:35:18 +0000 (0:00:00.053) 0:00:38.517 ****** 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:35:18 +0000 (0:00:00.052) 0:00:38.569 ****** 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:35:18 +0000 (0:00:00.076) 0:00:38.646 ****** 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:35:18 +0000 (0:00:00.053) 0:00:38.700 ****** 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:35:18 +0000 (0:00:00.088) 0:00:38.789 ****** 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:35:18 +0000 (0:00:00.059) 0:00:38.848 ****** 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:35:18 +0000 (0:00:00.444) 0:00:39.293 ****** 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:35:19 +0000 (0:00:00.427) 0:00:39.720 ****** 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:35:19 +0000 (0:00:00.052) 0:00:39.773 ****** 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:35:19 +0000 (0:00:00.050) 0:00:39.824 ****** 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, cdd0e0c6-bf2f-42aa-8c87-04102ab6cb7e [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, cdd0e0c6-bf2f-42aa-8c87-04102ab6cb7e (is-modified) 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:35:21 +0000 (0:00:02.593) 0:00:42.417 ****** 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:35:22 +0000 (0:00:00.064) 0:00:42.481 ****** 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, cdd0e0c6-bf2f-42aa-8c87-04102ab6cb7e", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, cdd0e0c6-bf2f-42aa-8c87-04102ab6cb7e (is-modified)" ] } 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:35:22 +0000 (0:00:00.063) 0:00:42.544 ****** 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, cdd0e0c6-bf2f-42aa-8c87-04102ab6cb7e\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, cdd0e0c6-bf2f-42aa-8c87-04102ab6cb7e (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, cdd0e0c6-bf2f-42aa-8c87-04102ab6cb7e", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, cdd0e0c6-bf2f-42aa-8c87-04102ab6cb7e (is-modified)" ] } } 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:35:22 +0000 (0:00:00.126) 0:00:42.671 ****** 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:35:22 +0000 (0:00:00.052) 0:00:42.723 ****** 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:35:22 +0000 (0:00:00.349) 0:00:43.073 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.005232", "end": "2022-08-03 17:35:22.654761", "rc": 0, "start": "2022-08-03 17:35:22.649529" } 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.055 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.055/0.055/0.055/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:35:22 +0000 (0:00:00.329) 0:00:43.402 ****** 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:35:23 +0000 (0:00:00.083) 0:00:43.485 ****** 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:35:23 +0000 (0:00:00.452) 0:00:43.938 ****** 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:35:24 +0000 (0:00:00.937) 0:00:44.875 ****** 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:35:25 +0000 (0:00:00.922) 0:00:45.798 ****** 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:35:25 +0000 (0:00:00.069) 0:00:45.867 ****** 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:35:25 +0000 (0:00:00.057) 0:00:45.924 ****** 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:35:25 +0000 (0:00:00.060) 0:00:45.985 ****** 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:35:25 +0000 (0:00:00.081) 0:00:46.066 ****** 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:35:25 +0000 (0:00:00.057) 0:00:46.124 ****** 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:35:25 +0000 (0:00:00.062) 0:00:46.187 ****** 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:35:25 +0000 (0:00:00.058) 0:00:46.245 ****** 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:35:26 +0000 (0:00:00.450) 0:00:46.696 ****** 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:35:26 +0000 (0:00:00.062) 0:00:46.759 ****** 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:35:26 +0000 (0:00:00.053) 0:00:46.812 ****** 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:35:26 +0000 (0:00:00.086) 0:00:46.899 ****** 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:35:27 +0000 (0:00:00.606) 0:00:47.506 ****** 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:35:27 +0000 (0:00:00.056) 0:00:47.562 ****** 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:35:27 +0000 (0:00:00.068) 0:00:47.630 ****** 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:35:27 +0000 (0:00:00.068) 0:00:47.699 ****** 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:35:27 +0000 (0:00:00.059) 0:00:47.759 ****** 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:35:27 +0000 (0:00:00.360) 0:00:48.119 ****** 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:35:27 +0000 (0:00:00.120) 0:00:48.239 ****** 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:35:27 +0000 (0:00:00.061) 0:00:48.300 ****** 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:35:27 +0000 (0:00:00.057) 0:00:48.358 ****** 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:35:28 +0000 (0:00:00.386) 0:00:48.745 ****** 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-1659548128.3641896-216539-2976956734369/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:35:28 +0000 (0:00:00.592) 0:00:49.337 ****** 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:35:29 +0000 (0:00:00.567) 0:00:49.904 ****** 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.013779", "end": "2022-08-03 17:35:29.505930", "rc": 0, "start": "2022-08-03 17:35:29.492151" } 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:35:29 +0000 (0:00:00.353) 0:00:50.258 ****** 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:35:30 +0000 (0:00:00.347) 0:00:50.605 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.411456", "end": "2022-08-03 17:35:30.602013", "rc": 0, "start": "2022-08-03 17:35:30.190557" } 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:35:30 +0000 (0:00:00.749) 0:00:51.355 ****** 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:35:30 +0000 (0:00:00.074) 0:00:51.429 ****** 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:35:31 +0000 (0:00:00.507) 0:00:51.937 ****** 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:35:32 +0000 (0:00:00.968) 0:00:52.906 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:35:33 +0000 (0:00:00.839) 0:00:53.745 ****** 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:35:33 +0000 (0:00:00.055) 0:00:53.801 ****** 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:35:33 +0000 (0:00:00.048) 0:00:53.850 ****** 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:35:33 +0000 (0:00:00.048) 0:00:53.898 ****** 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:35:33 +0000 (0:00:00.073) 0:00:53.972 ****** 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:35:33 +0000 (0:00:00.050) 0:00:54.022 ****** 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:35:33 +0000 (0:00:00.103) 0:00:54.125 ****** 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:35:33 +0000 (0:00:00.054) 0:00:54.179 ****** 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:35:34 +0000 (0:00:00.441) 0:00:54.621 ****** 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:35:34 +0000 (0:00:00.421) 0:00:55.042 ****** 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:35:34 +0000 (0:00:00.047) 0:00:55.090 ****** 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:35:34 +0000 (0:00:00.050) 0:00:55.140 ****** 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, 54a71a34-b785-4574-a758-3ca064a7d9c5 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 54a71a34-b785-4574-a758-3ca064a7d9c5 (is-modified) 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:35:37 +0000 (0:00:02.696) 0:00:57.836 ****** 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:35:37 +0000 (0:00:00.049) 0:00:57.886 ****** 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, 54a71a34-b785-4574-a758-3ca064a7d9c5", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 54a71a34-b785-4574-a758-3ca064a7d9c5 (is-modified)" ] } 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:35:37 +0000 (0:00:00.059) 0:00:57.945 ****** 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, 54a71a34-b785-4574-a758-3ca064a7d9c5\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 54a71a34-b785-4574-a758-3ca064a7d9c5 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 54a71a34-b785-4574-a758-3ca064a7d9c5", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 54a71a34-b785-4574-a758-3ca064a7d9c5 (is-modified)" ] } } 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:35:37 +0000 (0:00:00.133) 0:00:58.079 ****** 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:35:37 +0000 (0:00:00.048) 0:00:58.127 ****** 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:35:38 +0000 (0:00:00.348) 0:00:58.476 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.005842", "end": "2022-08-03 17:35:38.070358", "rc": 0, "start": "2022-08-03 17:35:38.064516" } 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.073 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.073/0.073/0.073/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:35:38 +0000 (0:00:00.343) 0:00:58.820 ****** 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:35:38 +0000 (0:00:00.055) 0:00:58.875 ****** 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-2fe1-b4e8-000000000466", "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:35:38 +0000 (0:00:00.118) 0:00:58.994 ****** 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:35:38 +0000 (0:00:00.059) 0:00:59.053 ****** 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:35:38 +0000 (0:00:00.049) 0:00:59.102 ****** 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:35:38 +0000 (0:00:00.074) 0:00:59.177 ****** 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:35:38 +0000 (0:00:00.076) 0:00:59.253 ****** 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:35:39 +0000 (0:00:00.434) 0:00:59.688 ****** 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:35:40 +0000 (0:00:00.923) 0:01:00.611 ****** 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:35:41 +0000 (0:00:00.858) 0:01:01.469 ****** 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:35:41 +0000 (0:00:00.062) 0:01:01.532 ****** 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:35:41 +0000 (0:00:00.055) 0:01:01.587 ****** 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:35:41 +0000 (0:00:00.054) 0:01:01.641 ****** 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:35:41 +0000 (0:00:00.079) 0:01:01.721 ****** 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:35:41 +0000 (0:00:00.054) 0:01:01.775 ****** 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:35:41 +0000 (0:00:00.052) 0:01:01.827 ****** 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:35:41 +0000 (0:00:00.056) 0:01:01.884 ****** 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:35:41 +0000 (0:00:00.486) 0:01:02.371 ****** 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:35:41 +0000 (0:00:00.065) 0:01:02.436 ****** 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:35:42 +0000 (0:00:00.054) 0:01:02.491 ****** 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:35:42 +0000 (0:00:00.053) 0:01:02.544 ****** 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:35:42 +0000 (0:00:00.665) 0:01:03.209 ****** 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:35:42 +0000 (0:00:00.052) 0:01:03.262 ****** 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:35:42 +0000 (0:00:00.060) 0:01:03.323 ****** 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:35:42 +0000 (0:00:00.060) 0:01:03.384 ****** 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:35:42 +0000 (0:00:00.051) 0:01:03.435 ****** 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:35:43 +0000 (0:00:00.342) 0:01:03.778 ****** 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:35:43 +0000 (0:00:00.080) 0:01:03.859 ****** 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.070914", "end": "2022-08-03 17:35:43.513101", "rc": 0, "start": "2022-08-03 17:35:43.442187" } TASK [Kill hostapd process] **************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:11 Wednesday 03 August 2022 17:35:43 +0000 (0:00:00.438) 0:01:04.297 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.021684", "end": "2022-08-03 17:35:43.903195", "rc": 0, "start": "2022-08-03 17:35:43.881511" } TASK [Remove certs and config] ************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:14 Wednesday 03 August 2022 17:35:44 +0000 (0:00:00.357) 0:01:04.655 ****** 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:35:45 +0000 (0:00:00.930) 0:01:05.586 ****** 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:35:46 +0000 (0:00:01.222) 0:01:06.808 ****** 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:35:47 +0000 (0:00:00.650) 0:01:07.459 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.517158", "end": "2022-08-03 17:35:47.588658", "rc": 0, "start": "2022-08-03 17:35:47.071500" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=113 changed=26 unreachable=0 failed=0 skipped=68 rescued=1 ignored=0 Wednesday 03 August 2022 17:35:47 +0000 (0:00:00.899) 0:01:08.358 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.35s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:87 ----- Update NetworkManager --------------------------------------------------- 3.42s /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x_updated.yml:5 ----------- fedora.linux_system_roles.network : Configure networking connection profiles --- 2.78s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.70s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.59s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Copy server certificates ------------------------------------------------ 2.36s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:21 ----- Copy client certs ------------------------------------------------------- 2.23s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802.1x.yml:2 ------------- Remove test certificates ------------------------------------------------ 1.22s /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:109 ----------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 1.21s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /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 ---- 1.07s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmppolohs8h/tests/network/tests_802_1x_updated_nm.yml:5 ------------------ 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.94s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.94s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Remove certs and config ------------------------------------------------- 0.93s /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 : Check which packages are installed --- 0.92s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.90s /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:35:47 +0000 (0:00:00.039) 0:01:08.398 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006926", "end": "2022-08-03 17:35:47.996001", "rc": 0, "start": "2022-08-03 17:35:47.989075" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=114 changed=27 unreachable=0 failed=0 skipped=68 rescued=1 ignored=0 Wednesday 03 August 2022 17:35:48 +0000 (0:00:00.363) 0:01:08.761 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.35s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:87 ----- Update NetworkManager --------------------------------------------------- 3.42s /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x_updated.yml:5 ----------- fedora.linux_system_roles.network : Configure networking connection profiles --- 2.78s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.70s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.59s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Copy server certificates ------------------------------------------------ 2.36s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802_1x_server.yml:21 ----- Copy client certs ------------------------------------------------------- 2.23s /tmp/tmppolohs8h/tests/network/playbooks/tasks/setup_802.1x.yml:2 ------------- Remove test certificates ------------------------------------------------ 1.22s /tmp/tmppolohs8h/tests/network/playbooks/tests_802_1x.yml:109 ----------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 1.21s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /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 ---- 1.07s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmppolohs8h/tests/network/tests_802_1x_updated_nm.yml:5 ------------------ 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.94s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.94s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Remove certs and config ------------------------------------------------- 0.93s /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 : Check which packages are installed --- 0.92s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.90s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69