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/tmp4wbeq7zn executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 03 August 2022 17:25:38 +0000 (0:00:00.018) 0:00:00.018 ****** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.229702", "end": "2022-08-03 17:25:37.861232", "rc": 0, "start": "2022-08-03 17:25:37.631530" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:25:38 +0000 (0:00:00.821) 0:00:00.839 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.82s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp650e3cfh/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp650e3cfh/tests/_backup.yml:6 Wednesday 03 August 2022 17:25:38 +0000 (0:00:00.016) 0:00:00.856 ****** ok: [/cache/centos-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659547537.405285, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547536.4032848, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19212, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545238.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "4030667820", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp650e3cfh/tests/_backup.yml:13 Wednesday 03 August 2022 17:25:39 +0000 (0:00:00.505) 0:00:01.362 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-8.qcow2] => (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': 19212, 'dev': 64513, 'nlink': 1, 'atime': 1659547537.405285, 'mtime': 1659545238.0, 'ctime': 1659547536.4032848, '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': '4030667820', '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'}}, '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_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": 1659547537.405285, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547536.4032848, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19212, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545238.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "4030667820", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp650e3cfh/tests/_backup.yml:19 Wednesday 03 August 2022 17:25:39 +0000 (0:00:00.054) 0:00:01.417 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005406", "end": "2022-08-03 17:25:38.835882", "rc": 0, "start": "2022-08-03 17:25:38.830476" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=4 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:25:39 +0000 (0:00:00.397) 0:00:01.814 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.82s /cache/centos-8_setup.yml:5 --------------------------------------------------- Get stats of system files ----------------------------------------------- 0.51s /tmp/tmp650e3cfh/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.40s /tmp/tmp650e3cfh/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.05s /tmp/tmp650e3cfh/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_wireless_wpa3_sae_nm.yml *************************************** 2 plays in /tmp/tmp650e3cfh/tests/tests_wireless_wpa3_sae_nm.yml PLAY [Run playbook 'playbooks/tests_wireless_wpa3_sae.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp650e3cfh/tests/tests_wireless_wpa3_sae_nm.yml:5 Wednesday 03 August 2022 17:25:39 +0000 (0:00:00.026) 0:00:01.840 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tests_wireless_wpa3_sae_nm.yml:8 Wednesday 03 August 2022 17:25:41 +0000 (0:00:01.142) 0:00:02.983 ****** included: /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml for /cache/centos-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:25:41 +0000 (0:00:00.026) 0:00:03.010 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:25:41 +0000 (0:00:00.022) 0:00:03.033 ****** included: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml for /cache/centos-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:25:41 +0000 (0:00:00.028) 0:00:03.061 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:25:41 +0000 (0:00:00.371) 0:00:03.433 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:25:41 +0000 (0:00:00.023) 0:00:03.456 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.226261", "end": "2022-08-03 17:25:41.095313", "rc": 0, "start": "2022-08-03 17:25:40.869052" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:25:42 +0000 (0:00:00.613) 0:00:04.069 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp650e3cfh/tests/tests_wireless_wpa3_sae_nm.yml:9 Wednesday 03 August 2022 17:25:42 +0000 (0:00:00.022) 0:00:04.092 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tests_wireless_wpa3_sae.yml:3 Wednesday 03 August 2022 17:25:42 +0000 (0:00:00.045) 0:00:04.137 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [INIT: wireless tests] **************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tests_wireless_wpa3_sae.yml:7 Wednesday 03 August 2022 17:25:43 +0000 (0:00:00.857) 0:00:04.994 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml for /cache/centos-8.qcow2 TASK [Install packages required to set up mock wifi network] ******************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:3 Wednesday 03 August 2022 17:25:43 +0000 (0:00:00.038) 0:00:05.033 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [install hostapd and mac80211_hwsim kernel module in CentOS 8] ************ task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:13 Wednesday 03 August 2022 17:25:45 +0000 (0:00:02.602) 0:00:07.636 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "dnf -y copr enable liangwen12year/hostapd-owe\ndnf -y install hostapd\nrelease=$(uname -r)\ntmp=\"${release/-//}\"\ntmp=\"${tmp/.x//x}\"\ndnf -y install https://koji.mbox.centos.org/pkgs/packages/kernel/$tmp/kernel-core-$release.rpm\ndnf -y install https://koji.mbox.centos.org/pkgs/packages/kernel/$tmp/kernel-modules-$release.rpm\ndnf -y install https://koji.mbox.centos.org/pkgs/packages/kernel/$tmp/kernel-modules-internal-$release.rpm\n", "delta": "0:00:08.029750", "end": "2022-08-03 17:25:53.072902", "rc": 0, "start": "2022-08-03 17:25:45.043152" } STDOUT: Repository successfully enabled. Copr repo for hostapd-owe owned by liangwen12ye 24 kB/s | 3.3 kB 00:00 Package hostapd-2.10-1.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! Last metadata expiration check: 0:00:02 ago on Wed 03 Aug 2022 05:25:45 PM UTC. kernel-core-4.18.0-358.el8.x86_64.rpm 112 MB/s | 38 MB 00:00 Package kernel-core-4.18.0-358.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! Last metadata expiration check: 0:00:04 ago on Wed 03 Aug 2022 05:25:45 PM UTC. kernel-modules-4.18.0-358.el8.x86_64.rpm 98 MB/s | 31 MB 00:00 Package kernel-modules-4.18.0-358.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! Last metadata expiration check: 0:00:06 ago on Wed 03 Aug 2022 05:25:45 PM UTC. kernel-modules-internal-4.18.0-358.el8.x86_64.r 34 MB/s | 7.7 MB 00:00 Package kernel-modules-internal-4.18.0-358.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! STDERR: Enabling a Copr repository. Please note that this repository is not part of the main distribution, and quality may vary. The Fedora Project does not exercise any power over the contents of this repository beyond the rules outlined in the Copr FAQ at , and packages are not held to any quality or security level. Please do not file bug reports about these packages in Fedora Bugzilla. In case of problems, contact the owner of this repository. TASK [install hostapd in Fedora] *********************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:27 Wednesday 03 August 2022 17:25:54 +0000 (0:00:08.421) 0:00:16.057 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [install mac80211_hwsim kernel module in Fedora] ************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:37 Wednesday 03 August 2022 17:25:54 +0000 (0:00:00.023) 0:00:16.080 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create hostapd config] *************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:47 Wednesday 03 August 2022 17:25:54 +0000 (0:00:00.024) 0:00:16.105 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "checksum": "6f12f09ae8e7d35daf1dd0e1d21717374b6da5c8", "dest": "/etc/hostapd/wireless.conf", "gid": 0, "group": "root", "md5sum": "10d1092e1f9dda9a0b78317b4ce78e8e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 131, "src": "/root/.ansible/tmp/ansible-tmp-1659547554.2932189-130517-144551917246946/source", "state": "file", "uid": 0 } TASK [include_tasks] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:62 Wednesday 03 August 2022 17:25:55 +0000 (0:00:00.893) 0:00:16.998 ****** included: /tmp/tmp650e3cfh/tests/playbooks/tasks/start_mock_wifi.yml for /cache/centos-8.qcow2 TASK [Ensure NetworkManager is running] **************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/start_mock_wifi.yml:3 Wednesday 03 August 2022 17:25:55 +0000 (0:00:00.035) 0:00:17.034 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:25:16 UTC", "ActiveEnterTimestampMonotonic": "2293616763", "ActiveExitTimestamp": "Wed 2022-08-03 17:25:16 UTC", "ActiveExitTimestampMonotonic": "2293564665", "ActiveState": "active", "After": "network-pre.target dbus.socket basic.target sysinit.target dbus.service system.slice systemd-journald.socket cloud-init-local.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:25:16 UTC", "AssertTimestampMonotonic": "2293596135", "Before": "multi-user.target cloud-init.service shutdown.target NetworkManager-wait-online.service network.service network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:25:16 UTC", "ConditionTimestampMonotonic": "2293596135", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "279074", "ExecMainStartTimestamp": "Wed 2022-08-03 17:25:16 UTC", "ExecMainStartTimestampMonotonic": "2293596993", "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 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:25:16 UTC] ; stop_time=[n/a] ; pid=279074 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 17:25:16 UTC", "InactiveEnterTimestampMonotonic": "2293595588", "InactiveExitTimestamp": "Wed 2022-08-03 17:25:16 UTC", "InactiveExitTimestampMonotonic": "2293597052", "InvocationID": "ce9c8d97775a4029b324d215869dc771", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "279074", "MemoryAccounting": "yes", "MemoryCurrent": "5775360", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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 17:25:16 UTC", "StateChangeTimestampMonotonic": "2293616763", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "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", "WatchdogTimestamp": "Wed 2022-08-03 17:25:16 UTC", "WatchdogTimestampMonotonic": "2293616762", "WatchdogUSec": "0" } } TASK [Load mac80211_hwsim kernel module to mock a wifi network] **************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/start_mock_wifi.yml:8 Wednesday 03 August 2022 17:25:55 +0000 (0:00:00.757) 0:00:17.791 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "modprobe mac80211_hwsim radio=2 && sleep 5", "delta": "0:00:05.007442", "end": "2022-08-03 17:26:00.205098", "rc": 0, "start": "2022-08-03 17:25:55.197656" } TASK [Restart NetworkManager and wpa_supplicant] ******************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/start_mock_wifi.yml:12 Wednesday 03 August 2022 17:26:01 +0000 (0:00:05.392) 0:00:23.184 ****** changed: [/cache/centos-8.qcow2] => (item=NetworkManager) => { "ansible_loop_var": "item", "changed": true, "item": "NetworkManager", "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:25:16 UTC", "ActiveEnterTimestampMonotonic": "2293616763", "ActiveExitTimestamp": "Wed 2022-08-03 17:25:16 UTC", "ActiveExitTimestampMonotonic": "2293564665", "ActiveState": "active", "After": "network-pre.target dbus.socket basic.target sysinit.target dbus.service system.slice systemd-journald.socket cloud-init-local.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:25:16 UTC", "AssertTimestampMonotonic": "2293596135", "Before": "multi-user.target cloud-init.service shutdown.target NetworkManager-wait-online.service network.service network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:25:16 UTC", "ConditionTimestampMonotonic": "2293596135", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "279074", "ExecMainStartTimestamp": "Wed 2022-08-03 17:25:16 UTC", "ExecMainStartTimestampMonotonic": "2293596993", "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 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:25:16 UTC] ; stop_time=[n/a] ; pid=279074 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 17:25:16 UTC", "InactiveEnterTimestampMonotonic": "2293595588", "InactiveExitTimestamp": "Wed 2022-08-03 17:25:16 UTC", "InactiveExitTimestampMonotonic": "2293597052", "InvocationID": "ce9c8d97775a4029b324d215869dc771", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "279074", "MemoryAccounting": "yes", "MemoryCurrent": "5775360", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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 17:25:16 UTC", "StateChangeTimestampMonotonic": "2293616763", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "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", "WatchdogTimestamp": "Wed 2022-08-03 17:25:16 UTC", "WatchdogTimestampMonotonic": "2293616762", "WatchdogUSec": "0" } } changed: [/cache/centos-8.qcow2] => (item=wpa_supplicant) => { "ansible_loop_var": "item", "changed": true, "item": "wpa_supplicant", "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:25:17 UTC", "ActiveEnterTimestampMonotonic": "2294182768", "ActiveExitTimestamp": "Wed 2022-08-03 17:25:17 UTC", "ActiveExitTimestampMonotonic": "2294143976", "ActiveState": "active", "After": "dbus.service systemd-journald.socket sysinit.target basic.target system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:25:17 UTC", "AssertTimestampMonotonic": "2294176136", "Before": "multi-user.target network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:25:17 UTC", "ConditionTimestampMonotonic": "2294176136", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "279227", "ExecMainStartTimestamp": "Wed 2022-08-03 17:25:17 UTC", "ExecMainStartTimestampMonotonic": "2294177348", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:25:17 UTC] ; stop_time=[n/a] ; pid=279227 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 17:25:17 UTC", "InactiveEnterTimestampMonotonic": "2294174976", "InactiveExitTimestamp": "Wed 2022-08-03 17:25:17 UTC", "InactiveExitTimestampMonotonic": "2294177407", "InvocationID": "7e2fb6b66d584afba98acbcb61fe9fe8", "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": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "279227", "MemoryAccounting": "yes", "MemoryCurrent": "1343488", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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 17:25:17 UTC", "StateChangeTimestampMonotonic": "2294182768", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "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", "WatchdogTimestamp": "Wed 2022-08-03 17:25:17 UTC", "WatchdogTimestampMonotonic": "2294182767", "WatchdogUSec": "0" } } TASK [Bring up wlan0 and wlan1 (mock wifi interfaces)] ************************* task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/start_mock_wifi.yml:20 Wednesday 03 August 2022 17:26:02 +0000 (0:00:01.216) 0:00:24.400 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "ip link set up wlan0\nip link set up wlan1\nnmcli device set wlan1 managed off\nip addr add 203.0.113.1/24 dev wlan1\nsleep 5\n", "delta": "0:00:05.029995", "end": "2022-08-03 17:26:06.842417", "rc": 0, "start": "2022-08-03 17:26:01.812422" } STDERR: RTNETLINK answers: File exists TASK [Start hostapd] *********************************************************** task path: /tmp/tmp650e3cfh/tests/playbooks/tasks/start_mock_wifi.yml:29 Wednesday 03 August 2022 17:26:07 +0000 (0:00:05.419) 0:00:29.820 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "hostapd -B /etc/hostapd/wireless.conf && sleep 5", "delta": "0:00:00.015770", "end": "2022-08-03 17:26:07.231654", "rc": 1, "start": "2022-08-03 17:26:07.215884" } STDOUT: nl80211: kernel reports: Match already configured nl80211: Could not configure driver mode nl80211: deinit ifname=wlan1 disabled_11b_rates=0 nl80211 driver initialization failed. wlan1: interface state UNINITIALIZED->DISABLED wlan1: AP-DISABLED wlan1: CTRL-EVENT-TERMINATING hostapd_free_hapd_data: Interface wlan1 wasn't started MSG: non-zero return code PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=20 changed=6 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0 Wednesday 03 August 2022 17:26:08 +0000 (0:00:00.377) 0:00:30.197 ****** =============================================================================== install hostapd and mac80211_hwsim kernel module in CentOS 8 ------------ 8.42s /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:13 -------- Bring up wlan0 and wlan1 (mock wifi interfaces) ------------------------- 5.42s /tmp/tmp650e3cfh/tests/playbooks/tasks/start_mock_wifi.yml:20 ----------------- Load mac80211_hwsim kernel module to mock a wifi network ---------------- 5.39s /tmp/tmp650e3cfh/tests/playbooks/tasks/start_mock_wifi.yml:8 ------------------ Install packages required to set up mock wifi network ------------------- 2.60s /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:3 --------- Restart NetworkManager and wpa_supplicant ------------------------------- 1.22s /tmp/tmp650e3cfh/tests/playbooks/tasks/start_mock_wifi.yml:12 ----------------- Gathering Facts --------------------------------------------------------- 1.14s /tmp/tmp650e3cfh/tests/tests_wireless_wpa3_sae_nm.yml:5 ----------------------- Create hostapd config --------------------------------------------------- 0.89s /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:47 -------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmp650e3cfh/tests/playbooks/tests_wireless_wpa3_sae.yml:3 ---------------- Enable HA repos --------------------------------------------------------- 0.82s /cache/centos-8_setup.yml:5 --------------------------------------------------- Ensure NetworkManager is running ---------------------------------------- 0.76s /tmp/tmp650e3cfh/tests/playbooks/tasks/start_mock_wifi.yml:3 ------------------ Enable EPEL 8 ----------------------------------------------------------- 0.61s /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:17 ------------------------------- Get stats of system files ----------------------------------------------- 0.51s /tmp/tmp650e3cfh/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.40s /tmp/tmp650e3cfh/tests/_backup.yml:19 ----------------------------------------- Start hostapd ----------------------------------------------------------- 0.38s /tmp/tmp650e3cfh/tests/playbooks/tasks/start_mock_wifi.yml:29 ----------------- Create EPEL 8 ----------------------------------------------------------- 0.37s /tmp/tmp650e3cfh/tests/tasks/enable_epel.yml:4 -------------------------------- Check if system files exist --------------------------------------------- 0.05s /tmp/tmp650e3cfh/tests/_backup.yml:13 ----------------------------------------- Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmp650e3cfh/tests/tests_wireless_wpa3_sae_nm.yml:9 ----------------------- INIT: wireless tests ---------------------------------------------------- 0.04s /tmp/tmp650e3cfh/tests/playbooks/tests_wireless_wpa3_sae.yml:7 ---------------- include_tasks ----------------------------------------------------------- 0.04s /tmp/tmp650e3cfh/tests/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:62 -------- include_tasks ----------------------------------------------------------- 0.03s /tmp/tmp650e3cfh/tests/tasks/el_repo_setup.yml:27 ----------------------------- 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/tmp4wbeq7zn executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 03 August 2022 18:04:23 +0000 (0:00:00.018) 0:00:00.018 ****** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.235602", "end": "2022-08-03 18:04:23.010158", "rc": 0, "start": "2022-08-03 18:04:22.774556" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 18:04:24 +0000 (0:00:00.842) 0:00:00.861 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.84s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpjloc5qmw/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpjloc5qmw/tests/network/_backup.yml:6 Wednesday 03 August 2022 18:04:24 +0000 (0:00:00.016) 0:00:00.877 ****** ok: [/cache/centos-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659549862.5570772, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549861.5560772, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19274, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659547587.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2299847729", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpjloc5qmw/tests/network/_backup.yml:13 Wednesday 03 August 2022 18:04:24 +0000 (0:00:00.498) 0:00:01.376 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-8.qcow2] => (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': 19274, 'dev': 64513, 'nlink': 1, 'atime': 1659549862.5570772, 'mtime': 1659547587.0, 'ctime': 1659549861.5560772, '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': '2299847729', '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'}}, '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_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": 1659549862.5570772, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549861.5560772, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19274, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659547587.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2299847729", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/_backup.yml:19 Wednesday 03 August 2022 18:04:24 +0000 (0:00:00.055) 0:00:01.431 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003685", "end": "2022-08-03 18:04:23.945497", "rc": 0, "start": "2022-08-03 18:04:23.941812" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=4 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 18:04:25 +0000 (0:00:00.354) 0:00:01.786 ****** =============================================================================== Enable HA repos --------------------------------------------------------- 0.84s /cache/centos-8_setup.yml:5 --------------------------------------------------- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmpjloc5qmw/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.35s /tmp/tmpjloc5qmw/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.06s /tmp/tmpjloc5qmw/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_wireless_wpa3_sae_nm.yml *************************************** 2 plays in /tmp/tmpjloc5qmw/tests/network/tests_wireless_wpa3_sae_nm.yml PLAY [Run playbook 'playbooks/tests_wireless_wpa3_sae.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/tests_wireless_wpa3_sae_nm.yml:5 Wednesday 03 August 2022 18:04:25 +0000 (0:00:00.032) 0:00:01.818 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tests_wireless_wpa3_sae_nm.yml:8 Wednesday 03 August 2022 18:04:26 +0000 (0:00:01.076) 0:00:02.895 ****** included: /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml for /cache/centos-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 18:04:26 +0000 (0:00:00.027) 0:00:02.922 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 18:04:26 +0000 (0:00:00.023) 0:00:02.946 ****** included: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml for /cache/centos-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 18:04:26 +0000 (0:00:00.029) 0:00:02.976 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 18:04:26 +0000 (0:00:00.368) 0:00:03.344 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 18:04:26 +0000 (0:00:00.023) 0:00:03.368 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.203388", "end": "2022-08-03 18:04:26.103251", "rc": 0, "start": "2022-08-03 18:04:25.899863" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 18:04:27 +0000 (0:00:00.580) 0:00:03.948 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpjloc5qmw/tests/network/tests_wireless_wpa3_sae_nm.yml:9 Wednesday 03 August 2022 18:04:27 +0000 (0:00:00.022) 0:00:03.970 ****** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_wireless_wpa3_sae.yml:3 Wednesday 03 August 2022 18:04:27 +0000 (0:00:00.047) 0:00:04.018 ****** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [INIT: wireless tests] **************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tests_wireless_wpa3_sae.yml:7 Wednesday 03 August 2022 18:04:28 +0000 (0:00:00.847) 0:00:04.865 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml for /cache/centos-8.qcow2 TASK [Install packages required to set up mock wifi network] ******************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:3 Wednesday 03 August 2022 18:04:28 +0000 (0:00:00.038) 0:00:04.903 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [install hostapd and mac80211_hwsim kernel module in CentOS 8] ************ task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:13 Wednesday 03 August 2022 18:04:31 +0000 (0:00:02.693) 0:00:07.597 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "dnf -y copr enable liangwen12year/hostapd-owe\ndnf -y install hostapd\nrelease=$(uname -r)\ntmp=\"${release/-//}\"\ntmp=\"${tmp/.x//x}\"\ndnf -y install https://koji.mbox.centos.org/pkgs/packages/kernel/$tmp/kernel-core-$release.rpm\ndnf -y install https://koji.mbox.centos.org/pkgs/packages/kernel/$tmp/kernel-modules-$release.rpm\ndnf -y install https://koji.mbox.centos.org/pkgs/packages/kernel/$tmp/kernel-modules-internal-$release.rpm\n", "delta": "0:00:07.849986", "end": "2022-08-03 18:04:37.976616", "rc": 0, "start": "2022-08-03 18:04:30.126630" } STDOUT: Repository successfully enabled. Copr repo for hostapd-owe owned by liangwen12ye 32 kB/s | 3.3 kB 00:00 Package hostapd-2.10-1.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! Last metadata expiration check: 0:00:02 ago on Wed 03 Aug 2022 06:04:30 PM UTC. kernel-core-4.18.0-358.el8.x86_64.rpm 108 MB/s | 38 MB 00:00 Package kernel-core-4.18.0-358.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! Last metadata expiration check: 0:00:04 ago on Wed 03 Aug 2022 06:04:30 PM UTC. kernel-modules-4.18.0-358.el8.x86_64.rpm 86 MB/s | 31 MB 00:00 Package kernel-modules-4.18.0-358.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! Last metadata expiration check: 0:00:06 ago on Wed 03 Aug 2022 06:04:30 PM UTC. kernel-modules-internal-4.18.0-358.el8.x86_64.r 39 MB/s | 7.7 MB 00:00 Package kernel-modules-internal-4.18.0-358.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! STDERR: Enabling a Copr repository. Please note that this repository is not part of the main distribution, and quality may vary. The Fedora Project does not exercise any power over the contents of this repository beyond the rules outlined in the Copr FAQ at , and packages are not held to any quality or security level. Please do not file bug reports about these packages in Fedora Bugzilla. In case of problems, contact the owner of this repository. TASK [install hostapd in Fedora] *********************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:27 Wednesday 03 August 2022 18:04:39 +0000 (0:00:08.229) 0:00:15.827 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [install mac80211_hwsim kernel module in Fedora] ************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:37 Wednesday 03 August 2022 18:04:39 +0000 (0:00:00.023) 0:00:15.851 ****** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create hostapd config] *************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:47 Wednesday 03 August 2022 18:04:39 +0000 (0:00:00.025) 0:00:15.876 ****** changed: [/cache/centos-8.qcow2] => { "changed": true, "checksum": "6f12f09ae8e7d35daf1dd0e1d21717374b6da5c8", "dest": "/etc/hostapd/wireless.conf", "gid": 0, "group": "root", "md5sum": "10d1092e1f9dda9a0b78317b4ce78e8e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 131, "src": "/root/.ansible/tmp/ansible-tmp-1659549879.5009892-180044-60102402670873/source", "state": "file", "uid": 0 } TASK [include_tasks] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:62 Wednesday 03 August 2022 18:04:40 +0000 (0:00:00.850) 0:00:16.727 ****** included: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/start_mock_wifi.yml for /cache/centos-8.qcow2 TASK [Ensure NetworkManager is running] **************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/start_mock_wifi.yml:3 Wednesday 03 August 2022 18:04:40 +0000 (0:00:00.036) 0:00:16.764 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 18:04:02 UTC", "ActiveEnterTimestampMonotonic": "2269986711", "ActiveExitTimestamp": "Wed 2022-08-03 18:04:02 UTC", "ActiveExitTimestampMonotonic": "2269938202", "ActiveState": "active", "After": "network-pre.target system.slice systemd-journald.socket dbus.socket dbus.service cloud-init-local.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 18:04:02 UTC", "AssertTimestampMonotonic": "2269967247", "Before": "cloud-init.service network.service network.target NetworkManager-wait-online.service shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 18:04:02 UTC", "ConditionTimestampMonotonic": "2269967247", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "278977", "ExecMainStartTimestamp": "Wed 2022-08-03 18:04:02 UTC", "ExecMainStartTimestampMonotonic": "2269967905", "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 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[Wed 2022-08-03 18:04:02 UTC] ; stop_time=[n/a] ; pid=278977 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 18:04:02 UTC", "InactiveEnterTimestampMonotonic": "2269966673", "InactiveExitTimestamp": "Wed 2022-08-03 18:04:02 UTC", "InactiveExitTimestampMonotonic": "2269967948", "InvocationID": "1f8cb38805bb4914909ed51738e3b354", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "278977", "MemoryAccounting": "yes", "MemoryCurrent": "5771264", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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 18:04:02 UTC", "StateChangeTimestampMonotonic": "2269986711", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "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", "WatchdogTimestamp": "Wed 2022-08-03 18:04:02 UTC", "WatchdogTimestampMonotonic": "2269986710", "WatchdogUSec": "0" } } TASK [Load mac80211_hwsim kernel module to mock a wifi network] **************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/start_mock_wifi.yml:8 Wednesday 03 August 2022 18:04:41 +0000 (0:00:00.782) 0:00:17.547 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "modprobe mac80211_hwsim radio=2 && sleep 5", "delta": "0:00:05.006472", "end": "2022-08-03 18:04:45.112067", "rc": 0, "start": "2022-08-03 18:04:40.105595" } TASK [Restart NetworkManager and wpa_supplicant] ******************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/start_mock_wifi.yml:12 Wednesday 03 August 2022 18:04:46 +0000 (0:00:05.409) 0:00:22.956 ****** changed: [/cache/centos-8.qcow2] => (item=NetworkManager) => { "ansible_loop_var": "item", "changed": true, "item": "NetworkManager", "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 18:04:02 UTC", "ActiveEnterTimestampMonotonic": "2269986711", "ActiveExitTimestamp": "Wed 2022-08-03 18:04:02 UTC", "ActiveExitTimestampMonotonic": "2269938202", "ActiveState": "active", "After": "network-pre.target system.slice systemd-journald.socket dbus.socket dbus.service cloud-init-local.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 18:04:02 UTC", "AssertTimestampMonotonic": "2269967247", "Before": "cloud-init.service network.service network.target NetworkManager-wait-online.service shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 18:04:02 UTC", "ConditionTimestampMonotonic": "2269967247", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "278977", "ExecMainStartTimestamp": "Wed 2022-08-03 18:04:02 UTC", "ExecMainStartTimestampMonotonic": "2269967905", "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 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[Wed 2022-08-03 18:04:02 UTC] ; stop_time=[n/a] ; pid=278977 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 18:04:02 UTC", "InactiveEnterTimestampMonotonic": "2269966673", "InactiveExitTimestamp": "Wed 2022-08-03 18:04:02 UTC", "InactiveExitTimestampMonotonic": "2269967948", "InvocationID": "1f8cb38805bb4914909ed51738e3b354", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "278977", "MemoryAccounting": "yes", "MemoryCurrent": "5771264", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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 18:04:02 UTC", "StateChangeTimestampMonotonic": "2269986711", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "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", "WatchdogTimestamp": "Wed 2022-08-03 18:04:02 UTC", "WatchdogTimestampMonotonic": "2269986710", "WatchdogUSec": "0" } } changed: [/cache/centos-8.qcow2] => (item=wpa_supplicant) => { "ansible_loop_var": "item", "changed": true, "item": "wpa_supplicant", "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 18:04:02 UTC", "ActiveEnterTimestampMonotonic": "2270528551", "ActiveExitTimestamp": "Wed 2022-08-03 18:04:02 UTC", "ActiveExitTimestampMonotonic": "2270501814", "ActiveState": "active", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 18:04:02 UTC", "AssertTimestampMonotonic": "2270521995", "Before": "shutdown.target network.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 18:04:02 UTC", "ConditionTimestampMonotonic": "2270521994", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "279130", "ExecMainStartTimestamp": "Wed 2022-08-03 18:04:02 UTC", "ExecMainStartTimestampMonotonic": "2270523212", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Wed 2022-08-03 18:04:02 UTC] ; stop_time=[n/a] ; pid=279130 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 18:04:02 UTC", "InactiveEnterTimestampMonotonic": "2270520909", "InactiveExitTimestamp": "Wed 2022-08-03 18:04:02 UTC", "InactiveExitTimestampMonotonic": "2270523276", "InvocationID": "0b07481323cc43969d387fb390a4371a", "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": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "279130", "MemoryAccounting": "yes", "MemoryCurrent": "1351680", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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 18:04:02 UTC", "StateChangeTimestampMonotonic": "2270528551", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "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", "WatchdogTimestamp": "Wed 2022-08-03 18:04:02 UTC", "WatchdogTimestampMonotonic": "2270528550", "WatchdogUSec": "0" } } TASK [Bring up wlan0 and wlan1 (mock wifi interfaces)] ************************* task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/start_mock_wifi.yml:20 Wednesday 03 August 2022 18:04:47 +0000 (0:00:01.161) 0:00:24.117 ****** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "ip link set up wlan0\nip link set up wlan1\nnmcli device set wlan1 managed off\nip addr add 203.0.113.1/24 dev wlan1\nsleep 5\n", "delta": "0:00:05.027704", "end": "2022-08-03 18:04:51.671584", "rc": 0, "start": "2022-08-03 18:04:46.643880" } STDERR: RTNETLINK answers: File exists TASK [Start hostapd] *********************************************************** task path: /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/start_mock_wifi.yml:29 Wednesday 03 August 2022 18:04:53 +0000 (0:00:05.400) 0:00:29.518 ****** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "hostapd -B /etc/hostapd/wireless.conf && sleep 5", "delta": "0:00:00.020394", "end": "2022-08-03 18:04:52.066487", "rc": 1, "start": "2022-08-03 18:04:52.046093" } STDOUT: nl80211: kernel reports: Match already configured nl80211: Could not configure driver mode nl80211: deinit ifname=wlan1 disabled_11b_rates=0 nl80211 driver initialization failed. wlan1: interface state UNINITIALIZED->DISABLED wlan1: AP-DISABLED wlan1: CTRL-EVENT-TERMINATING hostapd_free_hapd_data: Interface wlan1 wasn't started MSG: non-zero return code PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=20 changed=6 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0 Wednesday 03 August 2022 18:04:53 +0000 (0:00:00.381) 0:00:29.899 ****** =============================================================================== install hostapd and mac80211_hwsim kernel module in CentOS 8 ------------ 8.23s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:13 Load mac80211_hwsim kernel module to mock a wifi network ---------------- 5.41s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/start_mock_wifi.yml:8 ---------- Bring up wlan0 and wlan1 (mock wifi interfaces) ------------------------- 5.40s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/start_mock_wifi.yml:20 --------- Install packages required to set up mock wifi network ------------------- 2.69s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:3 - Restart NetworkManager and wpa_supplicant ------------------------------- 1.16s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/start_mock_wifi.yml:12 --------- Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmpjloc5qmw/tests/network/tests_wireless_wpa3_sae_nm.yml:5 --------------- Create hostapd config --------------------------------------------------- 0.85s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:47 Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpjloc5qmw/tests/network/playbooks/tests_wireless_wpa3_sae.yml:3 -------- Enable HA repos --------------------------------------------------------- 0.84s /cache/centos-8_setup.yml:5 --------------------------------------------------- Ensure NetworkManager is running ---------------------------------------- 0.78s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/start_mock_wifi.yml:3 ---------- Enable EPEL 8 ----------------------------------------------------------- 0.58s /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:17 ----------------------- Get stats of system files ----------------------------------------------- 0.50s /tmp/tmpjloc5qmw/tests/network/_backup.yml:6 ---------------------------------- Start hostapd ----------------------------------------------------------- 0.38s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/start_mock_wifi.yml:29 --------- Create EPEL 8 ----------------------------------------------------------- 0.37s /tmp/tmpjloc5qmw/tests/network/tasks/enable_epel.yml:4 ------------------------ Back up system files ---------------------------------------------------- 0.35s /tmp/tmpjloc5qmw/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.06s /tmp/tmpjloc5qmw/tests/network/_backup.yml:13 --------------------------------- Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmpjloc5qmw/tests/network/tests_wireless_wpa3_sae_nm.yml:9 --------------- INIT: wireless tests ---------------------------------------------------- 0.04s /tmp/tmpjloc5qmw/tests/network/playbooks/tests_wireless_wpa3_sae.yml:7 -------- include_tasks ----------------------------------------------------------- 0.04s /tmp/tmpjloc5qmw/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:62 include_tasks ----------------------------------------------------------- 0.03s /tmp/tmpjloc5qmw/tests/network/tasks/el_repo_setup.yml:27 ---------------------