[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.9] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.cYm5uKljqe executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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: tests_wireless_wpa3_sae_nm.yml *************************************** 2 plays in /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/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/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tests_wireless_wpa3_sae_nm.yml:6 Tuesday 30 July 2024 14:19:33 -0400 (0:00:00.008) 0:00:00.008 ********** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tests_wireless_wpa3_sae_nm.yml:9 Tuesday 30 July 2024 14:19:34 -0400 (0:00:01.174) 0:00:01.182 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 30 July 2024 14:19:34 -0400 (0:00:00.020) 0:00:01.203 ********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 30 July 2024 14:19:34 -0400 (0:00:00.569) 0:00:01.772 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 30 July 2024 14:19:35 -0400 (0:00:00.489) 0:00:02.262 ********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 30 July 2024 14:19:35 -0400 (0:00:00.023) 0:00:02.285 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 30 July 2024 14:19:35 -0400 (0:00:00.014) 0:00:02.300 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 30 July 2024 14:19:35 -0400 (0:00:00.038) 0:00:02.339 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "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 [Install yum-utils package] *********************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Tuesday 30 July 2024 14:19:36 -0400 (0:00:00.488) 0:00:02.827 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Tuesday 30 July 2024 14:19:36 -0400 (0:00:00.014) 0:00:02.842 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Tuesday 30 July 2024 14:19:36 -0400 (0:00:00.014) 0:00:02.856 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.284905", "end": "2024-07-30 14:19:36.644820", "rc": 0, "start": "2024-07-30 14:19:36.359915" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Tuesday 30 July 2024 14:19:36 -0400 (0:00:00.661) 0:00:03.517 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tests_wireless_wpa3_sae_nm.yml:11 Tuesday 30 July 2024 14:19:36 -0400 (0:00:00.014) 0:00:03.532 ********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing wireless connection] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless_wpa3_sae.yml:3 Tuesday 30 July 2024 14:19:36 -0400 (0:00:00.029) 0:00:03.562 ********** ok: [managed_node1] TASK [INIT: wireless tests] **************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless_wpa3_sae.yml:8 Tuesday 30 July 2024 14:19:37 -0400 (0:00:00.873) 0:00:04.436 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml for managed_node1 TASK [Install packages required to set up mock wifi network] ******************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:3 Tuesday 30 July 2024 14:19:37 -0400 (0:00:00.024) 0:00:04.461 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [This is an rpm-ostree system. This test cannot be run on such a system. The test wants to install the hostapd package from copr, and install the mac80211_hwsim kernel module. These operations are currently not supported on rpm-ostree systems.] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:20 Tuesday 30 July 2024 14:19:41 -0400 (0:00:03.722) 0:00:08.183 ********** META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Install hostapd and mac80211_hwsim kernel module in CentOS] ************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:32 Tuesday 30 July 2024 14:19:41 -0400 (0:00:00.022) 0:00:08.206 ********** ok: [managed_node1] => { "changed": false, "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://kojihub.stream.centos.org/kojifiles/packages/kernel/$tmp/kernel-core-$release.rpm\ndnf -y install https://kojihub.stream.centos.org/kojifiles/packages/kernel/$tmp/kernel-modules-$release.rpm\ndnf -y install https://kojihub.stream.centos.org/kojifiles/packages/kernel/$tmp/kernel-modules-internal-$release.rpm\n", "delta": "0:00:13.777076", "end": "2024-07-30 14:19:55.497598", "rc": 0, "start": "2024-07-30 14:19:41.720522" } STDOUT: Repository successfully enabled. Copr repo for hostapd-owe owned by liangwen12ye 26 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:03 ago on Tue 30 Jul 2024 02:19:42 PM EDT. kernel-core-4.18.0-553.5.1.el8.x86_64.rpm 55 MB/s | 43 MB 00:00 Package kernel-core-4.18.0-553.5.1.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! Last metadata expiration check: 0:00:07 ago on Tue 30 Jul 2024 02:19:42 PM EDT. kernel-modules-4.18.0-553.5.1.el8.x86_64.rpm 56 MB/s | 36 MB 00:00 Package kernel-modules-4.18.0-553.5.1.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! Last metadata expiration check: 0:00:10 ago on Tue 30 Jul 2024 02:19:42 PM EDT. kernel-modules-internal-4.18.0-553.5.1.el8.x86_ 44 MB/s | 11 MB 00:00 Package kernel-modules-internal-4.18.0-553.5.1.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/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:45 Tuesday 30 July 2024 14:19:55 -0400 (0:00:14.166) 0:00:22.372 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora'", "skip_reason": "Conditional result was False" } TASK [Install mac80211_hwsim kernel module in Fedora] ************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:60 Tuesday 30 July 2024 14:19:55 -0400 (0:00:00.015) 0:00:22.388 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora'", "skip_reason": "Conditional result was False" } TASK [Create hostapd config] *************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:69 Tuesday 30 July 2024 14:19:55 -0400 (0:00:00.014) 0:00:22.402 ********** changed: [managed_node1] => { "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-1722363595.6244955-40531-268407099191456/source", "state": "file", "uid": 0 } TASK [Include the task 'start_mock_wifi.yml'] ********************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:84 Tuesday 30 July 2024 14:19:56 -0400 (0:00:00.889) 0:00:23.291 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/start_mock_wifi.yml for managed_node1 TASK [Ensure NetworkManager is running] **************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/start_mock_wifi.yml:3 Tuesday 30 July 2024 14:19:56 -0400 (0:00:00.024) 0:00:23.316 ********** ok: [managed_node1] => { "changed": false, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-07-30 14:18:53 EDT", "ActiveEnterTimestampMonotonic": "3270792760", "ActiveExitTimestamp": "Tue 2024-07-30 14:18:53 EDT", "ActiveExitTimestampMonotonic": "3270714914", "ActiveState": "active", "After": "basic.target cloud-init-local.service dbus.service dbus.socket systemd-journald.socket network-pre.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-07-30 14:18:53 EDT", "AssertTimestampMonotonic": "3270759211", "Before": "shutdown.target network.service NetworkManager-wait-online.service multi-user.target network.target cloud-init.service", "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": "Tue 2024-07-30 14:18:53 EDT", "ConditionTimestampMonotonic": "3270759209", "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": "380579", "ExecMainStartTimestamp": "Tue 2024-07-30 14:18:53 EDT", "ExecMainStartTimestampMonotonic": "3270760422", "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=[Tue 2024-07-30 14:18:53 EDT] ; stop_time=[n/a] ; pid=380579 ; 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": "Tue 2024-07-30 14:18:53 EDT", "InactiveEnterTimestampMonotonic": "3270758161", "InactiveExitTimestamp": "Tue 2024-07-30 14:18:53 EDT", "InactiveExitTimestampMonotonic": "3270760480", "InvocationID": "b605ee2371d8432086ddd4626b4295dd", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "380579", "MemoryAccounting": "yes", "MemoryCurrent": "3928064", "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 system.slice sysinit.target", "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": "Tue 2024-07-30 14:18:53 EDT", "StateChangeTimestampMonotonic": "3270792760", "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": "3", "TasksMax": "22405", "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": "Tue 2024-07-30 14:18:53 EDT", "WatchdogTimestampMonotonic": "3270792756", "WatchdogUSec": "0" } } TASK [Load mac80211_hwsim kernel module to mock a wifi network] **************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/start_mock_wifi.yml:8 Tuesday 30 July 2024 14:19:57 -0400 (0:00:00.796) 0:00:24.113 ********** ok: [managed_node1] => { "changed": false, "cmd": "modprobe mac80211_hwsim radio=2 && sleep 5", "delta": "0:00:05.137928", "end": "2024-07-30 14:20:02.770660", "rc": 0, "start": "2024-07-30 14:19:57.632732" } TASK [Restart NetworkManager and wpa_supplicant] ******************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/start_mock_wifi.yml:12 Tuesday 30 July 2024 14:20:02 -0400 (0:00:05.533) 0:00:29.646 ********** changed: [managed_node1] => (item=NetworkManager) => { "ansible_loop_var": "item", "changed": true, "item": "NetworkManager", "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-07-30 14:18:53 EDT", "ActiveEnterTimestampMonotonic": "3270792760", "ActiveExitTimestamp": "Tue 2024-07-30 14:18:53 EDT", "ActiveExitTimestampMonotonic": "3270714914", "ActiveState": "active", "After": "basic.target cloud-init-local.service dbus.service dbus.socket systemd-journald.socket network-pre.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-07-30 14:18:53 EDT", "AssertTimestampMonotonic": "3270759211", "Before": "shutdown.target network.service NetworkManager-wait-online.service multi-user.target network.target cloud-init.service", "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": "Tue 2024-07-30 14:18:53 EDT", "ConditionTimestampMonotonic": "3270759209", "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": "380579", "ExecMainStartTimestamp": "Tue 2024-07-30 14:18:53 EDT", "ExecMainStartTimestampMonotonic": "3270760422", "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=[Tue 2024-07-30 14:18:53 EDT] ; stop_time=[n/a] ; pid=380579 ; 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": "Tue 2024-07-30 14:18:53 EDT", "InactiveEnterTimestampMonotonic": "3270758161", "InactiveExitTimestamp": "Tue 2024-07-30 14:18:53 EDT", "InactiveExitTimestampMonotonic": "3270760480", "InvocationID": "b605ee2371d8432086ddd4626b4295dd", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "380579", "MemoryAccounting": "yes", "MemoryCurrent": "3964928", "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 system.slice sysinit.target", "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": "Tue 2024-07-30 14:18:53 EDT", "StateChangeTimestampMonotonic": "3270792760", "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": "3", "TasksMax": "22405", "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": "Tue 2024-07-30 14:18:53 EDT", "WatchdogTimestampMonotonic": "3270792756", "WatchdogUSec": "0" } } changed: [managed_node1] => (item=wpa_supplicant) => { "ansible_loop_var": "item", "changed": true, "item": "wpa_supplicant", "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-07-30 14:18:54 EDT", "ActiveEnterTimestampMonotonic": "3271619789", "ActiveExitTimestamp": "Tue 2024-07-30 14:18:54 EDT", "ActiveExitTimestampMonotonic": "3271583893", "ActiveState": "active", "After": "system.slice basic.target dbus.socket sysinit.target systemd-journald.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-07-30 14:18:54 EDT", "AssertTimestampMonotonic": "3271606923", "Before": "multi-user.target shutdown.target network.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": "Tue 2024-07-30 14:18:54 EDT", "ConditionTimestampMonotonic": "3271606922", "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": "380874", "ExecMainStartTimestamp": "Tue 2024-07-30 14:18:54 EDT", "ExecMainStartTimestampMonotonic": "3271608293", "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=[Tue 2024-07-30 14:18:54 EDT] ; stop_time=[n/a] ; pid=380874 ; 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": "Tue 2024-07-30 14:18:54 EDT", "InactiveEnterTimestampMonotonic": "3271605778", "InactiveExitTimestamp": "Tue 2024-07-30 14:18:54 EDT", "InactiveExitTimestampMonotonic": "3271608358", "InvocationID": "ce11ad6b502a43ce9606aec991e2d67a", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "380874", "MemoryAccounting": "yes", "MemoryCurrent": "1335296", "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 system.slice 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": "Tue 2024-07-30 14:18:54 EDT", "StateChangeTimestampMonotonic": "3271619789", "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": "22405", "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": "Tue 2024-07-30 14:18:54 EDT", "WatchdogTimestampMonotonic": "3271619786", "WatchdogUSec": "0" } } TASK [Bring up wlan0 and wlan1 (mock wifi interfaces)] ************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/start_mock_wifi.yml:20 Tuesday 30 July 2024 14:20:04 -0400 (0:00:01.434) 0:00:31.081 ********** ok: [managed_node1] => { "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.038027", "end": "2024-07-30 14:20:09.626187", "rc": 0, "start": "2024-07-30 14:20:04.588160" } TASK [Start hostapd] *********************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/start_mock_wifi.yml:29 Tuesday 30 July 2024 14:20:09 -0400 (0:00:05.419) 0:00:36.500 ********** ok: [managed_node1] => { "changed": false, "cmd": "hostapd -B /etc/hostapd/wireless.conf && sleep 5", "delta": "0:00:05.024789", "end": "2024-07-30 14:20:15.039444", "rc": 0, "start": "2024-07-30 14:20:10.014655" } STDOUT: wlan1: interface state UNINITIALIZED->ENABLED wlan1: AP-ENABLED TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:20:15 -0400 (0:00:05.421) 0:00:41.921 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:20:15 -0400 (0:00:00.034) 0:00:41.956 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:20:15 -0400 (0:00:00.028) 0:00:41.984 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:20:15 -0400 (0:00:00.029) 0:00:42.013 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:20:15 -0400 (0:00:00.028) 0:00:42.042 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:20:17 -0400 (0:00:02.136) 0:00:44.178 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:20:19 -0400 (0:00:01.997) 0:00:46.176 ********** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:20:19 -0400 (0:00:00.041) 0:00:46.217 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:20:19 -0400 (0:00:00.038) 0:00:46.256 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:20:19 -0400 (0:00:00.038) 0:00:46.294 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:20:19 -0400 (0:00:00.039) 0:00:46.333 ********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:20:26 -0400 (0:00:06.578) 0:00:52.911 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:20:26 -0400 (0:00:00.041) 0:00:52.953 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_allow_restart", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:20:26 -0400 (0:00:00.055) 0:00:53.009 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:20:26 -0400 (0:00:00.158) 0:00:53.167 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:20:26 -0400 (0:00:00.040) 0:00:53.207 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:20:26 -0400 (0:00:00.040) 0:00:53.248 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_package_install.changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:20:26 -0400 (0:00:00.058) 0:00:53.306 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:20:27 -0400 (0:00:00.638) 0:00:53.944 ********** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-07-30 14:20:04 EDT", "ActiveEnterTimestampMonotonic": "3341320987", "ActiveExitTimestamp": "Tue 2024-07-30 14:20:04 EDT", "ActiveExitTimestampMonotonic": "3341304618", "ActiveState": "active", "After": "system.slice basic.target dbus.socket sysinit.target systemd-journald.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-07-30 14:20:04 EDT", "AssertTimestampMonotonic": "3341310742", "Before": "multi-user.target shutdown.target network.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": "Tue 2024-07-30 14:20:04 EDT", "ConditionTimestampMonotonic": "3341310741", "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": "385707", "ExecMainStartTimestamp": "Tue 2024-07-30 14:20:04 EDT", "ExecMainStartTimestampMonotonic": "3341312070", "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=[Tue 2024-07-30 14:20:04 EDT] ; stop_time=[n/a] ; pid=385707 ; 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": "Tue 2024-07-30 14:20:04 EDT", "InactiveEnterTimestampMonotonic": "3341309679", "InactiveExitTimestamp": "Tue 2024-07-30 14:20:04 EDT", "InactiveExitTimestampMonotonic": "3341312123", "InvocationID": "6a53c91ed652459aa36558ae4bdb7e91", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "385707", "MemoryAccounting": "yes", "MemoryCurrent": "1339392", "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 system.slice 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": "Tue 2024-07-30 14:20:04 EDT", "StateChangeTimestampMonotonic": "3341320987", "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": "22405", "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": "Tue 2024-07-30 14:20:04 EDT", "WatchdogTimestampMonotonic": "3341320984", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:20:27 -0400 (0:00:00.601) 0:00:54.546 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:20:27 -0400 (0:00:00.037) 0:00:54.583 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:20:27 -0400 (0:00:00.038) 0:00:54.622 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "wlan0", "state": "up", "type": "wireless", "wireless": { "key_mgmt": "sae", "password": "p@55w0rD", "ssid": "hostapd-sae" } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 2790537e-c9b2-4ba5-aef6-f9aeda7da382 [004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 2790537e-c9b2-4ba5-aef6-f9aeda7da382 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:20:28 -0400 (0:00:00.936) 0:00:55.559 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:20:28 -0400 (0:00:00.039) 0:00:55.598 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 2790537e-c9b2-4ba5-aef6-f9aeda7da382", "[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 2790537e-c9b2-4ba5-aef6-f9aeda7da382 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:20:28 -0400 (0:00:00.044) 0:00:55.643 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "wlan0", "state": "up", "type": "wireless", "wireless": { "key_mgmt": "sae", "password": "p@55w0rD", "ssid": "hostapd-sae" } } ], "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, 2790537e-c9b2-4ba5-aef6-f9aeda7da382\n[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 2790537e-c9b2-4ba5-aef6-f9aeda7da382 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 2790537e-c9b2-4ba5-aef6-f9aeda7da382", "[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 2790537e-c9b2-4ba5-aef6-f9aeda7da382 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:20:28 -0400 (0:00:00.045) 0:00:55.689 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:20:28 -0400 (0:00:00.039) 0:00:55.728 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Verify wireless profile KEY_MGMT entry] ********************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless_wpa3_sae.yml:35 Tuesday 30 July 2024 14:20:29 -0400 (0:00:00.545) 0:00:56.273 ********** ok: [managed_node1] => { "changed": false, "cmd": "set -euxo pipefail\nnmcli c show wlan0 | grep 802-11-wireless-security.key-mgmt\n", "delta": "0:00:00.026454", "end": "2024-07-30 14:20:29.823645", "rc": 0, "start": "2024-07-30 14:20:29.797191" } STDOUT: 802-11-wireless-security.key-mgmt: sae STDERR: + nmcli c show wlan0 + grep 802-11-wireless-security.key-mgmt TASK [Assert that WPA3 Personal is configured correctly] *********************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless_wpa3_sae.yml:43 Tuesday 30 July 2024 14:20:29 -0400 (0:00:00.444) 0:00:56.718 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:20:29 -0400 (0:00:00.081) 0:00:56.799 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:20:30 -0400 (0:00:00.074) 0:00:56.874 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:20:30 -0400 (0:00:00.054) 0:00:56.928 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:20:30 -0400 (0:00:00.051) 0:00:56.980 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:20:30 -0400 (0:00:00.050) 0:00:57.030 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:20:32 -0400 (0:00:01.980) 0:00:59.010 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:20:33 -0400 (0:00:01.770) 0:01:00.781 ********** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:20:34 -0400 (0:00:00.044) 0:01:00.825 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:20:34 -0400 (0:00:00.040) 0:01:00.866 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:20:34 -0400 (0:00:00.039) 0:01:00.905 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:20:34 -0400 (0:00:00.042) 0:01:00.948 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:20:34 -0400 (0:00:00.056) 0:01:01.004 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:20:34 -0400 (0:00:00.041) 0:01:01.046 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:20:34 -0400 (0:00:00.089) 0:01:01.135 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:20:34 -0400 (0:00:00.086) 0:01:01.222 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:20:34 -0400 (0:00:00.039) 0:01:01.261 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:20:34 -0400 (0:00:00.041) 0:01:01.303 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:20:34 -0400 (0:00:00.053) 0:01:01.356 ********** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:20:35 -0400 (0:00:00.646) 0:01:02.003 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:20:35 -0400 (0:00:00.057) 0:01:02.061 ********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:20:35 -0400 (0:00:00.040) 0:01:02.101 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:20:35 -0400 (0:00:00.039) 0:01:02.141 ********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "wlan0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:20:36 -0400 (0:00:00.708) 0:01:02.849 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:20:36 -0400 (0:00:00.040) 0:01:02.890 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:20:36 -0400 (0:00:00.044) 0:01:02.935 ********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:20:36 -0400 (0:00:00.045) 0:01:02.980 ********** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:20:36 -0400 (0:00:00.041) 0:01:03.021 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'cleanup_mock_wifi.yml'] ******************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless_wpa3_sae.yml:62 Tuesday 30 July 2024 14:20:36 -0400 (0:00:00.434) 0:01:03.456 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_mock_wifi.yml for managed_node1 TASK [Unload mac80211_hwsim module] ******************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_mock_wifi.yml:3 Tuesday 30 July 2024 14:20:36 -0400 (0:00:00.097) 0:01:03.554 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "modprobe", "-r", "mac80211_hwsim" ], "delta": "0:00:00.118993", "end": "2024-07-30 14:20:37.194540", "rc": 0, "start": "2024-07-30 14:20:37.075547" } TASK [Kill hostapd process] **************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_mock_wifi.yml:7 Tuesday 30 July 2024 14:20:37 -0400 (0:00:00.536) 0:01:04.090 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.012048", "end": "2024-07-30 14:20:37.625431", "rc": 0, "start": "2024-07-30 14:20:37.613383" } TASK [Verify network state restored to default] ******************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless_wpa3_sae.yml:64 Tuesday 30 July 2024 14:20:37 -0400 (0:00:00.432) 0:01:04.523 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 30 July 2024 14:20:37 -0400 (0:00:00.068) 0:01:04.592 ********** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.010021", "end": "2024-07-30 14:20:38.121555", "rc": 0, "start": "2024-07-30 14:20:38.111534" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:fb:86:ed:e8:f3 brd ff:ff:ff:ff:ff:ff inet 10.31.41.126/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3566sec preferred_lft 3566sec inet6 fe80::cfb:86ff:feed:e8f3/64 scope link valid_lft forever preferred_lft forever 139: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether fe:43:1b:2a:2b:4a brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.126 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.126 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 30 July 2024 14:20:38 -0400 (0:00:00.425) 0:01:05.017 ********** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.293654", "end": "2024-07-30 14:20:38.853703", "rc": 0, "start": "2024-07-30 14:20:38.560049" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 8970 0 --:--:-- --:--:-- --:--:-- 8970 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1248 0 --:--:-- --:--:-- --:--:-- 1248 PLAY RECAP ********************************************************************* managed_node1 : ok=48 changed=4 unreachable=0 failed=0 skipped=40 rescued=0 ignored=0 Tuesday 30 July 2024 14:20:38 -0400 (0:00:00.795) 0:01:05.812 ********** =============================================================================== Install hostapd and mac80211_hwsim kernel module in CentOS ------------- 14.17s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:32 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces --- 6.58s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Load mac80211_hwsim kernel module to mock a wifi network ---------------- 5.53s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/start_mock_wifi.yml:8 Start hostapd ----------------------------------------------------------- 5.42s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/start_mock_wifi.yml:29 Bring up wlan0 and wlan1 (mock wifi interfaces) ------------------------- 5.42s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/start_mock_wifi.yml:20 Install packages required to set up mock wifi network ------------------- 3.72s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 2.14s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 2.00s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Restart NetworkManager and wpa_supplicant ------------------------------- 1.43s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/start_mock_wifi.yml:12 Gathering Facts --------------------------------------------------------- 1.17s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tests_wireless_wpa3_sae_nm.yml:6 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.94s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Create hostapd config --------------------------------------------------- 0.89s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi_wpa3_sae.yml:69 Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless_wpa3_sae.yml:3 Ensure NetworkManager is running ---------------------------------------- 0.80s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/start_mock_wifi.yml:3 Verify DNS and network connectivity ------------------------------------- 0.80s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.71s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Enable EPEL 8 ----------------------------------------------------------- 0.66s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.65s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122