# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_802_1x_updated_nm.yml ****************************************** 3 plays in /WORKDIR/git-code_refactorpp5wg6l0/tests/tests_802_1x_updated_nm.yml PLAY [Run playbook 'playbooks/tests_802_1x_updated.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tests_802_1x_updated_nm.yml:5 Thursday 30 November 2023 16:51:21 +0000 (0:00:00.017) 0:00:00.017 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tests_802_1x_updated_nm.yml:9 Thursday 30 November 2023 16:51:24 +0000 (0:00:03.385) 0:00:03.402 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 16:51:24 +0000 (0:00:00.016) 0:00:03.419 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/el_repo_setup.yml:19 Thursday 30 November 2023 16:51:25 +0000 (0:00:00.537) 0:00:03.956 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/el_repo_setup.yml:24 Thursday 30 November 2023 16:51:25 +0000 (0:00:00.297) 0:00:04.254 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/el_repo_setup.yml:28 Thursday 30 November 2023 16:51:25 +0000 (0:00:00.026) 0:00:04.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/el_repo_setup.yml:53 Thursday 30 November 2023 16:51:25 +0000 (0:00:00.022) 0:00:04.303 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 37] ********************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 16:51:25 +0000 (0:00:00.040) 0:00:04.344 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 16:51:25 +0000 (0:00:00.012) 0:00:04.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 16:51:25 +0000 (0:00:00.010) 0:00:04.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 16:51:25 +0000 (0:00:00.011) 0:00:04.378 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 16:51:25 +0000 (0:00:00.010) 0:00:04.389 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tests_802_1x_updated_nm.yml:11 Thursday 30 November 2023 16:51:25 +0000 (0:00:00.011) 0:00:04.400 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing configuring 802.1x authentication with latest NetworkManager] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x_updated.yml:3 Thursday 30 November 2023 16:51:25 +0000 (0:00:00.013) 0:00:04.414 ***** ok: [sut] META: ran handlers TASK [Update NetworkManager] *************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x_updated.yml:7 Thursday 30 November 2023 16:51:26 +0000 (0:00:00.765) 0:00:05.179 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Restart NetworkManager] ************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x_updated.yml:13 Thursday 30 November 2023 16:51:29 +0000 (0:00:02.795) 0:00:07.974 ***** changed: [sut] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-11-30 16:39:08 UTC", "ActiveEnterTimestampMonotonic": "26668964", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-pre.target basic.target system.slice sysinit.target dbus-broker.service cloud-init-local.service systemd-journald.socket dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-11-30 16:39:07 UTC", "AssertTimestampMonotonic": "25271537", "Before": "shutdown.target multi-user.target network.service network.target cloud-init.service NetworkManager-wait-online.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "88111000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_dac_override cap_kill cap_setgid cap_setuid cap_net_bind_service cap_net_admin cap_net_raw cap_sys_module cap_sys_chroot cap_audit_write", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-11-30 16:39:07 UTC", "ConditionTimestampMonotonic": "25271534", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlGroupId": "3014", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "\"man:NetworkManager(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "578", "ExecMainStartTimestamp": "Thu 2023-11-30 16:39:07 UTC", "ExecMainStartTimestampMonotonic": "25278213", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-11-30 16:39:07 UTC", "InactiveExitTimestampMonotonic": "25278680", "InvocationID": "fecad68018984c118ffe9aedd443d4ae", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "65536", "LimitNOFILESoft": "65536", "LimitNPROC": "14732", "LimitNPROCSoft": "14732", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14732", "LimitSIGPENDINGSoft": "14732", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "578", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "10256384", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-11-30 16:43:59 UTC", "StateChangeTimestampMonotonic": "317937992", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "4419", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY [Play for testing configuring 802.1x authentication] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:3 Thursday 30 November 2023 16:51:30 +0000 (0:00:00.884) 0:00:08.859 ***** ok: [sut] META: ran handlers TASK [INIT: 802.1x tests] ****************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:8 Thursday 30 November 2023 16:51:31 +0000 (0:00:00.847) 0:00:09.707 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'setup_802.1x.yml'] ************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:11 Thursday 30 November 2023 16:51:31 +0000 (0:00:00.016) 0:00:09.723 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802.1x.yml for sut TASK [Include the task 'setup_802_1x_server.yml'] ****************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802.1x.yml:2 Thursday 30 November 2023 16:51:31 +0000 (0:00:00.019) 0:00:09.742 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml for sut TASK [Debug] ******************************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml:3 Thursday 30 November 2023 16:51:31 +0000 (0:00:00.023) 0:00:09.765 ***** ok: [sut] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.9.86" ], "all_ipv6_addresses": [ "fe80::1097:9dff:fe8d:2c5b" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.2.amazon", "cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.5.6-100.fc37.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=e7a9b339-c47b-44f9-a3db-5567a302dcca" }, "date_time": { "date": "2023-11-30", "day": "30", "epoch": "1701363091", "hour": "16", "iso8601": "2023-11-30T16:51:31Z", "iso8601_basic": "20231130T165131132548", "iso8601_basic_short": "20231130T165131", "iso8601_micro": "2023-11-30T16:51:31.132548Z", "minute": "51", "month": "11", "second": "31", "time": "16:51:31", "tz": "UTC", "tz_offset": "+0000", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "48", "year": "2023" }, "default_ipv4": { "address": "10.31.9.86", "alias": "eth0", "broadcast": "10.31.11.255", "gateway": "10.31.8.1", "interface": "eth0", "macaddress": "12:97:9d:8d:2c:5b", "mtu": 1500, "netmask": "255.255.252.0", "network": "10.31.8.0", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda2": [ "e7a9b339-c47b-44f9-a3db-5567a302dcca" ] } }, "devices": { "xvda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "xvda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "sectors": "2048", "sectorsize": 512, "size": "1.00 MB", "start": "2048", "uuid": null }, "xvda2": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "e7a9b339-c47b-44f9-a3db-5567a302dcca" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "e7a9b339-c47b-44f9-a3db-5567a302dcca" } }, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "support_discard": "0", "vendor": null, "virtual": 1 }, "zram0": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": {}, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "", "sectors": "7600128", "sectorsize": "4096", "size": "3.62 GB", "support_discard": "4096", "vendor": null, "virtual": 1 } }, "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "37", "distribution_release": "", "distribution_version": "37", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "us-east-1.aws.redhat.com" ] }, "domain": "testing-farm", "effective_group_id": 0, "effective_user_id": 0, "env": { "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "DEBUGINFOD_URLS": "https://debuginfod.fedoraproject.org/ ", "EDITOR": "/usr/bin/vim", "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.29.163.187 60510 22", "SSH_CONNECTION": "10.29.163.187 60510 10.31.9.86 22", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "6", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.31.9.86", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0" }, "ipv6": [ { "address": "fe80::1097:9dff:fe8d:2c5b", "prefix": "64", "scope": "link" } ], "macaddress": "12:97:9d:8d:2c:5b", "module": "xen_netfront", "mtu": 1500, "pciid": "vif-0", "promisc": false, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "8fafb1c6-5d5e-4b17-8ee4-25720c1f093e.testing-farm", "gather_subset": [ "all" ], "hostname": "8fafb1c6-5d5e-4b17-8ee4-25720c1f093e", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.5.6-100.fc37.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:01:16 UTC 2023", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "lsb": {}, "lvm": { "lvs": {}, "pvs": {}, "vgs": {} }, "machine": "x86_64", "machine_id": "dd30fd1a49314b419789e22c7a71aea8", "memfree_mb": 2684, "memory_mb": { "nocache": { "free": 3482, "used": 229 }, "real": { "free": 2684, "total": 3711, "used": 1027 }, "swap": { "cached": 0, "free": 3710, "total": 3710, "used": 0 } }, "memtotal_mb": 3711, "module_setup": true, "mounts": [ { "block_available": 61296048, "block_size": 4096, "block_total": 64483404, "block_used": 3187356, "device": "/dev/xvda2", "fstype": "ext4", "inode_available": 16305995, "inode_total": 16384000, "inode_used": 78005, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 251068612608, "size_total": 264124022784, "uuid": "e7a9b339-c47b-44f9-a3db-5567a302dcca" } ], "nodename": "8fafb1c6-5d5e-4b17-8ee4-25720c1f093e.testing-farm", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.5.6-100.fc37.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=e7a9b339-c47b-44f9-a3db-5567a302dcca" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz" ], "processor_cores": 1, "processor_count": 1, "processor_threads_per_core": 2, "processor_vcpus": 2, "product_name": "HVM domU", "product_serial": "ec2856d1-6b39-17a5-7c54-3cf8cdb639f1", "product_uuid": "ec2856d1-6b39-17a5-7c54-3cf8cdb639f1", "product_version": "4.2.amazon", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 5, "minor": 11, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 11, 5, "final", 0 ] }, "python_version": "3.11.5", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAKu04tiV2UJD+uB3809YFVGz2wH2fE8IPSln/p9gsdIZm/EVIse6H/Y0B7tF8CrTn4stpuFMz+BHuszSYu1dCPMp/Ad9QriM9iPb4EfvjjMA5KQ8aC8n+0to15ETxJTSX9w//+sqSEbwh0UvQA1xoyTdMI3FH/h7xqtYdFs0FJONAAAAFQCyBn121B0KoZAHt0invk7VtBPMnQAAAIEAl1RfHFf2IB1vcQMBORF7boDiRBYYh8i5xy/8g0/ZHZ2GO1x9jb/sgrkTKrNIF0mbjnwbXPfYChKIiitej7t7cd5okLbZov3QvlzUx/1njE2Q2CyJRv9WbdmvnWrUfOUAiW/R0k33Tcu0kJV+nTIcrN5Ua6v//VmcwTh6OV985ZQAAACAApvvuMHIRpfnRjpyhH+nQSvYbKQqMaJv+Skd75/PlUdxfj7RkdIEEf7abeD7d2Otj2Vj1QpBXDI+S0RXg1SHzQmlYZy5r+PD/v+IUlES1rXVninWDTPhbB0aK6qMg1XDXbs8X/WgxeniwPz3ofDMZc2XOQfkLykpuGzMoFyKP/4=", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEpvT2Yd0JcaP9N+3nXCLggS+gThsItY1I74W8gjZOb1IbK1frLv2KRPUt9GEFGTt9tAIZDgwyF0DUL7plumB04=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIChD/Kkq7p++0Jr3XUwu9/n9oZ8aQHAr4V/DF548jtRa", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDEXG86PLz4ynB5xkQ5+ZdOYpvO5N9NdGhhWWkKvqI5JfMpC4Gx1YJ3eSCE3bNLWuJwp0qhSLn2KvxSJlW7bUWTKUzwTbnZhe9qn4D/bAK5pErzsU8ZY7vBTsAN04UgEfvjbvWnY0WfpFpo4x3OtkPAr23Q6/7E9qt/dLOcJg8m5gVOd6oOrcmy5p0Q+YGv6A5EkUaKawIqplrDGkjKxxkCFTInOec26rwVvffIg5407V77Ucx52Rk205ZlLNnttKW3bYdmzfgu7JP1tY++4jthSeYDW1Z91gP/M0e+t2AuxPCEi9EC/enmvpXITeW3T0VZ8IBCHcP5T3SCaSMvnnSsy9honJpweM+xbQcu3BG5lJjCu0JE+BiTlCkAo0fi9Z76ErtiubmkDZMKCwlz3SWVW5aS3R8FPEkBFJqLWNwBJQzNvDMq70RoC0/2ahFkL50T7Fb9cH0ifYwrqi1sgbA0arGMR9JiQrivb5IZ7zQNnBMvH6GSYXfVPyep7BSPzbs=", "swapfree_mb": 3710, "swaptotal_mb": 3710, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 768, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_type": "xen" } TASK [Install hostapd via CentOS Stream] *************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml:8 Thursday 30 November 2023 16:51:31 +0000 (0:00:00.017) 0:00:09.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install hostapd] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml:16 Thursday 30 November 2023 16:51:31 +0000 (0:00:00.015) 0:00:09.798 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: hostapd-2.10-4.fc37.x86_64" ] } TASK [Create directory for test certificates] ********************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml:23 Thursday 30 November 2023 16:51:35 +0000 (0:00:03.998) 0:00:13.797 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/hostapd_test", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Copy server certificates] ************************************************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml:28 Thursday 30 November 2023 16:51:35 +0000 (0:00:00.313) 0:00:14.110 ***** changed: [sut] => (item=server.key) => { "ansible_loop_var": "item", "changed": true, "checksum": "cdb9dc915fdc71f7fd22ad887def7ecffab6cb6e", "dest": "/etc/pki/tls/hostapd_test/server.key", "gid": 0, "group": "root", "item": "server.key", "md5sum": "cd4f4d7098e86ee9d0e88e61f0c44ec4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1701363095.665239-2578-277556121750843/source", "state": "file", "uid": 0 } changed: [sut] => (item=dh.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "bf0f85791e75de8be4c2d350f275a2ba11387409", "dest": "/etc/pki/tls/hostapd_test/dh.pem", "gid": 0, "group": "root", "item": "dh.pem", "md5sum": "4113e34f62361150e6900c737183327e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 424, "src": "/root/.ansible/tmp/ansible-tmp-1701363096.3180609-2578-124429228073901/source", "state": "file", "uid": 0 } changed: [sut] => (item=server.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "8e23f3b43e1d5346659d6e46a7415d5da14128a0", "dest": "/etc/pki/tls/hostapd_test/server.pem", "gid": 0, "group": "root", "item": "server.pem", "md5sum": "7b57077d9e9aea06a4e2dd4ca1f4be7d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1701363096.8704865-2578-102205920270831/source", "state": "file", "uid": 0 } changed: [sut] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/hostapd_test/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1701363097.4194503-2578-150826132135581/source", "state": "file", "uid": 0 } TASK [Create test interfaces] ************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml:39 Thursday 30 November 2023 16:51:37 +0000 (0:00:02.318) 0:00:16.429 ***** ok: [sut] => { "changed": false, "cmd": "ip link add veth1 type veth peer name veth1-br\nip link add veth2 type veth peer name veth2-br\n\nip link add br1 type bridge\nip link set br1 up\n\nip netns add ns1\n\nip link set veth1 netns ns1\n\nip netns exec ns1 ip addr add 203.0.113.1/24 dev veth1\n\nip link set veth1-br up\nip link set veth2-br up\n\nip link set veth1-br master br1\nip link set veth2-br master br1\n\nip netns exec ns1 ip link set veth1 up\nip link set veth2 up\n\n# Enable forwarding of EAP 802.1x messages through software bridge \"br1\".\necho 8 > /sys/class/net/br1/bridge/group_fwd_mask\n", "delta": "0:00:00.379714", "end": "2023-11-30 16:51:38.591037", "rc": 0, "start": "2023-11-30 16:51:38.211323" } TASK [Create hostapd config] *************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml:66 Thursday 30 November 2023 16:51:38 +0000 (0:00:00.683) 0:00:17.113 ***** changed: [sut] => { "changed": true, "checksum": "63d57fa1df50be4e935d3ebaf25081e64c6f3cce", "dest": "/etc/hostapd/wired.conf", "gid": 0, "group": "root", "md5sum": "925e7b62de46d20b695d58823d8e706b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 397, "src": "/root/.ansible/tmp/ansible-tmp-1701363098.6641622-2659-163026060928884/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml:87 Thursday 30 November 2023 16:51:39 +0000 (0:00:00.560) 0:00:17.674 ***** 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-1701363099.2248168-2671-239398288260031/source", "state": "file", "uid": 0 } TASK [Run hostapd in namespace] ************************************************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml:94 Thursday 30 November 2023 16:51:39 +0000 (0:00:00.566) 0:00:18.240 ***** ok: [sut] => { "changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.222841", "end": "2023-11-30 16:51:45.161663", "rc": 0, "start": "2023-11-30 16:51:39.938822" } STDOUT: veth1: interface state UNINITIALIZED->ENABLED veth1: AP-ENABLED TASK [Copy client certs] ******************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802.1x.yml:4 Thursday 30 November 2023 16:51:45 +0000 (0:00:05.434) 0:00:23.675 ***** 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-1701363105.230457-2793-214525714401012/source", "state": "file", "uid": 0 } changed: [sut] => (item=client.key.nocrypt) => { "ansible_loop_var": "item", "changed": true, "checksum": "da377753604d62ad8a5da4b67cd4e98e9a66433b", "dest": "/etc/pki/tls/client.key.nocrypt", "gid": 0, "group": "root", "item": "client.key.nocrypt", "md5sum": "cd7792b2fbafd1669e6d5e519cbdb6c6", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1675, "src": "/root/.ansible/tmp/ansible-tmp-1701363105.7844036-2793-220545796253255/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-1701363106.3379545-2793-274005567294174/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-1701363106.8942337-2793-180113945349108/source", "state": "file", "uid": 0 } TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:15 Thursday 30 November 2023 16:51:47 +0000 (0:00:02.246) 0:00:25.922 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 16:51:47 +0000 (0:00:00.016) 0:00:25.938 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 16:51:47 +0000 (0:00:00.093) 0:00:26.032 ***** 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 16:51:47 +0000 (0:00:00.027) 0:00:26.059 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 16:51:47 +0000 (0:00:00.028) 0:00:26.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 16:51:47 +0000 (0:00:00.051) 0:00:26.139 ***** 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] ********* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 16:51:49 +0000 (0:00:02.055) 0:00:28.194 ***** 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] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 16:51:50 +0000 (0:00:01.017) 0:00:29.212 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 16:51:50 +0000 (0:00:00.040) 0:00:29.252 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 16:51:50 +0000 (0:00:00.062) 0:00:29.315 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 16:51:50 +0000 (0:00:00.039) 0:00:29.354 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: wpa_supplicant-1:2.10-5.fc37.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 16:51:55 +0000 (0:00:04.206) 0:00:33.560 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 16:51:55 +0000 (0:00:00.038) 0:00:33.598 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 16:51:55 +0000 (0:00:00.038) 0:00:33.637 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 16:51:55 +0000 (0:00:00.042) 0:00:33.680 ***** 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] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 16:51:55 +0000 (0:00:00.657) 0:00:34.338 ***** changed: [sut] => { "changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket basic.target dbus.socket dbus-broker.service sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14732", "LimitNPROCSoft": "14732", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14732", "LimitSIGPENDINGSoft": "14732", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4419", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 16:51:56 +0000 (0:00:00.856) 0:00:35.194 ***** 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] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 16:51:56 +0000 (0:00:00.038) 0:00:35.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 16:51:56 +0000 (0:00:00.038) 0:00:35.272 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 127d1a43-51e8-4b9b-a612-613a7e76947a [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 127d1a43-51e8-4b9b-a612-613a7e76947a (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 16:51:59 +0000 (0:00:03.041) 0:00:38.313 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 16:51:59 +0000 (0:00:00.036) 0:00:38.350 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 127d1a43-51e8-4b9b-a612-613a7e76947a", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 127d1a43-51e8-4b9b-a612-613a7e76947a (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 16:51:59 +0000 (0:00:00.069) 0:00:38.419 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 127d1a43-51e8-4b9b-a612-613a7e76947a\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 127d1a43-51e8-4b9b-a612-613a7e76947a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 127d1a43-51e8-4b9b-a612-613a7e76947a", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 127d1a43-51e8-4b9b-a612-613a7e76947a (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 16:51:59 +0000 (0:00:00.040) 0:00:38.460 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 16:52:00 +0000 (0:00:00.036) 0:00:38.497 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Ensure ping command is present] ****************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:41 Thursday 30 November 2023 16:52:00 +0000 (0:00:00.290) 0:00:38.787 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:47 Thursday 30 November 2023 16:52:02 +0000 (0:00:02.540) 0:00:41.328 ***** ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004499", "end": "2023-11-30 16:52:03.027005", "rc": 0, "start": "2023-11-30 16:52:03.022506" } STDOUT: PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data. 64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.062 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.062/0.062/0.062/0.000 ms TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.226) 0:00:41.555 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.065) 0:00:41.620 ***** 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.061) 0:00:41.682 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.056) 0:00:41.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.055) 0:00:41.794 ***** 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] ********* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 16:52:05 +0000 (0:00:02.094) 0:00:43.889 ***** 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] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.876) 0:00:44.766 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.047) 0:00:44.814 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.054) 0:00:44.869 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.050) 0:00:44.919 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.081) 0:00:45.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.046) 0:00:45.047 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.045) 0:00:45.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.056) 0:00:45.150 ***** 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] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 16:52:07 +0000 (0:00:00.614) 0:00:45.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 16:52:07 +0000 (0:00:00.051) 0:00:45.816 ***** 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] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 16:52:07 +0000 (0:00:00.042) 0:00:45.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 16:52:07 +0000 (0:00:00.043) 0:00:45.902 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 16:52:07 +0000 (0:00:00.569) 0:00:46.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 16:52:08 +0000 (0:00:00.045) 0:00:46.517 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 16:52:08 +0000 (0:00:00.043) 0:00:46.561 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 16:52:08 +0000 (0:00:00.049) 0:00:46.610 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 16:52:08 +0000 (0:00:00.044) 0:00:46.654 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [TEST: 802.1x profile with unencrypted private key, domain suffix match, and system ca certs] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:58 Thursday 30 November 2023 16:52:08 +0000 (0:00:00.230) 0:00:46.885 ***** ok: [sut] => {} MSG: ################################################## TASK [Copy cacert to system truststore] **************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:63 Thursday 30 November 2023 16:52:08 +0000 (0:00:00.030) 0:00:46.916 ***** changed: [sut] => { "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/ca-trust/source/anchors/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1701363128.467776-3302-153169423438623/source", "state": "file", "uid": 0 } TASK [Update ca trust] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:68 Thursday 30 November 2023 16:52:09 +0000 (0:00:00.576) 0:00:47.492 ***** ok: [sut] => { "changed": false, "cmd": [ "update-ca-trust" ], "delta": "0:00:01.117374", "end": "2023-11-30 16:52:10.303464", "rc": 0, "start": "2023-11-30 16:52:09.186090" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 16:52:10 +0000 (0:00:01.340) 0:00:48.833 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 16:52:10 +0000 (0:00:00.065) 0:00:48.898 ***** 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 16:52:10 +0000 (0:00:00.053) 0:00:48.951 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 16:52:10 +0000 (0:00:00.044) 0:00:48.996 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 16:52:10 +0000 (0:00:00.040) 0:00:49.037 ***** 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] ********* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 16:52:12 +0000 (0:00:02.019) 0:00:51.057 ***** 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] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 16:52:13 +0000 (0:00:00.855) 0:00:51.912 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 16:52:13 +0000 (0:00:00.036) 0:00:51.949 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 16:52:13 +0000 (0:00:00.039) 0:00:51.988 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 16:52:13 +0000 (0:00:00.037) 0:00:52.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 16:52:13 +0000 (0:00:00.106) 0:00:52.133 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 16:52:13 +0000 (0:00:00.037) 0:00:52.170 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 16:52:13 +0000 (0:00:00.039) 0:00:52.209 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 16:52:13 +0000 (0:00:00.042) 0:00:52.252 ***** 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] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 16:52:14 +0000 (0:00:00.593) 0:00:52.845 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-11-30 16:51:56 UTC", "ActiveEnterTimestampMonotonic": "794626739", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket sysinit.target dbus.socket dbus-broker.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-11-30 16:51:56 UTC", "AssertTimestampMonotonic": "794605487", "Before": "multi-user.target network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "18682000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-11-30 16:51:56 UTC", "ConditionTimestampMonotonic": "794605484", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlGroupId": "6691", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7043", "ExecMainStartTimestamp": "Thu 2023-11-30 16:51:56 UTC", "ExecMainStartTimestampMonotonic": "794615191", "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=[Thu 2023-11-30 16:51:56 UTC] ; stop_time=[n/a] ; pid=7043 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[Thu 2023-11-30 16:51:56 UTC] ; stop_time=[n/a] ; pid=7043 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-11-30 16:51:56 UTC", "InactiveExitTimestampMonotonic": "794615794", "InvocationID": "d20ed2a40468419c9dc7ff9039759afc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14732", "LimitNPROCSoft": "14732", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14732", "LimitSIGPENDINGSoft": "14732", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7043", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1957888", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-11-30 16:51:56 UTC", "StateChangeTimestampMonotonic": "794626739", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "4419", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 16:52:14 +0000 (0:00:00.589) 0:00:53.434 ***** 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] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 16:52:14 +0000 (0:00:00.039) 0:00:53.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 16:52:15 +0000 (0:00:00.045) 0:00:53.519 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ieee802_1x": { "client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ], "system_ca_certs": true }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 795398d0-4480-4952-84d2-fa783711d3c1 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 795398d0-4480-4952-84d2-fa783711d3c1 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 16:52:17 +0000 (0:00:02.600) 0:00:56.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.037) 0:00:56.157 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 795398d0-4480-4952-84d2-fa783711d3c1", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 795398d0-4480-4952-84d2-fa783711d3c1 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.045) 0:00:56.203 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ieee802_1x": { "client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ], "system_ca_certs": true }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 795398d0-4480-4952-84d2-fa783711d3c1\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 795398d0-4480-4952-84d2-fa783711d3c1 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 795398d0-4480-4952-84d2-fa783711d3c1", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 795398d0-4480-4952-84d2-fa783711d3c1 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.047) 0:00:56.250 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.041) 0:00:56.292 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:94 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.227) 0:00:56.519 ***** ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.003972", "end": "2023-11-30 16:52:18.220790", "rc": 0, "start": "2023-11-30 16:52:18.216818" } STDOUT: PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data. 64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.060 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.060/0.060/0.060/0.000 ms TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.231) 0:00:56.751 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.109) 0:00:56.860 ***** 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.063) 0:00:56.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.057) 0:00:56.981 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.053) 0:00:57.034 ***** 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] ********* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 16:52:20 +0000 (0:00:02.078) 0:00:59.113 ***** 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] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.889) 0:01:00.003 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.043) 0:01:00.047 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.045) 0:01:00.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.055) 0:01:00.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.080) 0:01:00.229 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.043) 0:01:00.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.047) 0:01:00.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.055) 0:01:00.376 ***** 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] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 16:52:22 +0000 (0:00:00.612) 0:01:00.988 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 16:52:22 +0000 (0:00:00.082) 0:01:01.071 ***** 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] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 16:52:22 +0000 (0:00:00.046) 0:01:01.117 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 16:52:22 +0000 (0:00:00.041) 0:01:01.159 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.486) 0:01:01.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.045) 0:01:01.691 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.045) 0:01:01.737 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.048) 0:01:01.785 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.043) 0:01:01.829 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'test_802.1x_capath.yml'] ******************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:106 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.228) 0:01:02.058 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml for sut TASK [TEST: 802.1x profile with unencrypted private key and ca_path] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:2 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.089) 0:01:02.147 ***** ok: [sut] => {} MSG: ################################################## TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:6 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.034) 0:01:02.181 ***** ok: [sut] => { "ansible_facts": { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ] }, "changed": false } TASK [Create directory for ca_path test] *************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:22 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.070) 0:01:02.252 ***** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/my_ca_certs", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Copy cacert to ca_path] ************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:27 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.231) 0:01:02.483 ***** changed: [sut] => { "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/my_ca_certs/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1701363144.0357888-3724-11239632384117/source", "state": "file", "uid": 0 } TASK [Install openssl (test dependency)] *************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:32 Thursday 30 November 2023 16:52:24 +0000 (0:00:00.581) 0:01:03.065 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Hash cacert] ************************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:38 Thursday 30 November 2023 16:52:27 +0000 (0:00:02.505) 0:01:05.571 ***** ok: [sut] => { "changed": false, "cmd": [ "openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem" ], "delta": "0:00:00.252389", "end": "2023-11-30 16:52:27.520521", "rc": 0, "start": "2023-11-30 16:52:27.268132" } STDOUT: d1b7d027 TASK [Add symlink for cacert] ************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:43 Thursday 30 November 2023 16:52:27 +0000 (0:00:00.505) 0:01:06.077 ***** changed: [sut] => { "changed": true, "dest": "/etc/pki/tls/my_ca_certs/d1b7d027.0", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 10, "src": "cacert.pem", "state": "link", "uid": 0 } TASK [Get NetworkManager version] ********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:48 Thursday 30 November 2023 16:52:27 +0000 (0:00:00.233) 0:01:06.311 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.253231", "end": "2023-11-30 16:52:28.258731", "rc": 0, "start": "2023-11-30 16:52:28.005500" } STDOUT: NetworkManager-1.40.18-1.fc37.x86_64 TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 16:52:28 +0000 (0:00:00.480) 0:01:06.791 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 16:52:28 +0000 (0:00:00.075) 0:01:06.866 ***** 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 16:52:28 +0000 (0:00:00.040) 0:01:06.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 16:52:28 +0000 (0:00:00.045) 0:01:06.953 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 16:52:28 +0000 (0:00:00.033) 0:01:06.987 ***** 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] ********* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 16:52:30 +0000 (0:00:02.025) 0:01:09.013 ***** 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] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 16:52:31 +0000 (0:00:00.847) 0:01:09.860 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 16:52:31 +0000 (0:00:00.035) 0:01:09.896 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 16:52:31 +0000 (0:00:00.031) 0:01:09.928 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 16:52:31 +0000 (0:00:00.032) 0:01:09.960 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 16:52:31 +0000 (0:00:00.065) 0:01:10.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 16:52:31 +0000 (0:00:00.031) 0:01:10.057 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 16:52:31 +0000 (0:00:00.033) 0:01:10.091 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 16:52:31 +0000 (0:00:00.076) 0:01:10.167 ***** 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] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 16:52:32 +0000 (0:00:00.599) 0:01:10.766 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2023-11-30 16:51:56 UTC", "ActiveEnterTimestampMonotonic": "794626739", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket sysinit.target dbus.socket dbus-broker.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-11-30 16:51:56 UTC", "AssertTimestampMonotonic": "794605487", "Before": "multi-user.target network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "62692000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2023-11-30 16:51:56 UTC", "ConditionTimestampMonotonic": "794605484", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlGroupId": "6691", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7043", "ExecMainStartTimestamp": "Thu 2023-11-30 16:51:56 UTC", "ExecMainStartTimestampMonotonic": "794615191", "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=[Thu 2023-11-30 16:51:56 UTC] ; stop_time=[n/a] ; pid=7043 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[Thu 2023-11-30 16:51:56 UTC] ; stop_time=[n/a] ; pid=7043 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2023-11-30 16:51:56 UTC", "InactiveExitTimestampMonotonic": "794615794", "InvocationID": "d20ed2a40468419c9dc7ff9039759afc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14732", "LimitNPROCSoft": "14732", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14732", "LimitSIGPENDINGSoft": "14732", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7043", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "2842624", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-11-30 16:51:56 UTC", "StateChangeTimestampMonotonic": "794626739", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "4419", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 16:52:32 +0000 (0:00:00.575) 0:01:11.342 ***** 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] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 16:52:32 +0000 (0:00:00.030) 0:01:11.372 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 16:52:32 +0000 (0:00:00.032) 0:01:11.404 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ieee802_1x": { "ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, f470cd73-ca08-4bb0-b2ca-4e335d3c2ab5 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, f470cd73-ca08-4bb0-b2ca-4e335d3c2ab5 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 16:52:35 +0000 (0:00:02.695) 0:01:14.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 16:52:35 +0000 (0:00:00.034) 0:01:14.134 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, f470cd73-ca08-4bb0-b2ca-4e335d3c2ab5", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, f470cd73-ca08-4bb0-b2ca-4e335d3c2ab5 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 16:52:35 +0000 (0:00:00.034) 0:01:14.168 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ieee802_1x": { "ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, f470cd73-ca08-4bb0-b2ca-4e335d3c2ab5\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, f470cd73-ca08-4bb0-b2ca-4e335d3c2ab5 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, f470cd73-ca08-4bb0-b2ca-4e335d3c2ab5", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, f470cd73-ca08-4bb0-b2ca-4e335d3c2ab5 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 16:52:35 +0000 (0:00:00.034) 0:01:14.203 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 16:52:35 +0000 (0:00:00.032) 0:01:14.236 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Ensure ping command is present] ****************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:78 Thursday 30 November 2023 16:52:35 +0000 (0:00:00.218) 0:01:14.455 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:84 Thursday 30 November 2023 16:52:38 +0000 (0:00:02.554) 0:01:17.009 ***** ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.003843", "end": "2023-11-30 16:52:38.707742", "rc": 0, "start": "2023-11-30 16:52:38.703899" } STDOUT: PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data. 64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.057 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.057/0.057/0.057/0.000 ms TASK [Trigger failure in case the role did not fail] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:87 Thursday 30 November 2023 16:52:38 +0000 (0:00:00.227) 0:01:17.237 ***** fatal: [sut]: FAILED! => { "changed": false } MSG: after test TASK [Show failed item] ******************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:91 Thursday 30 November 2023 16:52:38 +0000 (0:00:00.036) 0:01:17.273 ***** ok: [sut] => (item=ansible_failed_result) => { "ansible_failed_result": { "changed": false, "failed": true, "msg": "after test" }, "ansible_loop_var": "item", "item": "ansible_failed_result" } ok: [sut] => (item=ansible_failed_task) => { "ansible_failed_task": { "action": "fail", "any_errors_fatal": false, "args": { "msg": "after test" }, "async": 0, "async_val": 0, "become": false, "become_exe": null, "become_flags": null, "become_method": "sudo", "become_user": null, "changed_when": [], "check_mode": false, "collections": [], "connection": "smart", "debugger": null, "delay": 5, "delegate_facts": null, "delegate_to": null, "diff": false, "environment": [ {} ], "failed_when": [], "finalized": true, "ignore_errors": null, "ignore_unreachable": null, "loop": null, "loop_control": null, "loop_with": null, "module_defaults": [], "name": "Trigger failure in case the role did not fail", "no_log": null, "notify": null, "poll": 15, "port": null, "register": null, "remote_user": "root", "retries": 3, "run_once": null, "squashed": true, "tags": [], "throttle": 0, "until": [], "uuid": "0abd90da-3ab7-f20e-1a9c-0000000004c4", "vars": {}, "when": [ "ansible_distribution_major_version != '6'", "ansible_distribution != 'RedHat' or ansible_distribution_major_version | int < 9" ] }, "ansible_loop_var": "item", "item": "ansible_failed_task" } ok: [sut] => (item=__network_nm_nvr.stdout) => { "__network_nm_nvr.stdout": "NetworkManager-1.40.18-1.fc37.x86_64", "ansible_loop_var": "item", "item": "__network_nm_nvr.stdout" } ok: [sut] => (item=__NM_capath_ignored_NVRs) => { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ], "ansible_loop_var": "item", "item": "__NM_capath_ignored_NVRs" } TASK [Assert role behavior] **************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:101 Thursday 30 November 2023 16:52:38 +0000 (0:00:00.077) 0:01:17.350 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert role failure] ***************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:111 Thursday 30 November 2023 16:52:38 +0000 (0:00:00.037) 0:01:17.388 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ping succeeded] *************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:120 Thursday 30 November 2023 16:52:38 +0000 (0:00:00.043) 0:01:17.432 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 16:52:38 +0000 (0:00:00.037) 0:01:17.469 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 16:52:39 +0000 (0:00:00.076) 0:01:17.546 ***** 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 16:52:39 +0000 (0:00:00.059) 0:01:17.606 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 16:52:39 +0000 (0:00:00.051) 0:01:17.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 16:52:39 +0000 (0:00:00.048) 0:01:17.706 ***** 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] ********* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 16:52:41 +0000 (0:00:02.041) 0:01:19.748 ***** 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] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 16:52:42 +0000 (0:00:00.866) 0:01:20.614 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 16:52:42 +0000 (0:00:00.045) 0:01:20.659 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 16:52:42 +0000 (0:00:00.045) 0:01:20.704 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 16:52:42 +0000 (0:00:00.048) 0:01:20.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 16:52:42 +0000 (0:00:00.131) 0:01:20.885 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 16:52:42 +0000 (0:00:00.060) 0:01:20.945 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 16:52:42 +0000 (0:00:00.048) 0:01:20.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 16:52:42 +0000 (0:00:00.047) 0:01:21.041 ***** 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] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 16:52:43 +0000 (0:00:00.616) 0:01:21.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 16:52:43 +0000 (0:00:00.056) 0:01:21.714 ***** 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] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 16:52:43 +0000 (0:00:00.047) 0:01:21.762 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 16:52:43 +0000 (0:00:00.048) 0:01:21.810 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" }, { "name": "br1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 16:52:43 +0000 (0:00:00.572) 0:01:22.382 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 16:52:43 +0000 (0:00:00.054) 0:01:22.437 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 16:52:44 +0000 (0:00:00.085) 0:01:22.522 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" }, { "name": "br1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete\n", "stderr_lines": [ "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 16:52:44 +0000 (0:00:00.043) 0:01:22.566 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 16:52:44 +0000 (0:00:00.044) 0:01:22.610 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'cleanup_802_1x_server.yml'] **************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:125 Thursday 30 November 2023 16:52:44 +0000 (0:00:00.239) 0:01:22.850 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/cleanup_802_1x_server.yml for sut TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/cleanup_802_1x_server.yml:3 Thursday 30 November 2023 16:52:44 +0000 (0:00:00.060) 0:01:22.910 ***** ok: [sut] => { "changed": false, "cmd": "ip netns delete ns1\nip link delete veth1-br\nip link delete veth2-br\nip link delete br1\n", "delta": "0:00:00.046642", "end": "2023-11-30 16:52:44.658486", "rc": 0, "start": "2023-11-30 16:52:44.611844" } TASK [Kill hostapd process] **************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/cleanup_802_1x_server.yml:11 Thursday 30 November 2023 16:52:44 +0000 (0:00:00.279) 0:01:23.190 ***** ok: [sut] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.013056", "end": "2023-11-30 16:52:44.900871", "rc": 0, "start": "2023-11-30 16:52:44.887815" } TASK [Remove certs and config] ************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 Thursday 30 November 2023 16:52:44 +0000 (0:00:00.245) 0:01:23.436 ***** changed: [sut] => (item=/etc/pki/tls/hostapd_test) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/hostapd_test", "path": "/etc/pki/tls/hostapd_test", "state": "absent" } changed: [sut] => (item=/etc/hostapd/wired.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/wired.conf", "path": "/etc/hostapd/wired.conf", "state": "absent" } changed: [sut] => (item=/etc/hostapd/hostapd.eap_user) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/hostapd.eap_user", "path": "/etc/hostapd/hostapd.eap_user", "state": "absent" } TASK [Remove test certificates] ************************************************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:127 Thursday 30 November 2023 16:52:45 +0000 (0:00:00.696) 0:01:24.132 ***** changed: [sut] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "item": "client.key", "path": "/etc/pki/tls/client.key", "state": "absent" } changed: [sut] => (item=client.key.nocrypt) => { "ansible_loop_var": "item", "changed": true, "item": "client.key.nocrypt", "path": "/etc/pki/tls/client.key.nocrypt", "state": "absent" } changed: [sut] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "item": "client.pem", "path": "/etc/pki/tls/client.pem", "state": "absent" } changed: [sut] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "item": "cacert.pem", "path": "/etc/pki/tls/cacert.pem", "state": "absent" } TASK [Remove test CA] ********************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:136 Thursday 30 November 2023 16:52:46 +0000 (0:00:00.893) 0:01:25.026 ***** changed: [sut] => (item=/etc/pki/tls/my_ca_certs) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/my_ca_certs", "path": "/etc/pki/tls/my_ca_certs", "state": "absent" } changed: [sut] => (item=/etc/pki/ca-trust/source/anchors/cacert.pem) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/ca-trust/source/anchors/cacert.pem", "path": "/etc/pki/ca-trust/source/anchors/cacert.pem", "state": "absent" } TASK [Update ca trust] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:143 Thursday 30 November 2023 16:52:47 +0000 (0:00:00.465) 0:01:25.492 ***** ok: [sut] => { "changed": false, "cmd": [ "update-ca-trust" ], "delta": "0:00:01.116172", "end": "2023-11-30 16:52:48.308229", "rc": 0, "start": "2023-11-30 16:52:47.192057" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=109 changed=22 unreachable=0 failed=0 skipped=88 rescued=1 ignored=0 Thursday 30 November 2023 16:52:48 +0000 (0:00:01.328) 0:01:26.820 ***** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.43s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml:94 linux-system-roles.network : Install packages --------------------------- 4.21s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install hostapd --------------------------------------------------------- 4.00s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml:16 Gathering Facts --------------------------------------------------------- 3.39s /WORKDIR/git-code_refactorpp5wg6l0/tests/tests_802_1x_updated_nm.yml:5 -------- linux-system-roles.network : Configure networking connection profiles --- 3.04s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Update NetworkManager --------------------------------------------------- 2.80s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x_updated.yml:7 - linux-system-roles.network : Configure networking connection profiles --- 2.70s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 2.60s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Ensure ping command is present ------------------------------------------ 2.55s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:78 Ensure ping command is present ------------------------------------------ 2.54s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:41 -------- Install openssl (test dependency) --------------------------------------- 2.51s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/test_802.1x_capath.yml:32 Copy server certificates ------------------------------------------------ 2.32s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802_1x_server.yml:28 Copy client certs ------------------------------------------------------- 2.25s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/setup_802.1x.yml:4 --- linux-system-roles.network : Check which services are running ----------- 2.09s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.08s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.06s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.04s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.03s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.02s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Update ca trust --------------------------------------------------------- 1.34s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_802_1x.yml:68 -------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---