ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp40vowjjo executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp05ac0kav/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:6 Wednesday 03 August 2022 16:03:07 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659542586.0619354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542586.0619354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4338794, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2775974039", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp05ac0kav/tests/_backup.yml:13 Wednesday 03 August 2022 16:03:07 +0000 (0:00:00.587) 0:00:00.605 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-9.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 4338794, 'dev': 64513, 'nlink': 1, 'atime': 1659542586.0619354, 'mtime': 1659542505.0, 'ctime': 1659542586.0619354, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '2775974039', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659542586.0619354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542586.0619354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4338794, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2775974039", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:19 Wednesday 03 August 2022 16:03:07 +0000 (0:00:00.037) 0:00:00.642 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004396", "end": "2022-08-03 12:03:07.852332", "rc": 0, "start": "2022-08-03 12:03:07.847936" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:03:08 +0000 (0:00:00.504) 0:00:01.146 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.50s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_802_1x_updated_nm.yml ****************************************** 3 plays in /tmp/tmp05ac0kav/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/tmp05ac0kav/tests/tests_802_1x_updated_nm.yml:5 Wednesday 03 August 2022 16:03:08 +0000 (0:00:00.087) 0:00:01.234 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tests_802_1x_updated_nm.yml:8 Wednesday 03 August 2022 16:03:09 +0000 (0:00:01.045) 0:00:02.279 ****** included: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:03:09 +0000 (0:00:00.027) 0:00:02.307 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:03:09 +0000 (0:00:00.021) 0:00:02.328 ****** included: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:03:09 +0000 (0:00:00.028) 0:00:02.357 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:03:09 +0000 (0:00:00.023) 0:00:02.381 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:03:09 +0000 (0:00:00.021) 0:00:02.402 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:03:09 +0000 (0:00:00.020) 0:00:02.423 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp05ac0kav/tests/tests_802_1x_updated_nm.yml:9 Wednesday 03 August 2022 16:03:09 +0000 (0:00:00.020) 0:00:02.444 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x_updated.yml:3 Wednesday 03 August 2022 16:03:09 +0000 (0:00:00.047) 0:00:02.491 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Update NetworkManager] *************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x_updated.yml:5 Wednesday 03 August 2022 16:03:10 +0000 (0:00:00.817) 0:00:03.308 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: NetworkManager-1:1.39.10-1.el9.x86_64", "Installed: NetworkManager-libnm-1:1.39.10-1.el9.x86_64", "Installed: NetworkManager-team-1:1.39.10-1.el9.x86_64", "Installed: NetworkManager-tui-1:1.39.10-1.el9.x86_64", "Removed: NetworkManager-1:1.39.5-1.el9.x86_64", "Removed: NetworkManager-libnm-1:1.39.5-1.el9.x86_64", "Removed: NetworkManager-team-1:1.39.5-1.el9.x86_64", "Removed: NetworkManager-tui-1:1.39.5-1.el9.x86_64" ] } TASK [Restart NetworkManager] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x_updated.yml:9 Wednesday 03 August 2022 16:03:14 +0000 (0:00:04.097) 0:00:07.406 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:01:40 EDT", "ActiveEnterTimestampMonotonic": "4309019", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket network-pre.target basic.target dbus-broker.service systemd-journald.socket cloud-init-local.service system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:01:40 EDT", "AssertTimestampMonotonic": "4262032", "Before": "cloud-init.service network.target NetworkManager-wait-online.service shutdown.target network.service multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "276928000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_dac_override cap_kill cap_setgid cap_setuid cap_net_bind_service cap_net_admin cap_net_raw cap_sys_module cap_sys_chroot cap_audit_write", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:01:40 EDT", "ConditionTimestampMonotonic": "4262029", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "\"man:NetworkManager(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "730", "ExecMainStartTimestamp": "Wed 2022-08-03 12:01:40 EDT", "ExecMainStartTimestampMonotonic": "4262956", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:01:40 EDT", "InactiveExitTimestampMonotonic": "4263279", "InvocationID": "06fa4a469ed24c21bd83635cd3a65743", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "65536", "LimitNOFILESoft": "65536", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "730", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "12353536", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:03:13 EDT", "StateChangeTimestampMonotonic": "97850558", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:3 Wednesday 03 August 2022 16:03:15 +0000 (0:00:00.893) 0:00:08.299 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [INIT: 802.1x tests] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:7 Wednesday 03 August 2022 16:03:16 +0000 (0:00:00.789) 0:00:09.089 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:10 Wednesday 03 August 2022 16:03:16 +0000 (0:00:00.090) 0:00:09.180 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802.1x.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802.1x.yml:1 Wednesday 03 August 2022 16:03:16 +0000 (0:00:00.043) 0:00:09.223 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml for /cache/centos-9.qcow2.snap TASK [Install hostapd via CentOS Stream] *************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:4 Wednesday 03 August 2022 16:03:16 +0000 (0:00:00.046) 0:00:09.269 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install hostapd] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:11 Wednesday 03 August 2022 16:03:16 +0000 (0:00:00.032) 0:00:09.302 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create directory for test certificates] ********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:16 Wednesday 03 August 2022 16:03:17 +0000 (0:00:00.881) 0:00:10.184 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/hostapd_test", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Copy server certificates] ************************************************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:21 Wednesday 03 August 2022 16:03:17 +0000 (0:00:00.495) 0:00:10.679 ****** changed: [/cache/centos-9.qcow2.snap] => (item=server.key) => { "ansible_loop_var": "item", "changed": true, "checksum": "cdb9dc915fdc71f7fd22ad887def7ecffab6cb6e", "dest": "/etc/pki/tls/hostapd_test/server.key", "gid": 0, "group": "root", "item": "server.key", "md5sum": "cd4f4d7098e86ee9d0e88e61f0c44ec4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1659542598.098937-63233-206009766725387/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=dh.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "bf0f85791e75de8be4c2d350f275a2ba11387409", "dest": "/etc/pki/tls/hostapd_test/dh.pem", "gid": 0, "group": "root", "item": "dh.pem", "md5sum": "4113e34f62361150e6900c737183327e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 424, "src": "/root/.ansible/tmp/ansible-tmp-1659542598.8235986-63233-151820045666070/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=server.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "8e23f3b43e1d5346659d6e46a7415d5da14128a0", "dest": "/etc/pki/tls/hostapd_test/server.pem", "gid": 0, "group": "root", "item": "server.pem", "md5sum": "7b57077d9e9aea06a4e2dd4ca1f4be7d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1659542599.4465675-63233-60109993197030/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/hostapd_test/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659542600.0858617-63233-135560594583070/source", "state": "file", "uid": 0 } TASK [Create test interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:32 Wednesday 03 August 2022 16:03:20 +0000 (0:00:02.693) 0:00:13.372 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip link add veth1 type veth peer name veth1-br\nip link add veth2 type veth peer name veth2-br\n\nip link add br1 type bridge\nip link set br1 up\n\nip netns add ns1\n\nip link set veth1 netns ns1\n\nip netns exec ns1 ip addr add 203.0.113.1/24 dev veth1\n\nip link set veth1-br up\nip link set veth2-br up\n\nip link set veth1-br master br1\nip link set veth2-br master br1\n\nip netns exec ns1 ip link set veth1 up\nip link set veth2 up\n\n# Enable forwarding of EAP 802.1x messages through software bridge \"br1\".\necho 8 > /sys/class/net/br1/bridge/group_fwd_mask\n", "delta": "0:00:00.071935", "end": "2022-08-03 12:03:20.556841", "rc": 0, "start": "2022-08-03 12:03:20.484906" } TASK [Create hostapd config] *************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:59 Wednesday 03 August 2022 16:03:21 +0000 (0:00:00.470) 0:00:13.843 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "63d57fa1df50be4e935d3ebaf25081e64c6f3cce", "dest": "/etc/hostapd/wired.conf", "gid": 0, "group": "root", "md5sum": "925e7b62de46d20b695d58823d8e706b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 397, "src": "/root/.ansible/tmp/ansible-tmp-1659542601.2258937-63352-170748737552459/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:80 Wednesday 03 August 2022 16:03:21 +0000 (0:00:00.697) 0:00:14.540 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "efe2ba91d712f9e07f9ad035796dc766d91b1f4e", "dest": "/etc/hostapd/hostapd.eap_user", "gid": 0, "group": "root", "md5sum": "51fa368b94ad6544dbd0ac27754ed092", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 6, "src": "/root/.ansible/tmp/ansible-tmp-1659542601.9270844-63380-174937238859592/source", "state": "file", "uid": 0 } TASK [Run hostapd in namespace] ************************************************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:87 Wednesday 03 August 2022 16:03:22 +0000 (0:00:00.694) 0:00:15.235 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.028017", "end": "2022-08-03 12:03:27.361018", "rc": 0, "start": "2022-08-03 12:03:22.333001" } STDOUT: veth1: interface state UNINITIALIZED->ENABLED veth1: AP-ENABLED TASK [Copy client certs] ******************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802.1x.yml:2 Wednesday 03 August 2022 16:03:27 +0000 (0:00:05.411) 0:00:20.646 ****** changed: [/cache/centos-9.qcow2.snap] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "checksum": "4e613674a093ce2b6f3f7838c417ae52497298d9", "dest": "/etc/pki/tls/client.key", "gid": 0, "group": "root", "item": "client.key", "md5sum": "04ac780ee7f45b957931ef5904ff1db3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1659542608.0368655-63424-134349719684933/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=client.key.nocrypt) => { "ansible_loop_var": "item", "changed": true, "checksum": "da377753604d62ad8a5da4b67cd4e98e9a66433b", "dest": "/etc/pki/tls/client.key.nocrypt", "gid": 0, "group": "root", "item": "client.key.nocrypt", "md5sum": "cd7792b2fbafd1669e6d5e519cbdb6c6", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1675, "src": "/root/.ansible/tmp/ansible-tmp-1659542608.711612-63424-221531630746731/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "f872445a88ad99f43f281c911af2329b323c43b1", "dest": "/etc/pki/tls/client.pem", "gid": 0, "group": "root", "item": "client.pem", "md5sum": "2ee1d9c042ecfad6cb2240c0a310b993", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1659542609.386327-63424-259625367746967/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659542610.0314872-63424-50107944929861/source", "state": "file", "uid": 0 } TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:12 Wednesday 03 August 2022 16:03:30 +0000 (0:00:02.696) 0:00:23.342 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:03:30 +0000 (0:00:00.046) 0:00:23.388 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:03:30 +0000 (0:00:00.055) 0:00:23.444 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:03:31 +0000 (0:00:00.533) 0:00:23.978 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:03:32 +0000 (0:00:01.630) 0:00:25.609 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:03:33 +0000 (0:00:01.027) 0:00:26.636 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:03:34 +0000 (0:00:00.063) 0:00:26.699 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:03:34 +0000 (0:00:00.056) 0:00:26.755 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:03:34 +0000 (0:00:00.054) 0:00:26.810 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:03:34 +0000 (0:00:00.078) 0:00:26.888 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:03:34 +0000 (0:00:00.055) 0:00:26.943 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:03:34 +0000 (0:00:00.058) 0:00:27.002 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:03:34 +0000 (0:00:00.077) 0:00:27.080 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:03:34 +0000 (0:00:00.574) 0:00:27.654 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ActiveEnterTimestampMonotonic": "41349140", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target systemd-journald.socket system.slice dbus-broker.service dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:02:17 EDT", "AssertTimestampMonotonic": "41342002", "Before": "multi-user.target network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "122899000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ConditionTimestampMonotonic": "41342000", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13983", "ExecMainStartTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ExecMainStartTimestampMonotonic": "41343017", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:02:17 EDT", "InactiveExitTimestampMonotonic": "41343354", "InvocationID": "f4f21197b6584d9db7914cfa75945f23", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13983", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3469312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:03:13 EDT", "StateChangeTimestampMonotonic": "97851260", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:03:35 +0000 (0:00:00.546) 0:00:28.201 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:03:35 +0000 (0:00:00.051) 0:00:28.253 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:03:35 +0000 (0:00:00.055) 0:00:28.308 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, f00217df-04cd-47da-8592-25da185f6c2f [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, f00217df-04cd-47da-8592-25da185f6c2f (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:03:38 +0000 (0:00:02.851) 0:00:31.160 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.053) 0:00:31.213 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, f00217df-04cd-47da-8592-25da185f6c2f", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, f00217df-04cd-47da-8592-25da185f6c2f (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.061) 0:00:31.275 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, f00217df-04cd-47da-8592-25da185f6c2f\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, f00217df-04cd-47da-8592-25da185f6c2f (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, f00217df-04cd-47da-8592-25da185f6c2f", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, f00217df-04cd-47da-8592-25da185f6c2f (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.066) 0:00:31.341 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.053) 0:00:31.395 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:38 Wednesday 03 August 2022 16:03:39 +0000 (0:00:00.571) 0:00:31.966 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004253", "end": "2022-08-03 12:03:39.062071", "rc": 0, "start": "2022-08-03 12:03:39.057818" } 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.076 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.076/0.076/0.076/0.000 ms TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:03:39 +0000 (0:00:00.394) 0:00:32.361 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:03:39 +0000 (0:00:00.087) 0:00:32.449 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:03:40 +0000 (0:00:00.558) 0:00:33.007 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:03:41 +0000 (0:00:01.471) 0:00:34.479 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.892) 0:00:35.372 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.069) 0:00:35.441 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.063) 0:00:35.505 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.062) 0:00:35.567 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.083) 0:00:35.650 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:03:43 +0000 (0:00:00.063) 0:00:35.714 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:03:43 +0000 (0:00:00.060) 0:00:35.775 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:03:43 +0000 (0:00:00.066) 0:00:35.841 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:03:43 +0000 (0:00:00.579) 0:00:36.421 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:03:43 +0000 (0:00:00.067) 0:00:36.489 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:03:43 +0000 (0:00:00.060) 0:00:36.549 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:03:43 +0000 (0:00:00.056) 0:00:36.606 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:03:44 +0000 (0:00:00.663) 0:00:37.269 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:03:44 +0000 (0:00:00.062) 0:00:37.331 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:03:44 +0000 (0:00:00.071) 0:00:37.403 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:03:44 +0000 (0:00:00.068) 0:00:37.472 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:03:44 +0000 (0:00:00.060) 0:00:37.533 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: 802.1x profile with unencrypted private key, domain suffix match, and system ca certs] *** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:48 Wednesday 03 August 2022 16:03:45 +0000 (0:00:00.427) 0:00:37.960 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [Copy cacert to system truststore] **************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:53 Wednesday 03 August 2022 16:03:45 +0000 (0:00:00.063) 0:00:38.024 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/ca-trust/source/anchors/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659542625.407386-63813-138346486961511/source", "state": "file", "uid": 0 } TASK [Update ca trust] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:58 Wednesday 03 August 2022 16:03:46 +0000 (0:00:00.700) 0:00:38.725 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.225538", "end": "2022-08-03 12:03:46.030124", "rc": 0, "start": "2022-08-03 12:03:45.804586" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:03:46 +0000 (0:00:00.601) 0:00:39.326 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:03:46 +0000 (0:00:00.083) 0:00:39.410 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:03:47 +0000 (0:00:00.559) 0:00:39.969 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:03:48 +0000 (0:00:01.486) 0:00:41.456 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.838) 0:00:42.295 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.094) 0:00:42.389 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.096) 0:00:42.486 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.088) 0:00:42.575 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:03:50 +0000 (0:00:00.121) 0:00:42.696 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:03:50 +0000 (0:00:00.068) 0:00:42.764 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:03:50 +0000 (0:00:00.057) 0:00:42.822 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:03:50 +0000 (0:00:00.060) 0:00:42.883 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:03:50 +0000 (0:00:00.562) 0:00:43.446 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ActiveEnterTimestampMonotonic": "41349140", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target systemd-journald.socket system.slice dbus-broker.service dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:02:17 EDT", "AssertTimestampMonotonic": "41342002", "Before": "multi-user.target network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "143154000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ConditionTimestampMonotonic": "41342000", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13983", "ExecMainStartTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ExecMainStartTimestampMonotonic": "41343017", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:02:17 EDT", "InactiveExitTimestampMonotonic": "41343354", "InvocationID": "f4f21197b6584d9db7914cfa75945f23", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13983", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3469312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:03:13 EDT", "StateChangeTimestampMonotonic": "97851260", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:03:51 +0000 (0:00:00.548) 0:00:43.995 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:03:51 +0000 (0:00:00.053) 0:00:44.048 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:03:51 +0000 (0:00:00.054) 0:00:44.103 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ], "system_ca_certs": true }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 9f184039-6882-42f5-b7a6-caff5fdd46c5 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 9f184039-6882-42f5-b7a6-caff5fdd46c5 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:03:54 +0000 (0:00:02.748) 0:00:46.851 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:03:54 +0000 (0:00:00.056) 0:00:46.908 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 9f184039-6882-42f5-b7a6-caff5fdd46c5", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 9f184039-6882-42f5-b7a6-caff5fdd46c5 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:03:54 +0000 (0:00:00.065) 0:00:46.974 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ], "system_ca_certs": true }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 9f184039-6882-42f5-b7a6-caff5fdd46c5\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 9f184039-6882-42f5-b7a6-caff5fdd46c5 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 9f184039-6882-42f5-b7a6-caff5fdd46c5", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 9f184039-6882-42f5-b7a6-caff5fdd46c5 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:03:54 +0000 (0:00:00.064) 0:00:47.039 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:03:54 +0000 (0:00:00.056) 0:00:47.095 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:83 Wednesday 03 August 2022 16:03:54 +0000 (0:00:00.436) 0:00:47.531 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.003538", "end": "2022-08-03 12:03:54.683050", "rc": 0, "start": "2022-08-03 12:03:54.679512" } 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.058 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.058/0.058/0.058/0.000 ms TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:03:55 +0000 (0:00:00.446) 0:00:47.978 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:03:55 +0000 (0:00:00.083) 0:00:48.061 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:03:55 +0000 (0:00:00.561) 0:00:48.623 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:03:58 +0000 (0:00:02.521) 0:00:51.144 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.833) 0:00:51.978 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.066) 0:00:52.044 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.061) 0:00:52.106 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.062) 0:00:52.169 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.083) 0:00:52.252 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.058) 0:00:52.310 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.058) 0:00:52.368 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:03:59 +0000 (0:00:00.062) 0:00:52.431 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:04:00 +0000 (0:00:00.577) 0:00:53.009 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:04:00 +0000 (0:00:00.067) 0:00:53.076 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:04:00 +0000 (0:00:00.092) 0:00:53.169 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:04:00 +0000 (0:00:00.060) 0:00:53.229 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:04:01 +0000 (0:00:00.620) 0:00:53.850 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:04:01 +0000 (0:00:00.060) 0:00:53.910 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:04:01 +0000 (0:00:00.072) 0:00:53.983 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:04:01 +0000 (0:00:00.071) 0:00:54.055 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:04:01 +0000 (0:00:00.065) 0:00:54.120 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:94 Wednesday 03 August 2022 16:04:01 +0000 (0:00:00.442) 0:00:54.563 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml for /cache/centos-9.qcow2.snap TASK [TEST: 802.1x profile with unencrypted private key and ca_path] *********** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:2 Wednesday 03 August 2022 16:04:01 +0000 (0:00:00.112) 0:00:54.676 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:6 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.126) 0:00:54.802 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ] }, "changed": false } TASK [Create directory for ca_path test] *************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:22 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.056) 0:00:54.859 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/my_ca_certs", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Copy cacert to ca_path] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:27 Wednesday 03 August 2022 16:04:02 +0000 (0:00:00.400) 0:00:55.259 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/my_ca_certs/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659542642.645868-64161-85677820948965/source", "state": "file", "uid": 0 } TASK [Install openssl (test dependency)] *************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:32 Wednesday 03 August 2022 16:04:03 +0000 (0:00:00.713) 0:00:55.972 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Hash cacert] ************************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:36 Wednesday 03 August 2022 16:04:04 +0000 (0:00:00.875) 0:00:56.848 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem" ], "delta": "0:00:00.049214", "end": "2022-08-03 12:04:04.001260", "rc": 0, "start": "2022-08-03 12:04:03.952046" } STDOUT: d1b7d027 TASK [Add symlink for cacert] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:41 Wednesday 03 August 2022 16:04:04 +0000 (0:00:00.458) 0:00:57.306 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "dest": "/etc/pki/tls/my_ca_certs/d1b7d027.0", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 10, "src": "cacert.pem", "state": "link", "uid": 0 } TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:46 Wednesday 03 August 2022 16:04:05 +0000 (0:00:00.433) 0:00:57.740 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.177132", "end": "2022-08-03 12:04:05.063872", "rc": 0, "start": "2022-08-03 12:04:04.886740" } STDOUT: NetworkManager-1.39.10-1.el9.x86_64 TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:04:05 +0000 (0:00:00.628) 0:00:58.368 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:04:05 +0000 (0:00:00.123) 0:00:58.491 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:04:06 +0000 (0:00:00.527) 0:00:59.019 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:04:07 +0000 (0:00:01.501) 0:01:00.521 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:04:08 +0000 (0:00:00.779) 0:01:01.300 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:04:08 +0000 (0:00:00.088) 0:01:01.389 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:04:08 +0000 (0:00:00.052) 0:01:01.442 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:04:08 +0000 (0:00:00.048) 0:01:01.490 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:04:08 +0000 (0:00:00.073) 0:01:01.563 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:04:08 +0000 (0:00:00.048) 0:01:01.611 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:04:08 +0000 (0:00:00.049) 0:01:01.660 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:04:09 +0000 (0:00:00.058) 0:01:01.719 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:04:09 +0000 (0:00:00.557) 0:01:02.277 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ActiveEnterTimestampMonotonic": "41349140", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target systemd-journald.socket system.slice dbus-broker.service dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:02:17 EDT", "AssertTimestampMonotonic": "41342002", "Before": "multi-user.target network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "225335000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ConditionTimestampMonotonic": "41342000", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13983", "ExecMainStartTimestamp": "Wed 2022-08-03 12:02:17 EDT", "ExecMainStartTimestampMonotonic": "41343017", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:02:17 EDT", "InactiveExitTimestampMonotonic": "41343354", "InvocationID": "f4f21197b6584d9db7914cfa75945f23", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13983", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3547136", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:03:13 EDT", "StateChangeTimestampMonotonic": "97851260", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:04:10 +0000 (0:00:00.532) 0:01:02.810 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:04:10 +0000 (0:00:00.050) 0:01:02.860 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:04:10 +0000 (0:00:00.049) 0:01:02.910 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 7b56f375-1f8c-483c-8d4d-a11c94b47cc6 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 7b56f375-1f8c-483c-8d4d-a11c94b47cc6 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:04:12 +0000 (0:00:02.762) 0:01:05.672 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:04:13 +0000 (0:00:00.051) 0:01:05.724 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 7b56f375-1f8c-483c-8d4d-a11c94b47cc6", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 7b56f375-1f8c-483c-8d4d-a11c94b47cc6 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:04:13 +0000 (0:00:00.060) 0:01:05.784 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 7b56f375-1f8c-483c-8d4d-a11c94b47cc6\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 7b56f375-1f8c-483c-8d4d-a11c94b47cc6 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 7b56f375-1f8c-483c-8d4d-a11c94b47cc6", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 7b56f375-1f8c-483c-8d4d-a11c94b47cc6 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:04:13 +0000 (0:00:00.061) 0:01:05.845 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:04:13 +0000 (0:00:00.050) 0:01:05.895 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:75 Wednesday 03 August 2022 16:04:13 +0000 (0:00:00.388) 0:01:06.284 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.003684", "end": "2022-08-03 12:04:13.416230", "rc": 0, "start": "2022-08-03 12:04:13.412546" } 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.071 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.071/0.071/0.071/0.000 ms TASK [trigger failure in case the role did not fail] *************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:77 Wednesday 03 August 2022 16:04:14 +0000 (0:00:00.427) 0:01:06.711 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false } MSG: after test TASK [Show failed item] ******************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:81 Wednesday 03 August 2022 16:04:14 +0000 (0:00:00.061) 0:01:06.773 ****** ok: [/cache/centos-9.qcow2.snap] => (item=ansible_failed_result) => { "ansible_failed_result": { "changed": false, "failed": true, "msg": "after test" }, "ansible_loop_var": "item", "item": "ansible_failed_result" } ok: [/cache/centos-9.qcow2.snap] => (item=ansible_failed_task) => { "ansible_failed_task": { "action": "fail", "any_errors_fatal": false, "args": { "msg": "after test" }, "async": 0, "async_val": 0, "become": false, "become_exe": null, "become_flags": null, "become_method": "sudo", "become_user": null, "changed_when": [], "check_mode": false, "collections": [], "connection": "smart", "debugger": null, "delay": 5, "delegate_facts": null, "delegate_to": null, "diff": false, "environment": [ {} ], "failed_when": [], "finalized": true, "ignore_errors": null, "ignore_unreachable": null, "loop": null, "loop_control": null, "loop_with": null, "module_defaults": [], "name": "trigger failure in case the role did not fail", "no_log": null, "notify": null, "poll": 15, "port": null, "register": null, "remote_user": null, "retries": 3, "run_once": null, "squashed": true, "tags": [], "throttle": 0, "timeout": 0, "until": [], "uuid": "0a58ac36-193e-266d-0317-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-9.qcow2.snap] => (item=__network_NM_NVR.stdout) => { "__network_NM_NVR.stdout": "NetworkManager-1.39.10-1.el9.x86_64", "ansible_loop_var": "item", "item": "__network_NM_NVR.stdout" } ok: [/cache/centos-9.qcow2.snap] => (item=__NM_capath_ignored_NVRs) => { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ], "ansible_loop_var": "item", "item": "__NM_capath_ignored_NVRs" } TASK [Assert role behavior] **************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:91 Wednesday 03 August 2022 16:04:14 +0000 (0:00:00.115) 0:01:06.889 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert role failure] ***************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:101 Wednesday 03 August 2022 16:04:14 +0000 (0:00:00.063) 0:01:06.952 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ping succeeded] *************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/test_802.1x_capath.yml:110 Wednesday 03 August 2022 16:04:14 +0000 (0:00:00.059) 0:01:07.012 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:04:14 +0000 (0:00:00.064) 0:01:07.077 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:04:14 +0000 (0:00:00.078) 0:01:07.156 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:04:15 +0000 (0:00:00.552) 0:01:07.708 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:04:16 +0000 (0:00:01.520) 0:01:09.228 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:04:17 +0000 (0:00:00.775) 0:01:10.004 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:04:17 +0000 (0:00:00.066) 0:01:10.070 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:04:17 +0000 (0:00:00.057) 0:01:10.127 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:04:17 +0000 (0:00:00.056) 0:01:10.184 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:04:17 +0000 (0:00:00.078) 0:01:10.262 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:04:17 +0000 (0:00:00.055) 0:01:10.318 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:04:17 +0000 (0:00:00.057) 0:01:10.375 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:04:17 +0000 (0:00:00.099) 0:01:10.474 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:04:18 +0000 (0:00:00.571) 0:01:11.046 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:04:18 +0000 (0:00:00.062) 0:01:11.108 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:04:18 +0000 (0:00:00.059) 0:01:11.167 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:04:18 +0000 (0:00:00.050) 0:01:11.218 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" }, { "name": "br1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:04:19 +0000 (0:00:00.658) 0:01:11.877 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:04:19 +0000 (0:00:00.057) 0:01:11.935 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:04:19 +0000 (0:00:00.063) 0:01:11.998 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" }, { "name": "br1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete\n", "stderr_lines": [ "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:04:19 +0000 (0:00:00.065) 0:01:12.063 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:04:19 +0000 (0:00:00.055) 0:01:12.119 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:108 Wednesday 03 August 2022 16:04:19 +0000 (0:00:00.408) 0:01:12.528 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/cleanup_802_1x_server.yml for /cache/centos-9.qcow2.snap TASK [Remove test interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/cleanup_802_1x_server.yml:3 Wednesday 03 August 2022 16:04:19 +0000 (0:00:00.074) 0:01:12.602 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip netns delete ns1\nip link delete veth1-br\nip link delete veth2-br\nip link delete br1\n", "delta": "0:00:00.056657", "end": "2022-08-03 12:04:19.746720", "rc": 0, "start": "2022-08-03 12:04:19.690063" } TASK [Kill hostapd process] **************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/cleanup_802_1x_server.yml:11 Wednesday 03 August 2022 16:04:20 +0000 (0:00:00.442) 0:01:13.045 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.012181", "end": "2022-08-03 12:04:20.148404", "rc": 0, "start": "2022-08-03 12:04:20.136223" } TASK [Remove certs and config] ************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 Wednesday 03 August 2022 16:04:20 +0000 (0:00:00.406) 0:01:13.452 ****** changed: [/cache/centos-9.qcow2.snap] => (item=/etc/pki/tls/hostapd_test) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/hostapd_test", "path": "/etc/pki/tls/hostapd_test", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=/etc/hostapd/wired.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/wired.conf", "path": "/etc/hostapd/wired.conf", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=/etc/hostapd/hostapd.eap_user) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/hostapd.eap_user", "path": "/etc/hostapd/hostapd.eap_user", "state": "absent" } TASK [Remove test certificates] ************************************************ task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:109 Wednesday 03 August 2022 16:04:21 +0000 (0:00:01.134) 0:01:14.586 ****** changed: [/cache/centos-9.qcow2.snap] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "item": "client.key", "path": "/etc/pki/tls/client.key", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=client.key.nocrypt) => { "ansible_loop_var": "item", "changed": true, "item": "client.key.nocrypt", "path": "/etc/pki/tls/client.key.nocrypt", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "item": "client.pem", "path": "/etc/pki/tls/client.pem", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "item": "cacert.pem", "path": "/etc/pki/tls/cacert.pem", "state": "absent" } TASK [Remove test CA] ********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:118 Wednesday 03 August 2022 16:04:23 +0000 (0:00:01.510) 0:01:16.097 ****** changed: [/cache/centos-9.qcow2.snap] => (item=/etc/pki/tls/my_ca_certs) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/my_ca_certs", "path": "/etc/pki/tls/my_ca_certs", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=/etc/pki/ca-trust/source/anchors/cacert.pem) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/ca-trust/source/anchors/cacert.pem", "path": "/etc/pki/ca-trust/source/anchors/cacert.pem", "state": "absent" } TASK [Update ca trust] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:125 Wednesday 03 August 2022 16:04:24 +0000 (0:00:00.771) 0:01:16.869 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.227650", "end": "2022-08-03 12:04:24.213486", "rc": 0, "start": "2022-08-03 12:04:23.985836" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=111 changed=26 unreachable=0 failed=0 skipped=70 rescued=1 ignored=0 Wednesday 03 August 2022 16:04:24 +0000 (0:00:00.664) 0:01:17.533 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.41s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:87 ------------- Update NetworkManager --------------------------------------------------- 4.10s /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x_updated.yml:5 ------------------- linux-system-roles.network : Configure networking connection profiles --- 2.85s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.76s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.75s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Copy client certs ------------------------------------------------------- 2.70s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802.1x.yml:2 --------------------- Copy server certificates ------------------------------------------------ 2.69s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:21 ------------- linux-system-roles.network : Check which services are running ----------- 2.52s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.63s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.52s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Remove test certificates ------------------------------------------------ 1.51s /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:109 ------------------------- linux-system-roles.network : Check which services are running ----------- 1.50s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.49s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.47s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.28s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 1.16s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Remove certs and config ------------------------------------------------- 1.13s /tmp/tmp05ac0kav/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 ----------- Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp05ac0kav/tests/tests_802_1x_updated_nm.yml:5 -------------------------- linux-system-roles.network : Check which packages are installed --------- 1.03s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Restart NetworkManager -------------------------------------------------- 0.89s /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x_updated.yml:9 ------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp05ac0kav/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_restore.yml:4 Wednesday 03 August 2022 16:04:24 +0000 (0:00:00.044) 0:01:17.578 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005758", "end": "2022-08-03 12:04:24.702002", "rc": 0, "start": "2022-08-03 12:04:24.696244" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=112 changed=27 unreachable=0 failed=0 skipped=70 rescued=1 ignored=0 Wednesday 03 August 2022 16:04:25 +0000 (0:00:00.462) 0:01:18.040 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.41s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:87 ------------- Update NetworkManager --------------------------------------------------- 4.10s /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x_updated.yml:5 ------------------- linux-system-roles.network : Configure networking connection profiles --- 2.85s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.76s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 2.75s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Copy client certs ------------------------------------------------------- 2.70s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802.1x.yml:2 --------------------- Copy server certificates ------------------------------------------------ 2.69s /tmp/tmp05ac0kav/tests/playbooks/tasks/setup_802_1x_server.yml:21 ------------- linux-system-roles.network : Check which services are running ----------- 2.52s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.63s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.52s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Remove test certificates ------------------------------------------------ 1.51s /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x.yml:109 ------------------------- linux-system-roles.network : Check which services are running ----------- 1.50s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.49s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.47s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.28s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 1.16s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Remove certs and config ------------------------------------------------- 1.13s /tmp/tmp05ac0kav/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 ----------- Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp05ac0kav/tests/tests_802_1x_updated_nm.yml:5 -------------------------- linux-system-roles.network : Check which packages are installed --------- 1.03s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Restart NetworkManager -------------------------------------------------- 0.89s /tmp/tmp05ac0kav/tests/playbooks/tests_802_1x_updated.yml:9 ------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp40vowjjo executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpem3y1lsc/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:24:18 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659543856.1999025, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543856.1999025, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4338794, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2775974039", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:24:18 +0000 (0:00:00.599) 0:00:00.617 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-9.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 4338794, 'dev': 64513, 'nlink': 1, 'atime': 1659543856.1999025, 'mtime': 1659543778.0, 'ctime': 1659543856.1999025, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '2775974039', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659543856.1999025, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543856.1999025, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4338794, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2775974039", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:24:18 +0000 (0:00:00.038) 0:00:00.655 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004265", "end": "2022-08-03 12:24:17.992061", "rc": 0, "start": "2022-08-03 12:24:17.987796" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:24:19 +0000 (0:00:00.509) 0:00:01.165 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.51s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_802_1x_updated_nm.yml ****************************************** 3 plays in /tmp/tmpem3y1lsc/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/tmpem3y1lsc/tests/network/tests_802_1x_updated_nm.yml:5 Wednesday 03 August 2022 16:24:19 +0000 (0:00:00.103) 0:00:01.268 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_802_1x_updated_nm.yml:8 Wednesday 03 August 2022 16:24:20 +0000 (0:00:01.036) 0:00:02.305 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:24:20 +0000 (0:00:00.027) 0:00:02.332 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:24:20 +0000 (0:00:00.021) 0:00:02.354 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:24:20 +0000 (0:00:00.028) 0:00:02.382 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:24:20 +0000 (0:00:00.020) 0:00:02.402 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:24:20 +0000 (0:00:00.021) 0:00:02.424 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:24:20 +0000 (0:00:00.020) 0:00:02.445 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_802_1x_updated_nm.yml:9 Wednesday 03 August 2022 16:24:20 +0000 (0:00:00.021) 0:00:02.466 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x_updated.yml:3 Wednesday 03 August 2022 16:24:20 +0000 (0:00:00.044) 0:00:02.510 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Update NetworkManager] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x_updated.yml:5 Wednesday 03 August 2022 16:24:21 +0000 (0:00:00.828) 0:00:03.339 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: NetworkManager-1:1.39.10-1.el9.x86_64", "Installed: NetworkManager-libnm-1:1.39.10-1.el9.x86_64", "Installed: NetworkManager-team-1:1.39.10-1.el9.x86_64", "Installed: NetworkManager-tui-1:1.39.10-1.el9.x86_64", "Removed: NetworkManager-1:1.39.5-1.el9.x86_64", "Removed: NetworkManager-libnm-1:1.39.5-1.el9.x86_64", "Removed: NetworkManager-team-1:1.39.5-1.el9.x86_64", "Removed: NetworkManager-tui-1:1.39.5-1.el9.x86_64" ] } TASK [Restart NetworkManager] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x_updated.yml:9 Wednesday 03 August 2022 16:24:23 +0000 (0:00:02.204) 0:00:05.544 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:22:53 EDT", "ActiveEnterTimestampMonotonic": "4191107", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "cloud-init-local.service sysinit.target systemd-journald.socket system.slice network-pre.target dbus.socket dbus-broker.service basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:22:53 EDT", "AssertTimestampMonotonic": "4141622", "Before": "network.service multi-user.target cloud-init.service NetworkManager-wait-online.service shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "306979000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_dac_override cap_kill cap_setgid cap_setuid cap_net_bind_service cap_net_admin cap_net_raw cap_sys_module cap_sys_chroot cap_audit_write", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:22:53 EDT", "ConditionTimestampMonotonic": "4141620", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "\"man:NetworkManager(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "729", "ExecMainStartTimestamp": "Wed 2022-08-03 12:22:53 EDT", "ExecMainStartTimestampMonotonic": "4143041", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:22:53 EDT", "InactiveExitTimestampMonotonic": "4143259", "InvocationID": "d95f1aa903784d0f92ff396e585cbfd9", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "65536", "LimitNOFILESoft": "65536", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "729", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "14409728", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:24:22 EDT", "StateChangeTimestampMonotonic": "93114321", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:3 Wednesday 03 August 2022 16:24:24 +0000 (0:00:00.922) 0:00:06.466 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [INIT: 802.1x tests] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:7 Wednesday 03 August 2022 16:24:25 +0000 (0:00:00.809) 0:00:07.276 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:10 Wednesday 03 August 2022 16:24:25 +0000 (0:00:00.042) 0:00:07.318 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802.1x.yml for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802.1x.yml:1 Wednesday 03 August 2022 16:24:25 +0000 (0:00:00.040) 0:00:07.358 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml for /cache/centos-9.qcow2.snap TASK [Install hostapd via CentOS Stream] *************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:4 Wednesday 03 August 2022 16:24:25 +0000 (0:00:00.041) 0:00:07.400 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install hostapd] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:11 Wednesday 03 August 2022 16:24:25 +0000 (0:00:00.031) 0:00:07.432 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create directory for test certificates] ********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:16 Wednesday 03 August 2022 16:24:26 +0000 (0:00:00.892) 0:00:08.324 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/hostapd_test", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Copy server certificates] ************************************************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:21 Wednesday 03 August 2022 16:24:26 +0000 (0:00:00.566) 0:00:08.890 ****** changed: [/cache/centos-9.qcow2.snap] => (item=server.key) => { "ansible_loop_var": "item", "changed": true, "checksum": "cdb9dc915fdc71f7fd22ad887def7ecffab6cb6e", "dest": "/etc/pki/tls/hostapd_test/server.key", "gid": 0, "group": "root", "item": "server.key", "md5sum": "cd4f4d7098e86ee9d0e88e61f0c44ec4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1659543867.011238-96906-151802772527158/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=dh.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "bf0f85791e75de8be4c2d350f275a2ba11387409", "dest": "/etc/pki/tls/hostapd_test/dh.pem", "gid": 0, "group": "root", "item": "dh.pem", "md5sum": "4113e34f62361150e6900c737183327e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 424, "src": "/root/.ansible/tmp/ansible-tmp-1659543867.8070853-96906-260918323307914/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=server.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "8e23f3b43e1d5346659d6e46a7415d5da14128a0", "dest": "/etc/pki/tls/hostapd_test/server.pem", "gid": 0, "group": "root", "item": "server.pem", "md5sum": "7b57077d9e9aea06a4e2dd4ca1f4be7d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1659543868.479196-96906-87413215401363/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/hostapd_test/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659543869.154618-96906-270929607958815/source", "state": "file", "uid": 0 } TASK [Create test interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:32 Wednesday 03 August 2022 16:24:29 +0000 (0:00:02.888) 0:00:11.779 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip link add veth1 type veth peer name veth1-br\nip link add veth2 type veth peer name veth2-br\n\nip link add br1 type bridge\nip link set br1 up\n\nip netns add ns1\n\nip link set veth1 netns ns1\n\nip netns exec ns1 ip addr add 203.0.113.1/24 dev veth1\n\nip link set veth1-br up\nip link set veth2-br up\n\nip link set veth1-br master br1\nip link set veth2-br master br1\n\nip netns exec ns1 ip link set veth1 up\nip link set veth2 up\n\n# Enable forwarding of EAP 802.1x messages through software bridge \"br1\".\necho 8 > /sys/class/net/br1/bridge/group_fwd_mask\n", "delta": "0:00:00.078005", "end": "2022-08-03 12:24:29.075928", "rc": 0, "start": "2022-08-03 12:24:28.997923" } TASK [Create hostapd config] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:59 Wednesday 03 August 2022 16:24:30 +0000 (0:00:00.475) 0:00:12.254 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "63d57fa1df50be4e935d3ebaf25081e64c6f3cce", "dest": "/etc/hostapd/wired.conf", "gid": 0, "group": "root", "md5sum": "925e7b62de46d20b695d58823d8e706b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 397, "src": "/root/.ansible/tmp/ansible-tmp-1659543870.3326097-97025-167888108861915/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:80 Wednesday 03 August 2022 16:24:30 +0000 (0:00:00.709) 0:00:12.964 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "efe2ba91d712f9e07f9ad035796dc766d91b1f4e", "dest": "/etc/hostapd/hostapd.eap_user", "gid": 0, "group": "root", "md5sum": "51fa368b94ad6544dbd0ac27754ed092", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 6, "src": "/root/.ansible/tmp/ansible-tmp-1659543871.0413136-97053-267380654374942/source", "state": "file", "uid": 0 } TASK [Run hostapd in namespace] ************************************************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:87 Wednesday 03 August 2022 16:24:31 +0000 (0:00:00.720) 0:00:13.685 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.028761", "end": "2022-08-03 12:24:35.943129", "rc": 0, "start": "2022-08-03 12:24:30.914368" } STDOUT: veth1: interface state UNINITIALIZED->ENABLED veth1: AP-ENABLED TASK [Copy client certs] ******************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802.1x.yml:2 Wednesday 03 August 2022 16:24:37 +0000 (0:00:05.428) 0:00:19.114 ****** changed: [/cache/centos-9.qcow2.snap] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "checksum": "4e613674a093ce2b6f3f7838c417ae52497298d9", "dest": "/etc/pki/tls/client.key", "gid": 0, "group": "root", "item": "client.key", "md5sum": "04ac780ee7f45b957931ef5904ff1db3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1659543877.1923857-97097-119935981505791/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=client.key.nocrypt) => { "ansible_loop_var": "item", "changed": true, "checksum": "da377753604d62ad8a5da4b67cd4e98e9a66433b", "dest": "/etc/pki/tls/client.key.nocrypt", "gid": 0, "group": "root", "item": "client.key.nocrypt", "md5sum": "cd7792b2fbafd1669e6d5e519cbdb6c6", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1675, "src": "/root/.ansible/tmp/ansible-tmp-1659543877.865728-97097-36215609367081/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "f872445a88ad99f43f281c911af2329b323c43b1", "dest": "/etc/pki/tls/client.pem", "gid": 0, "group": "root", "item": "client.pem", "md5sum": "2ee1d9c042ecfad6cb2240c0a310b993", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1659543878.5706825-97097-174792892156955/source", "state": "file", "uid": 0 } changed: [/cache/centos-9.qcow2.snap] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659543879.2427106-97097-156511345059819/source", "state": "file", "uid": 0 } TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:12 Wednesday 03 August 2022 16:24:39 +0000 (0:00:02.759) 0:00:21.873 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:24:39 +0000 (0:00:00.044) 0:00:21.918 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:24:39 +0000 (0:00:00.058) 0:00:21.977 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:24:40 +0000 (0:00:00.555) 0:00:22.532 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:24:42 +0000 (0:00:01.683) 0:00:24.216 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:24:43 +0000 (0:00:01.028) 0:00:25.245 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:24:43 +0000 (0:00:00.122) 0:00:25.368 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:24:43 +0000 (0:00:00.056) 0:00:25.424 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:24:43 +0000 (0:00:00.055) 0:00:25.480 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:24:43 +0000 (0:00:00.081) 0:00:25.561 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:24:43 +0000 (0:00:00.057) 0:00:25.618 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:24:43 +0000 (0:00:00.056) 0:00:25.675 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:24:43 +0000 (0:00:00.058) 0:00:25.734 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:24:44 +0000 (0:00:00.580) 0:00:26.314 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ActiveEnterTimestampMonotonic": "36812173", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service dbus.socket sysinit.target basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:23:25 EDT", "AssertTimestampMonotonic": "36803966", "Before": "shutdown.target multi-user.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "127493000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ConditionTimestampMonotonic": "36803964", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13978", "ExecMainStartTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ExecMainStartTimestampMonotonic": "36805197", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:23:25 EDT", "InactiveExitTimestampMonotonic": "36805737", "InvocationID": "77e7364154f04354bdb6fd54e115c4a5", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13978", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3510272", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:24:22 EDT", "StateChangeTimestampMonotonic": "93115134", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:24:44 +0000 (0:00:00.546) 0:00:26.861 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:24:44 +0000 (0:00:00.054) 0:00:26.916 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:24:44 +0000 (0:00:00.053) 0:00:26.969 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, c9836270-9c94-481f-b113-79c1c8e0e17f [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, c9836270-9c94-481f-b113-79c1c8e0e17f (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:24:47 +0000 (0:00:02.859) 0:00:29.829 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:24:47 +0000 (0:00:00.056) 0:00:29.886 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, c9836270-9c94-481f-b113-79c1c8e0e17f", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, c9836270-9c94-481f-b113-79c1c8e0e17f (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:24:47 +0000 (0:00:00.063) 0:00:29.949 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, c9836270-9c94-481f-b113-79c1c8e0e17f\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, c9836270-9c94-481f-b113-79c1c8e0e17f (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, c9836270-9c94-481f-b113-79c1c8e0e17f", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, c9836270-9c94-481f-b113-79c1c8e0e17f (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:24:48 +0000 (0:00:00.066) 0:00:30.015 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:24:48 +0000 (0:00:00.054) 0:00:30.069 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:38 Wednesday 03 August 2022 16:24:48 +0000 (0:00:00.558) 0:00:30.627 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.005371", "end": "2022-08-03 12:24:47.892433", "rc": 0, "start": "2022-08-03 12:24:47.887062" } 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.148 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.148/0.148/0.148/0.000 ms TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:24:49 +0000 (0:00:00.450) 0:00:31.078 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:24:49 +0000 (0:00:00.088) 0:00:31.167 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:24:49 +0000 (0:00:00.587) 0:00:31.754 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:24:51 +0000 (0:00:01.550) 0:00:33.304 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:24:52 +0000 (0:00:00.887) 0:00:34.192 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:24:52 +0000 (0:00:00.070) 0:00:34.262 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:24:52 +0000 (0:00:00.062) 0:00:34.325 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:24:52 +0000 (0:00:00.060) 0:00:34.386 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:24:52 +0000 (0:00:00.086) 0:00:34.473 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:24:52 +0000 (0:00:00.062) 0:00:34.535 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:24:52 +0000 (0:00:00.061) 0:00:34.597 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:24:52 +0000 (0:00:00.064) 0:00:34.662 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:24:53 +0000 (0:00:00.581) 0:00:35.243 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:24:53 +0000 (0:00:00.065) 0:00:35.309 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:24:53 +0000 (0:00:00.057) 0:00:35.366 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:24:53 +0000 (0:00:00.058) 0:00:35.424 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:24:54 +0000 (0:00:00.663) 0:00:36.088 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:24:54 +0000 (0:00:00.063) 0:00:36.151 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:24:54 +0000 (0:00:00.070) 0:00:36.221 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:24:54 +0000 (0:00:00.070) 0:00:36.292 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:24:54 +0000 (0:00:00.065) 0:00:36.357 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: 802.1x profile with unencrypted private key, domain suffix match, and system ca certs] *** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:48 Wednesday 03 August 2022 16:24:54 +0000 (0:00:00.427) 0:00:36.785 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [Copy cacert to system truststore] **************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:53 Wednesday 03 August 2022 16:24:54 +0000 (0:00:00.061) 0:00:36.847 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/ca-trust/source/anchors/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659543894.9276326-97486-128922630132390/source", "state": "file", "uid": 0 } TASK [Update ca trust] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:58 Wednesday 03 August 2022 16:24:55 +0000 (0:00:00.716) 0:00:37.563 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.237910", "end": "2022-08-03 12:24:55.023004", "rc": 0, "start": "2022-08-03 12:24:54.785094" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:24:56 +0000 (0:00:00.643) 0:00:38.207 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:24:56 +0000 (0:00:00.081) 0:00:38.289 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:24:56 +0000 (0:00:00.557) 0:00:38.847 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:24:59 +0000 (0:00:02.555) 0:00:41.402 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:25:00 +0000 (0:00:00.807) 0:00:42.210 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:25:00 +0000 (0:00:00.063) 0:00:42.273 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:25:00 +0000 (0:00:00.058) 0:00:42.331 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:25:00 +0000 (0:00:00.057) 0:00:42.389 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:25:00 +0000 (0:00:00.080) 0:00:42.470 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:25:00 +0000 (0:00:00.060) 0:00:42.531 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:25:00 +0000 (0:00:00.058) 0:00:42.589 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:25:00 +0000 (0:00:00.061) 0:00:42.651 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:25:01 +0000 (0:00:00.623) 0:00:43.275 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ActiveEnterTimestampMonotonic": "36812173", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service dbus.socket sysinit.target basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:23:25 EDT", "AssertTimestampMonotonic": "36803966", "Before": "shutdown.target multi-user.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "149519000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ConditionTimestampMonotonic": "36803964", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13978", "ExecMainStartTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ExecMainStartTimestampMonotonic": "36805197", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:23:25 EDT", "InactiveExitTimestampMonotonic": "36805737", "InvocationID": "77e7364154f04354bdb6fd54e115c4a5", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13978", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3510272", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:24:22 EDT", "StateChangeTimestampMonotonic": "93115134", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:25:01 +0000 (0:00:00.586) 0:00:43.861 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:25:01 +0000 (0:00:00.057) 0:00:43.918 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:25:01 +0000 (0:00:00.061) 0:00:43.979 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ], "system_ca_certs": true }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 853a1f01-605a-467e-994b-867f349a96c5 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 853a1f01-605a-467e-994b-867f349a96c5 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:25:04 +0000 (0:00:02.704) 0:00:46.683 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:25:04 +0000 (0:00:00.065) 0:00:46.749 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 853a1f01-605a-467e-994b-867f349a96c5", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 853a1f01-605a-467e-994b-867f349a96c5 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:25:04 +0000 (0:00:00.092) 0:00:46.842 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ], "system_ca_certs": true }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 853a1f01-605a-467e-994b-867f349a96c5\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 853a1f01-605a-467e-994b-867f349a96c5 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 853a1f01-605a-467e-994b-867f349a96c5", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 853a1f01-605a-467e-994b-867f349a96c5 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:25:04 +0000 (0:00:00.122) 0:00:46.964 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:25:05 +0000 (0:00:00.057) 0:00:47.022 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:83 Wednesday 03 August 2022 16:25:05 +0000 (0:00:00.417) 0:00:47.439 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004245", "end": "2022-08-03 12:25:04.665426", "rc": 0, "start": "2022-08-03 12:25:04.661181" } 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 [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:25:05 +0000 (0:00:00.415) 0:00:47.855 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:25:05 +0000 (0:00:00.085) 0:00:47.940 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:25:06 +0000 (0:00:00.566) 0:00:48.507 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:25:08 +0000 (0:00:01.560) 0:00:50.067 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:25:08 +0000 (0:00:00.774) 0:00:50.842 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:25:08 +0000 (0:00:00.072) 0:00:50.915 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:25:08 +0000 (0:00:00.064) 0:00:50.979 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:25:09 +0000 (0:00:00.065) 0:00:51.045 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:25:09 +0000 (0:00:00.085) 0:00:51.130 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:25:09 +0000 (0:00:00.061) 0:00:51.192 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:25:09 +0000 (0:00:00.061) 0:00:51.254 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:25:09 +0000 (0:00:00.101) 0:00:51.356 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:25:09 +0000 (0:00:00.591) 0:00:51.948 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:25:10 +0000 (0:00:00.066) 0:00:52.014 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:25:10 +0000 (0:00:00.060) 0:00:52.075 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:25:10 +0000 (0:00:00.056) 0:00:52.132 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:25:10 +0000 (0:00:00.640) 0:00:52.773 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:25:10 +0000 (0:00:00.063) 0:00:52.836 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:25:10 +0000 (0:00:00.071) 0:00:52.907 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:25:10 +0000 (0:00:00.073) 0:00:52.981 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:25:11 +0000 (0:00:00.061) 0:00:53.043 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:94 Wednesday 03 August 2022 16:25:11 +0000 (0:00:00.462) 0:00:53.505 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml for /cache/centos-9.qcow2.snap TASK [TEST: 802.1x profile with unencrypted private key and ca_path] *********** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:2 Wednesday 03 August 2022 16:25:11 +0000 (0:00:00.114) 0:00:53.620 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:6 Wednesday 03 August 2022 16:25:11 +0000 (0:00:00.061) 0:00:53.682 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ] }, "changed": false } TASK [Create directory for ca_path test] *************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:22 Wednesday 03 August 2022 16:25:11 +0000 (0:00:00.059) 0:00:53.741 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/my_ca_certs", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Copy cacert to ca_path] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:27 Wednesday 03 August 2022 16:25:12 +0000 (0:00:00.442) 0:00:54.183 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/my_ca_certs/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1659543912.2602267-97834-31384966946351/source", "state": "file", "uid": 0 } TASK [Install openssl (test dependency)] *************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:32 Wednesday 03 August 2022 16:25:12 +0000 (0:00:00.722) 0:00:54.906 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Hash cacert] ************************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:36 Wednesday 03 August 2022 16:25:13 +0000 (0:00:00.877) 0:00:55.783 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem" ], "delta": "0:00:00.049860", "end": "2022-08-03 12:25:13.058444", "rc": 0, "start": "2022-08-03 12:25:13.008584" } STDOUT: d1b7d027 TASK [Add symlink for cacert] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:40 Wednesday 03 August 2022 16:25:14 +0000 (0:00:00.460) 0:00:56.243 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "dest": "/etc/pki/tls/my_ca_certs/d1b7d027.0", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 10, "src": "cacert.pem", "state": "link", "uid": 0 } TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:45 Wednesday 03 August 2022 16:25:14 +0000 (0:00:00.424) 0:00:56.667 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.175198", "end": "2022-08-03 12:25:14.059262", "rc": 0, "start": "2022-08-03 12:25:13.884064" } STDOUT: NetworkManager-1.39.10-1.el9.x86_64 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:25:15 +0000 (0:00:00.578) 0:00:57.246 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:25:15 +0000 (0:00:00.082) 0:00:57.329 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:25:15 +0000 (0:00:00.561) 0:00:57.890 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:25:17 +0000 (0:00:01.591) 0:00:59.481 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:25:18 +0000 (0:00:00.745) 0:01:00.227 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:25:18 +0000 (0:00:00.061) 0:01:00.288 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:25:18 +0000 (0:00:00.050) 0:01:00.339 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:25:18 +0000 (0:00:00.081) 0:01:00.420 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:25:18 +0000 (0:00:00.075) 0:01:00.496 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:25:18 +0000 (0:00:00.051) 0:01:00.547 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:25:18 +0000 (0:00:00.053) 0:01:00.601 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:25:18 +0000 (0:00:00.056) 0:01:00.658 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:25:19 +0000 (0:00:00.562) 0:01:01.220 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ActiveEnterTimestampMonotonic": "36812173", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service dbus.socket sysinit.target basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:23:25 EDT", "AssertTimestampMonotonic": "36803966", "Before": "shutdown.target multi-user.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "230092000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ConditionTimestampMonotonic": "36803964", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13978", "ExecMainStartTimestamp": "Wed 2022-08-03 12:23:25 EDT", "ExecMainStartTimestampMonotonic": "36805197", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:23:25 EDT", "InactiveExitTimestampMonotonic": "36805737", "InvocationID": "77e7364154f04354bdb6fd54e115c4a5", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13978", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3575808", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 12:24:22 EDT", "StateChangeTimestampMonotonic": "93115134", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:25:19 +0000 (0:00:00.551) 0:01:01.771 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:25:19 +0000 (0:00:00.050) 0:01:01.821 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:25:19 +0000 (0:00:00.049) 0:01:01.871 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 1c2211db-f3b3-4fc6-b0b5-40da8b464c88 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 1c2211db-f3b3-4fc6-b0b5-40da8b464c88 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:25:22 +0000 (0:00:02.747) 0:01:04.618 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:25:22 +0000 (0:00:00.058) 0:01:04.677 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 1c2211db-f3b3-4fc6-b0b5-40da8b464c88", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 1c2211db-f3b3-4fc6-b0b5-40da8b464c88 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:25:22 +0000 (0:00:00.062) 0:01:04.740 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ieee802_1x": { "ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 1c2211db-f3b3-4fc6-b0b5-40da8b464c88\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 1c2211db-f3b3-4fc6-b0b5-40da8b464c88 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 1c2211db-f3b3-4fc6-b0b5-40da8b464c88", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 1c2211db-f3b3-4fc6-b0b5-40da8b464c88 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:25:22 +0000 (0:00:00.063) 0:01:04.803 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:25:22 +0000 (0:00:00.051) 0:01:04.855 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:74 Wednesday 03 August 2022 16:25:23 +0000 (0:00:00.411) 0:01:05.267 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004109", "end": "2022-08-03 12:25:22.539604", "rc": 0, "start": "2022-08-03 12:25:22.535495" } 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.103 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.103/0.103/0.103/0.000 ms TASK [trigger failure in case the role did not fail] *************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:76 Wednesday 03 August 2022 16:25:23 +0000 (0:00:00.454) 0:01:05.722 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false } MSG: after test TASK [Show failed item] ******************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:80 Wednesday 03 August 2022 16:25:23 +0000 (0:00:00.058) 0:01:05.780 ****** ok: [/cache/centos-9.qcow2.snap] => (item=ansible_failed_result) => { "ansible_failed_result": { "changed": false, "failed": true, "msg": "after test" }, "ansible_loop_var": "item", "item": "ansible_failed_result" } ok: [/cache/centos-9.qcow2.snap] => (item=ansible_failed_task) => { "ansible_failed_task": { "action": "fail", "any_errors_fatal": false, "args": { "msg": "after test" }, "async": 0, "async_val": 0, "become": false, "become_exe": null, "become_flags": null, "become_method": "sudo", "become_user": null, "changed_when": [], "check_mode": false, "collections": [], "connection": "smart", "debugger": null, "delay": 5, "delegate_facts": null, "delegate_to": null, "diff": false, "environment": [ {} ], "failed_when": [], "finalized": true, "ignore_errors": null, "ignore_unreachable": null, "loop": null, "loop_control": null, "loop_with": null, "module_defaults": [], "name": "trigger failure in case the role did not fail", "no_log": null, "notify": null, "poll": 15, "port": null, "register": null, "remote_user": null, "retries": 3, "run_once": null, "squashed": true, "tags": [], "throttle": 0, "timeout": 0, "until": [], "uuid": "0a58ac36-193e-556c-b2cc-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-9.qcow2.snap] => (item=__network_NM_NVR.stdout) => { "__network_NM_NVR.stdout": "NetworkManager-1.39.10-1.el9.x86_64", "ansible_loop_var": "item", "item": "__network_NM_NVR.stdout" } ok: [/cache/centos-9.qcow2.snap] => (item=__NM_capath_ignored_NVRs) => { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ], "ansible_loop_var": "item", "item": "__NM_capath_ignored_NVRs" } TASK [Assert role behavior] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:90 Wednesday 03 August 2022 16:25:23 +0000 (0:00:00.115) 0:01:05.895 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert role failure] ***************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:97 Wednesday 03 August 2022 16:25:23 +0000 (0:00:00.063) 0:01:05.959 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ping succeeded] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/test_802.1x_capath.yml:104 Wednesday 03 August 2022 16:25:24 +0000 (0:00:00.049) 0:01:06.008 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:25:24 +0000 (0:00:00.062) 0:01:06.071 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:25:24 +0000 (0:00:00.081) 0:01:06.153 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:25:24 +0000 (0:00:00.562) 0:01:06.715 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:25:26 +0000 (0:00:01.514) 0:01:08.230 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:25:27 +0000 (0:00:00.763) 0:01:08.994 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:25:27 +0000 (0:00:00.069) 0:01:09.063 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:25:27 +0000 (0:00:00.057) 0:01:09.120 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:25:27 +0000 (0:00:00.057) 0:01:09.178 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:25:27 +0000 (0:00:00.080) 0:01:09.259 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:25:27 +0000 (0:00:00.059) 0:01:09.319 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:25:27 +0000 (0:00:00.056) 0:01:09.375 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:25:27 +0000 (0:00:00.095) 0:01:09.471 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:25:28 +0000 (0:00:00.569) 0:01:10.040 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:25:28 +0000 (0:00:00.063) 0:01:10.104 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:25:28 +0000 (0:00:00.055) 0:01:10.159 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:25:28 +0000 (0:00:00.054) 0:01:10.214 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" }, { "name": "br1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:25:28 +0000 (0:00:00.678) 0:01:10.892 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:25:28 +0000 (0:00:00.059) 0:01:10.952 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:25:29 +0000 (0:00:00.067) 0:01:11.020 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" }, { "name": "br1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete\n", "stderr_lines": [ "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:25:29 +0000 (0:00:00.065) 0:01:11.086 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:25:29 +0000 (0:00:00.057) 0:01:11.143 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:108 Wednesday 03 August 2022 16:25:29 +0000 (0:00:00.479) 0:01:11.623 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/cleanup_802_1x_server.yml for /cache/centos-9.qcow2.snap TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:3 Wednesday 03 August 2022 16:25:29 +0000 (0:00:00.075) 0:01:11.698 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip netns delete ns1\nip link delete veth1-br\nip link delete veth2-br\nip link delete br1\n", "delta": "0:00:00.056795", "end": "2022-08-03 12:25:28.976571", "rc": 0, "start": "2022-08-03 12:25:28.919776" } TASK [Kill hostapd process] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:11 Wednesday 03 August 2022 16:25:30 +0000 (0:00:00.465) 0:01:12.164 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.013050", "end": "2022-08-03 12:25:29.399341", "rc": 0, "start": "2022-08-03 12:25:29.386291" } TASK [Remove certs and config] ************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:14 Wednesday 03 August 2022 16:25:30 +0000 (0:00:00.422) 0:01:12.586 ****** changed: [/cache/centos-9.qcow2.snap] => (item=/etc/pki/tls/hostapd_test) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/hostapd_test", "path": "/etc/pki/tls/hostapd_test", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=/etc/hostapd/wired.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/wired.conf", "path": "/etc/hostapd/wired.conf", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=/etc/hostapd/hostapd.eap_user) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/hostapd.eap_user", "path": "/etc/hostapd/hostapd.eap_user", "state": "absent" } TASK [Remove test certificates] ************************************************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:109 Wednesday 03 August 2022 16:25:31 +0000 (0:00:01.156) 0:01:13.743 ****** changed: [/cache/centos-9.qcow2.snap] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "item": "client.key", "path": "/etc/pki/tls/client.key", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=client.key.nocrypt) => { "ansible_loop_var": "item", "changed": true, "item": "client.key.nocrypt", "path": "/etc/pki/tls/client.key.nocrypt", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "item": "client.pem", "path": "/etc/pki/tls/client.pem", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "item": "cacert.pem", "path": "/etc/pki/tls/cacert.pem", "state": "absent" } TASK [Remove test CA] ********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:118 Wednesday 03 August 2022 16:25:33 +0000 (0:00:01.543) 0:01:15.286 ****** changed: [/cache/centos-9.qcow2.snap] => (item=/etc/pki/tls/my_ca_certs) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/my_ca_certs", "path": "/etc/pki/tls/my_ca_certs", "state": "absent" } changed: [/cache/centos-9.qcow2.snap] => (item=/etc/pki/ca-trust/source/anchors/cacert.pem) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/ca-trust/source/anchors/cacert.pem", "path": "/etc/pki/ca-trust/source/anchors/cacert.pem", "state": "absent" } TASK [Update ca trust] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:125 Wednesday 03 August 2022 16:25:34 +0000 (0:00:00.797) 0:01:16.083 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.231679", "end": "2022-08-03 12:25:33.549602", "rc": 0, "start": "2022-08-03 12:25:33.317923" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=111 changed=26 unreachable=0 failed=0 skipped=70 rescued=1 ignored=0 Wednesday 03 August 2022 16:25:34 +0000 (0:00:00.677) 0:01:16.761 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.43s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:87 ----- Copy server certificates ------------------------------------------------ 2.89s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:21 ----- fedora.linux_system_roles.network : Configure networking connection profiles --- 2.86s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Copy client certs ------------------------------------------------------- 2.76s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802.1x.yml:2 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 2.75s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.70s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 2.56s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Update NetworkManager --------------------------------------------------- 2.20s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x_updated.yml:5 ----------- fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Remove test certificates ------------------------------------------------ 1.54s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:109 ----------------- fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.30s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.17s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Remove certs and config ------------------------------------------------- 1.16s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:14 --- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpem3y1lsc/tests/network/tests_802_1x_updated_nm.yml:5 ------------------ fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Restart NetworkManager -------------------------------------------------- 0.92s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x_updated.yml:9 ----------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpem3y1lsc/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:25:34 +0000 (0:00:00.043) 0:01:16.804 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006112", "end": "2022-08-03 12:25:34.012819", "rc": 0, "start": "2022-08-03 12:25:34.006707" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=112 changed=27 unreachable=0 failed=0 skipped=70 rescued=1 ignored=0 Wednesday 03 August 2022 16:25:35 +0000 (0:00:00.410) 0:01:17.215 ****** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.43s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:87 ----- Copy server certificates ------------------------------------------------ 2.89s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802_1x_server.yml:21 ----- fedora.linux_system_roles.network : Configure networking connection profiles --- 2.86s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Copy client certs ------------------------------------------------------- 2.76s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/setup_802.1x.yml:2 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 2.75s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.70s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 2.56s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Update NetworkManager --------------------------------------------------- 2.20s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x_updated.yml:5 ----------- fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Remove test certificates ------------------------------------------------ 1.54s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x.yml:109 ----------------- fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.30s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.17s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Remove certs and config ------------------------------------------------- 1.16s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/cleanup_802_1x_server.yml:14 --- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpem3y1lsc/tests/network/tests_802_1x_updated_nm.yml:5 ------------------ fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Restart NetworkManager -------------------------------------------------- 0.92s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_802_1x_updated.yml:9 -----------