# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_wireless.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* ok: [sut] TASK [include_tasks] *********************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-KFJfeH/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-KFJfeH/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": "0:00:01.671924", "end": "2021-11-09 03:46:04.334169", "rc": 0, "start": "2021-11-09 03:46:02.662245" } STDOUT: Loaded plugins: fastestmirror Examining /var/tmp/yum-root-jC29Zz/epel-release-latest-7.noarch.rpm: epel-release-7-14.noarch Marking /var/tmp/yum-root-jC29Zz/epel-release-latest-7.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package epel-release.noarch 0:7-14 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: epel-release noarch 7-14 /epel-release-latest-7.noarch 25 k Transaction Summary ================================================================================ Install 1 Package Total size: 25 k Installed size: 25 k Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : epel-release-7-14.noarch 1/1 Verifying : epel-release-7-14.noarch 1/1 Installed: epel-release.noarch 0:7-14 Complete! TASK [Enable EPEL 7] *********************************************************** changed: [sut] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.260407", "end": "2021-11-09 03:46:04.858125", "rc": 0, "start": "2021-11-09 03:46:04.597718" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [sut] TASK [INIT: wireless tests] **************************************************** ok: [sut] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-KFJfeH/tests/playbooks/tasks/setup_mock_wifi.yml for sut TASK [Install packages required to set up mock wifi network] ******************* changed: [sut] => { "changed": true, "changes": { "installed": [ "hostapd" ] }, "rc": 0, "results": [ "1:NetworkManager-1.18.8-2.el7_9.x86_64 providing NetworkManager is already installed", "1:wpa_supplicant-2.6-12.el7_9.2.x86_64 providing wpa_supplicant is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package hostapd.x86_64 0:2.9-3.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n hostapd x86_64 2.9-3.el7 epel 489 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 489 k\nInstalled size: 1.2 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : hostapd-2.9-3.el7.x86_64 1/1 \n Verifying : hostapd-2.9-3.el7.x86_64 1/1 \n\nInstalled:\n hostapd.x86_64 0:2.9-3.el7 \n\nComplete!\n" ] } TASK [Ensure NetworkManager is running] **************************************** ok: [sut] => { "changed": false, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2021-11-09 03:38:54 UTC", "ActiveEnterTimestampMonotonic": "10747403", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network-pre.target cloud-init-local.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2021-11-09 03:38:54 UTC", "AssertTimestampMonotonic": "10518857", "Before": "cloud-init.service multi-user.target NetworkManager-wait-online.service shutdown.target network.target network.service", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "539309282", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2021-11-09 03:38:54 UTC", "ConditionTimestampMonotonic": "10518856", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "577", "ExecMainStartTimestamp": "Tue 2021-11-09 03:38:54 UTC", "ExecMainStartTimestampMonotonic": "10519410", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/dbus-send ; argv[]=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Reload uint32:0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2021-11-09 03:38:54 UTC", "InactiveExitTimestampMonotonic": "10519455", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14312", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14312", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "577", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "read-only", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Tue 2021-11-09 03:38:54 UTC", "WatchdogTimestampMonotonic": "10747076", "WatchdogUSec": "0" } } TASK [Copy server certificates] ************************************************ changed: [sut] => (item=server.key) => { "ansible_loop_var": "item", "changed": true, "checksum": "cdb9dc915fdc71f7fd22ad887def7ecffab6cb6e", "dest": "/etc/pki/tls/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-1636429586.91-119055158090326/source", "state": "file", "uid": 0 } changed: [sut] => (item=dh.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "bf0f85791e75de8be4c2d350f275a2ba11387409", "dest": "/etc/pki/tls/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-1636429588.24-137015106651114/source", "state": "file", "uid": 0 } changed: [sut] => (item=server.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "8e23f3b43e1d5346659d6e46a7415d5da14128a0", "dest": "/etc/pki/tls/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-1636429588.92-52447763953423/source", "state": "file", "uid": 0 } changed: [sut] => (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-1636429589.56-167451848923677/source", "state": "file", "uid": 0 } TASK [Create hostapd config] *************************************************** changed: [sut] => { "changed": true, "checksum": "a125331ea7679ccc13a42a166e1b0f97b2f12a6e", "dest": "/etc/hostapd/wireless.conf", "gid": 0, "group": "root", "md5sum": "440fe05511c2eab1f6817bab5884df89", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 532, "src": "/root/.ansible/tmp/ansible-tmp-1636429590.25-239600003234347/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* changed: [sut] => { "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-1636429591.06-37220964218886/source", "state": "file", "uid": 0 } TASK [Load mac80211_hwsim kernel module to mock a wifi network] **************** ok: [sut] => { "changed": false, "cmd": "modprobe mac80211_hwsim && sleep 5", "delta": "0:00:05.267982", "end": "2021-11-09 03:46:37.205448", "rc": 0, "start": "2021-11-09 03:46:31.937466" } TASK [Restart NetworkManager and wpa_supplicant] ******************************* changed: [sut] => (item=NetworkManager) => { "ansible_loop_var": "item", "changed": true, "item": "NetworkManager", "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2021-11-09 03:38:54 UTC", "ActiveEnterTimestampMonotonic": "10747403", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network-pre.target cloud-init-local.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2021-11-09 03:38:54 UTC", "AssertTimestampMonotonic": "10518857", "Before": "cloud-init.service multi-user.target NetworkManager-wait-online.service shutdown.target network.target network.service", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "539309282", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2021-11-09 03:38:54 UTC", "ConditionTimestampMonotonic": "10518856", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "577", "ExecMainStartTimestamp": "Tue 2021-11-09 03:38:54 UTC", "ExecMainStartTimestampMonotonic": "10519410", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/dbus-send ; argv[]=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Reload uint32:0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2021-11-09 03:38:54 UTC", "InactiveExitTimestampMonotonic": "10519455", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14312", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14312", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "577", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "read-only", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Tue 2021-11-09 03:38:54 UTC", "WatchdogTimestampMonotonic": "10747076", "WatchdogUSec": "0" } } changed: [sut] => (item=wpa_supplicant) => { "ansible_loop_var": "item", "changed": true, "item": "wpa_supplicant", "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice syslog.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14312", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14312", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Configure wlan0 and wlan1 (mock wifi interfaces)] ************************ ok: [sut] => { "changed": false, "cmd": "ip link set up wlan0\nip link set up wlan1\nnmcli device set wlan1 managed off\nip add add 203.0.113.1/24 dev wlan1\nsleep 5\n", "delta": "0:00:05.035621", "end": "2021-11-09 03:46:43.472008", "rc": 0, "start": "2021-11-09 03:46:38.436387" } TASK [Start hostapd] *********************************************************** ok: [sut] => { "changed": false, "cmd": "hostapd -B /etc/hostapd/wireless.conf && sleep 5", "delta": "0:00:05.012727", "end": "2021-11-09 03:46:48.788916", "rc": 0, "start": "2021-11-09 03:46:43.776189" } STDOUT: Configuration file: /etc/hostapd/wireless.conf wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE TASK [Copy client certs] ******************************************************* changed: [sut] => (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-1636429608.88-65702775166438/source", "state": "file", "uid": 0 } changed: [sut] => (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-1636429609.56-147678527666137/source", "state": "file", "uid": 0 } ok: [sut] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": false, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "mode": "0644", "owner": "root", "path": "/etc/pki/tls/cacert.pem", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "state": "file", "uid": 0 } TASK [TEST: wireless connection with WPA-PSK] ********************************** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Check which services are running] *********** ok: [sut] => { "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] ********* ok: [sut] => { "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] ********************* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** changed: [sut] => { "changed": true, "changes": { "installed": [ "NetworkManager-wifi" ] }, "rc": 0, "results": [ "1:NetworkManager-1.18.8-2.el7_9.x86_64 providing NetworkManager is already installed", "python-gobject-base-3.22.0-1.el7_4.1.x86_64 providing python-gobject-base is already installed", "1:wpa_supplicant-2.6-12.el7_9.2.x86_64 providing wpa_supplicant is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * epel: dl.fedoraproject.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package NetworkManager-wifi.x86_64 1:1.18.8-2.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n NetworkManager-wifi x86_64 1:1.18.8-2.el7_9 updates 202 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 202 k\nInstalled size: 149 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : 1:NetworkManager-wifi-1.18.8-2.el7_9.x86_64 1/1 \n Verifying : 1:NetworkManager-wifi-1.18.8-2.el7_9.x86_64 1/1 \n\nInstalled:\n NetworkManager-wifi.x86_64 1:1.18.8-2.el7_9 \n\nComplete!\n" ] } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** changed: [sut] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2021-11-09 03:46:37 UTC", "ActiveEnterTimestampMonotonic": "473613362", "ActiveExitTimestamp": "Tue 2021-11-09 03:46:37 UTC", "ActiveExitTimestampMonotonic": "473565528", "ActiveState": "active", "After": "systemd-journald.socket network-pre.target cloud-init-local.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2021-11-09 03:46:37 UTC", "AssertTimestampMonotonic": "473591709", "Before": "cloud-init.service multi-user.target NetworkManager-wait-online.service shutdown.target network.target network.service", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "539309282", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2021-11-09 03:46:37 UTC", "ConditionTimestampMonotonic": "473591708", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9926", "ExecMainStartTimestamp": "Tue 2021-11-09 03:46:37 UTC", "ExecMainStartTimestampMonotonic": "473592931", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/dbus-send ; argv[]=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Reload uint32:0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[Tue 2021-11-09 03:46:37 UTC] ; stop_time=[n/a] ; pid=9926 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2021-11-09 03:46:37 UTC", "InactiveEnterTimestampMonotonic": "473589460", "InactiveExitTimestamp": "Tue 2021-11-09 03:46:37 UTC", "InactiveExitTimestampMonotonic": "473592990", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14312", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14312", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9926", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "read-only", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Tue 2021-11-09 03:46:37 UTC", "WatchdogTimestampMonotonic": "473613310", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ ok: [sut] => { "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] ************ changed: [sut] => { "changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2021-11-09 03:46:38 UTC", "ActiveEnterTimestampMonotonic": "474264993", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice syslog.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2021-11-09 03:46:37 UTC", "AssertTimestampMonotonic": "474049391", "Before": "network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2021-11-09 03:46:37 UTC", "ConditionTimestampMonotonic": "474049389", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10039", "ExecMainStartTimestamp": "Tue 2021-11-09 03:46:37 UTC", "ExecMainStartTimestampMonotonic": "474051078", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Tue 2021-11-09 03:46:37 UTC] ; stop_time=[n/a] ; pid=10039 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2021-11-09 03:46:37 UTC", "InactiveExitTimestampMonotonic": "474051127", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14312", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14312", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10039", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestamp": "Tue 2021-11-09 03:46:38 UTC", "WatchdogTimestampMonotonic": "474264477", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* skipping: [sut] => { "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] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "wlan0", "state": "up", "type": "wireless", "wireless": { "key_mgmt": "wpa-psk", "password": "p@55w0rD", "ssid": "mock_wifi" } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 85d66e30-3d91-4b1d-ac4a-07564c70b4b1 [004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 85d66e30-3d91-4b1d-ac4a-07564c70b4b1 (not-active) TASK [linux-system-roles.network : Show stderr messages] *********************** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 85d66e30-3d91-4b1d-ac4a-07564c70b4b1", "[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 85d66e30-3d91-4b1d-ac4a-07564c70b4b1 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "wlan0", "state": "up", "type": "wireless", "wireless": { "key_mgmt": "wpa-psk", "password": "p@55w0rD", "ssid": "mock_wifi" } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 85d66e30-3d91-4b1d-ac4a-07564c70b4b1\n[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 85d66e30-3d91-4b1d-ac4a-07564c70b4b1 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 85d66e30-3d91-4b1d-ac4a-07564c70b4b1", "[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 85d66e30-3d91-4b1d-ac4a-07564c70b4b1 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** ok: [sut] => { "changed": false, "ping": "pong" } TASK [linux-system-roles.network : Check which services are running] *********** ok: [sut] => { "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] ********* ok: [sut] => { "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] ********************* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ ok: [sut] => { "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] ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* skipping: [sut] => { "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] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "wlan0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Show stderr messages] *********************** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "wlan0", "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 : Re-test connectivity] *********************** ok: [sut] => { "changed": false, "ping": "pong" } TASK [TEST: wireless connection with 802.1x TLS-EAP] *************************** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Check which services are running] *********** ok: [sut] => { "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] ********* ok: [sut] => { "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] ********************* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ ok: [sut] => { "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] ************ ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2021-11-09 03:46:38 UTC", "ActiveEnterTimestampMonotonic": "474264993", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice syslog.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2021-11-09 03:46:37 UTC", "AssertTimestampMonotonic": "474049391", "Before": "network.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2021-11-09 03:46:37 UTC", "ConditionTimestampMonotonic": "474049389", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10039", "ExecMainStartTimestamp": "Tue 2021-11-09 03:46:37 UTC", "ExecMainStartTimestampMonotonic": "474051078", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2021-11-09 03:46:37 UTC", "InactiveExitTimestampMonotonic": "474051127", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14312", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14312", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10039", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2021-11-09 03:46:38 UTC", "WatchdogTimestampMonotonic": "474264477", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* skipping: [sut] => { "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] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "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" ] }, "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "wlan0", "state": "up", "type": "wireless", "wireless": { "key_mgmt": "wpa-eap", "ssid": "mock_wifi" } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 47dd01b8-d001-4e59-82ca-0969a46bc157 [004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 47dd01b8-d001-4e59-82ca-0969a46bc157 (is-modified) TASK [linux-system-roles.network : Show stderr messages] *********************** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 47dd01b8-d001-4e59-82ca-0969a46bc157", "[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 47dd01b8-d001-4e59-82ca-0969a46bc157 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "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" ] }, "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "wlan0", "state": "up", "type": "wireless", "wireless": { "key_mgmt": "wpa-eap", "ssid": "mock_wifi" } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 47dd01b8-d001-4e59-82ca-0969a46bc157\n[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 47dd01b8-d001-4e59-82ca-0969a46bc157 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 47dd01b8-d001-4e59-82ca-0969a46bc157", "[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 47dd01b8-d001-4e59-82ca-0969a46bc157 (is-modified)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** ok: [sut] => { "changed": false, "ping": "pong" } TASK [linux-system-roles.network : Check which services are running] *********** ok: [sut] => { "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] ********* ok: [sut] => { "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] ********************* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ ok: [sut] => { "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] ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* skipping: [sut] => { "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] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "wlan0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Show stderr messages] *********************** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "wlan0", "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 : Re-test connectivity] *********************** ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-KFJfeH/tests/playbooks/tasks/cleanup_mock_wifi.yml for sut TASK [Unload mac80211_hwsim module] ******************************************** ok: [sut] => { "changed": false, "cmd": [ "modprobe", "-r", "mac80211_hwsim" ], "delta": "0:00:00.094458", "end": "2021-11-09 03:47:29.970772", "rc": 0, "start": "2021-11-09 03:47:29.876314" } TASK [Kill hostapd process] **************************************************** ok: [sut] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.024715", "end": "2021-11-09 03:47:30.391569", "rc": 0, "start": "2021-11-09 03:47:30.366854" } PLAY RECAP ********************************************************************* sut : ok=60 changed=15 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/gluetool/lib/python2.7/site-packages/ansible/parsing/vault/__init__.py:41: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---