# 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-ansible-lint-test-2.16a7fiha57/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-ansible-lint-test-2.16a7fiha57/tests/tests_802_1x_updated_nm.yml:6 Thursday 21 December 2023 15:45:50 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tests_802_1x_updated_nm.yml:9 Thursday 21 December 2023 15:45:52 +0000 (0:00:02.263) 0:00:02.275 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 15:45:52 +0000 (0:00:00.010) 0:00:02.286 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 15:45:53 +0000 (0:00:00.554) 0:00:02.841 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 15:45:53 +0000 (0:00:00.284) 0:00:03.125 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 15:45:53 +0000 (0:00:00.020) 0:00:03.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 15:45:53 +0000 (0:00:00.016) 0:00:03.162 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 15:45:53 +0000 (0:00:00.030) 0:00:03.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 15:45:53 +0000 (0:00:00.008) 0:00:03.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 15:45:53 +0000 (0:00:00.008) 0:00:03.209 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 15:45:53 +0000 (0:00:00.007) 0:00:03.217 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 15:45:53 +0000 (0:00:00.008) 0:00:03.225 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tests_802_1x_updated_nm.yml:11 Thursday 21 December 2023 15:45:53 +0000 (0:00:00.007) 0:00:03.233 ***** 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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x_updated.yml:3 Thursday 21 December 2023 15:45:53 +0000 (0:00:00.008) 0:00:03.242 ***** ok: [sut] META: ran handlers TASK [Update NetworkManager] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x_updated.yml:7 Thursday 21 December 2023 15:45:54 +0000 (0:00:00.822) 0:00:04.064 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Restart NetworkManager] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x_updated.yml:13 Thursday 21 December 2023 15:45:57 +0000 (0:00:02.713) 0:00:06.777 ***** changed: [sut] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:NetworkManager_unit_file_t:s0", "ActiveEnterTimestamp": "Thu 2023-12-21 15:33:14 UTC", "ActiveEnterTimestampMonotonic": "23998261", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "cloud-init-local.service systemd-journald.socket sysinit.target basic.target dbus.socket network-pre.target dbus-broker.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-21 15:33:13 UTC", "AssertTimestampMonotonic": "23292467", "Before": "multi-user.target network.target NetworkManager-wait-online.service cloud-init.service network.service shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "104563000", "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-12-21 15:33:13 UTC", "ConditionTimestampMonotonic": "23292464", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlGroupId": "3173", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "\"man:NetworkManager(8)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "567", "ExecMainStartTimestamp": "Thu 2023-12-21 15:33:13 UTC", "ExecMainStartTimestampMonotonic": "23296185", "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-12-21 15:33:13 UTC", "InactiveExitTimestampMonotonic": "23296429", "InvocationID": "f2ba0cb4098545389426ea833aa1556e", "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": "14780", "LimitNPROCSoft": "14780", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14780", "LimitSIGPENDINGSoft": "14780", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "567", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "10465280", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "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", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2023-12-21 15:38:07 UTC", "StateChangeTimestampMonotonic": "317867066", "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": "4", "TasksMax": "4434", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:3 Thursday 21 December 2023 15:45:58 +0000 (0:00:00.849) 0:00:07.627 ***** ok: [sut] META: ran handlers TASK [INIT: 802.1x tests] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:8 Thursday 21 December 2023 15:45:59 +0000 (0:00:00.952) 0:00:08.580 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'setup_802.1x.yml'] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:11 Thursday 21 December 2023 15:45:59 +0000 (0:00:00.011) 0:00:08.592 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802.1x.yml for sut TASK [Include the task 'setup_802_1x_server.yml'] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802.1x.yml:2 Thursday 21 December 2023 15:45:59 +0000 (0:00:00.012) 0:00:08.605 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml for sut TASK [Debug] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml:3 Thursday 21 December 2023 15:45:59 +0000 (0:00:00.014) 0:00:08.620 ***** ok: [sut] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.11.216" ], "all_ipv6_addresses": [ "fe80::10e1:6cff:fe34:cb45" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.11.amazon", "cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.6.4-100.fc38.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=2901de93-8301-4c46-916e-b9984031cd94" }, "date_time": { "date": "2023-12-21", "day": "21", "epoch": "1703173558", "hour": "15", "iso8601": "2023-12-21T15:45:58Z", "iso8601_basic": "20231221T154558770393", "iso8601_basic_short": "20231221T154558", "iso8601_micro": "2023-12-21T15:45:58.770393Z", "minute": "45", "month": "12", "second": "58", "time": "15:45:58", "tz": "UTC", "tz_offset": "+0000", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "51", "year": "2023" }, "default_ipv4": { "address": "10.31.11.216", "alias": "eth0", "broadcast": "10.31.11.255", "gateway": "10.31.8.1", "interface": "eth0", "macaddress": "12:e1:6c:34:cb:45", "mtu": 1500, "netmask": "255.255.252.0", "network": "10.31.8.0", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda2": [ "2901de93-8301-4c46-916e-b9984031cd94" ] } }, "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": [ "2901de93-8301-4c46-916e-b9984031cd94" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "2901de93-8301-4c46-916e-b9984031cd94" } }, "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": "7622656", "sectorsize": "4096", "size": "3.63 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": "38", "distribution_release": "", "distribution_version": "38", "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.165 45602 22", "SSH_CONNECTION": "10.29.163.165 45602 10.31.11.216 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.11.216", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0" }, "ipv6": [ { "address": "fe80::10e1:6cff:fe34:cb45", "prefix": "64", "scope": "link" } ], "macaddress": "12:e1:6c:34:cb:45", "module": "xen_netfront", "mtu": 1500, "pciid": "vif-0", "promisc": false, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "dd10e0ee-2c4a-4fb2-9d13-e3b2779e0057.testing-farm", "gather_subset": [ "all" ], "hostname": "dd10e0ee-2c4a-4fb2-9d13-e3b2779e0057", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.6.4-100.fc38.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Sun Dec 3 18:11:27 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": "6e5ca9f1e87d45b58e983570e7cef3bc", "memfree_mb": 2696, "memory_mb": { "nocache": { "free": 3478, "used": 244 }, "real": { "free": 2696, "total": 3722, "used": 1026 }, "swap": { "cached": 0, "free": 3721, "total": 3721, "used": 0 } }, "memtotal_mb": 3722, "module_setup": true, "mounts": [ { "block_available": 61304699, "block_size": 4096, "block_total": 64483404, "block_used": 3178705, "device": "/dev/xvda2", "fstype": "ext4", "inode_available": 16305357, "inode_total": 16384000, "inode_used": 78643, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 251104047104, "size_total": 264124022784, "uuid": "2901de93-8301-4c46-916e-b9984031cd94" } ], "nodename": "dd10e0ee-2c4a-4fb2-9d13-e3b2779e0057.testing-farm", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.6.4-100.fc38.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=2901de93-8301-4c46-916e-b9984031cd94" }, "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": "ec2f54c2-fbc4-dbbd-71b1-fd3c4207a78e", "product_uuid": "ec2f54c2-fbc4-dbbd-71b1-fd3c4207a78e", "product_version": "4.11.amazon", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 6, "minor": 11, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 11, 6, "final", 0 ] }, "python_version": "3.11.6", "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": "AAAAB3NzaC1kc3MAAACBAKxQtdzUY7Z+wxGZOSWNpryyr1eqJZq64eCBcFTU7roR5Ux7YDhLPpW64utSonQ0gjDO8FOewEmqPatQ4KM0Q5Aj9YptiUBR6kOyREYw7QROObos8NFYLzmcEa82iC3CsPIzx/aNSqJGTEswJqCGvr8A1Bqy8UqFExn9YTT8Px+PAAAAFQCifQ25sumHynEOzCqgJWQdg/OsdwAAAIACokOP5Zaf4r7eLaC5L/TQe6Xjh4Owe9ZABcqF5FiIQypQItUxmf9qw6wxamZtM4MDDJzxF7Pz9UHQsYnRyxy4r2l/Wiqm2sgvD6ojMOTq2Rip/bkTDZzNEMwPvNxVyIU5UB/pes02yqTIFNcSJwZHFmKxUlQqmiCmeyeZS47jBQAAAIBgjdKWLd6sXeWD7CUP+Hk7AtBGSsWVB5VEr2iu1Yc02YYSYmNnWSWjKdw3vhejE/BT6HZrr0ROckhkkxkwsTNd04Y0Dk7Q30m/ufprYKfqP3Z9dvBPr0wb8A6zNrz0oDJBHc/CO5UizBkajykSqjFYzqfBPhm3kutRPh0nK/ULKA==", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDuVM/ogRyG4znJZ6puSU0RgR26vBfxl1/siu8/7Nh+pAts23/SuhVD6I9ye+rnSz//gf92+NVCGfFdbTVfbeJY=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICaU3Kll5A8rluPgrK520IPtPCmebn5mhHCktYEoe904", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC9B21ylqdJQE1X913/sP2WrgnmV6ntN1r0l25Fm8CiBD5wwp42PZGQMK3f/GGFvknZ4hJdXR8Dqst/4ZiLcyHo0ReIPKQtkos5VjXSfWtruKxHhU5X++CMFBGkf/QFU8K0QGU46j3DxcvZuepaJSbnyoC5jz24p7FOov5nX83dmG8/gDTJMuOTKluEDz/pNv68+Gw4MKWuvVxzyj+5i0RT1P8XnAyf0E71BockTEi+wX6u0BMEX+v3PqCOrci2txZA2ukf+fbZgwFk6razZOMvDlv5Mb2wQ2M+WwgeoiznpgiuYWIts9o6EFNHBbqaiMZKr1LoCli7bB8mhEsXKHJZVsMGRw+fG14KG/U3jOEEjoe1uhQJzhWAHVu3RsviIHcWDIzAfdsTqpAETcwo/LofHrfRYRSsbFgDK6WeEHjIMBECE569DIDfa/Xqj2IK0AK1yuE3eOuu0m9qF5czSGSefljrgbFrvJ615LMwQ/lf2xOSZXqu9LlNBYgYsBb6Wms=", "swapfree_mb": 3721, "swaptotal_mb": 3721, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 788, "user_dir": "/root", "user_gecos": "Super User", "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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml:8 Thursday 21 December 2023 15:45:59 +0000 (0:00:00.011) 0:00:08.631 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install hostapd] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml:16 Thursday 21 December 2023 15:45:59 +0000 (0:00:00.010) 0:00:08.641 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: hostapd-2.10-5.fc38.x86_64" ] } TASK [Create directory for test certificates] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml:23 Thursday 21 December 2023 15:46:03 +0000 (0:00:04.626) 0:00:13.267 ***** 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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml:28 Thursday 21 December 2023 15:46:04 +0000 (0:00:00.307) 0:00:13.574 ***** 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-1703173564.160744-3902-243277665253030/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-1703173564.804841-3902-217294221419087/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-1703173565.3753252-3902-256782485823451/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-1703173565.9402015-3902-157642664081981/source", "state": "file", "uid": 0 } TASK [Create test interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml:39 Thursday 21 December 2023 15:46:06 +0000 (0:00:02.350) 0:00:15.925 ***** 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.388416", "end": "2023-12-21 15:46:07.109928", "rc": 0, "start": "2023-12-21 15:46:06.721512" } TASK [Create hostapd config] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml:66 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.674) 0:00:16.600 ***** 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-1703173567.1807828-3968-257223350878633/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml:87 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.574) 0:00:17.175 ***** 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-1703173567.7548985-3978-167388599202760/source", "state": "file", "uid": 0 } TASK [Run hostapd in namespace] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml:94 Thursday 21 December 2023 15:46:08 +0000 (0:00:00.572) 0:00:17.747 ***** ok: [sut] => { "changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.107972", "end": "2023-12-21 15:46:13.585971", "rc": 0, "start": "2023-12-21 15:46:08.477999" } STDOUT: veth1: interface state UNINITIALIZED->ENABLED veth1: AP-ENABLED TASK [Copy client certs] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802.1x.yml:4 Thursday 21 December 2023 15:46:13 +0000 (0:00:05.322) 0:00:23.070 ***** 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-1703173573.6531901-4078-269653898988352/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-1703173574.2323806-4078-230769040575477/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-1703173574.8081179-4078-160855108664846/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-1703173575.3875287-4078-207772466737556/source", "state": "file", "uid": 0 } TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:15 Thursday 21 December 2023 15:46:15 +0000 (0:00:02.319) 0:00:25.390 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:46:15 +0000 (0:00:00.013) 0:00:25.403 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:46:16 +0000 (0:00:00.070) 0:00:25.474 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:46:16 +0000 (0:00:00.021) 0:00:25.495 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:46:16 +0000 (0:00:00.019) 0:00:25.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:46:16 +0000 (0:00:00.018) 0:00:25.533 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:46:18 +0000 (0:00:02.456) 0:00:27.989 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:46:19 +0000 (0:00:01.148) 0:00:29.137 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:46:19 +0000 (0:00:00.028) 0:00:29.165 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:46:19 +0000 (0:00:00.027) 0:00:29.192 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:46:19 +0000 (0:00:00.027) 0:00:29.220 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: wpa_supplicant-1:2.10-6.fc38.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:46:24 +0000 (0:00:04.406) 0:00:33.627 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.028) 0:00:33.656 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.050) 0:00:33.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.030) 0:00:33.737 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.605) 0:00:34.343 ***** changed: [sut] => { "changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target basic.target systemd-journald.socket dbus-broker.service dbus.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "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": "[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", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "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": "14780", "LimitNPROCSoft": "14780", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14780", "LimitSIGPENDINGSoft": "14780", "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", "MemoryZSwapMax": "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", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "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": "4434", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:46:26 +0000 (0:00:01.161) 0:00:35.504 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:46:26 +0000 (0:00:00.026) 0:00:35.530 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:46:26 +0000 (0:00:00.026) 0:00:35.557 ***** 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, 456d719b-5808-43ff-bb52-1b5ad03d2b30 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 456d719b-5808-43ff-bb52-1b5ad03d2b30 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:46:28 +0000 (0:00:02.799) 0:00:38.357 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:46:28 +0000 (0:00:00.027) 0:00:38.384 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 456d719b-5808-43ff-bb52-1b5ad03d2b30", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 456d719b-5808-43ff-bb52-1b5ad03d2b30 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:46:28 +0000 (0:00:00.027) 0:00:38.412 ***** 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, 456d719b-5808-43ff-bb52-1b5ad03d2b30\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 456d719b-5808-43ff-bb52-1b5ad03d2b30 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 456d719b-5808-43ff-bb52-1b5ad03d2b30", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 456d719b-5808-43ff-bb52-1b5ad03d2b30 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:46:28 +0000 (0:00:00.027) 0:00:38.439 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:46:29 +0000 (0:00:00.026) 0:00:38.465 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Ensure ping command is present] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:41 Thursday 21 December 2023 15:46:29 +0000 (0:00:00.293) 0:00:38.758 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:47 Thursday 21 December 2023 15:46:31 +0000 (0:00:02.577) 0:00:41.336 ***** ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004995", "end": "2023-12-21 15:46:32.072528", "rc": 0, "start": "2023-12-21 15:46:32.067533" } 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.070 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.070/0.070/0.070/0.000 ms TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:46:32 +0000 (0:00:00.229) 0:00:41.565 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:46:32 +0000 (0:00:00.048) 0:00:41.614 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:46:32 +0000 (0:00:00.043) 0:00:41.657 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:46:32 +0000 (0:00:00.037) 0:00:41.695 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:46:32 +0000 (0:00:00.054) 0:00:41.749 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:46:34 +0000 (0:00:02.419) 0:00:44.169 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.969) 0:00:45.139 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.061) 0:00:45.200 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.030) 0:00:45.231 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.029) 0:00:45.260 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.051) 0:00:45.312 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.030) 0:00:45.342 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.030) 0:00:45.372 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.034) 0:00:45.407 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.605) 0:00:46.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.034) 0:00:46.047 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.030) 0:00:46.078 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.029) 0:00:46.107 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.529) 0:00:46.637 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.031) 0:00:46.668 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.032) 0:00:46.700 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.033) 0:00:46.733 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.031) 0:00:46.764 ***** 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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:58 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.229) 0:00:46.994 ***** ok: [sut] => {} MSG: ################################################## TASK [Copy cacert to system truststore] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:63 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.023) 0:00:47.017 ***** 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-1703173597.5963705-4799-95045867783929/source", "state": "file", "uid": 0 } TASK [Update ca trust] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:68 Thursday 21 December 2023 15:46:38 +0000 (0:00:00.585) 0:00:47.602 ***** ok: [sut] => { "changed": false, "cmd": [ "update-ca-trust" ], "delta": "0:00:01.174299", "end": "2023-12-21 15:46:39.509689", "rc": 0, "start": "2023-12-21 15:46:38.335390" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:46:39 +0000 (0:00:01.419) 0:00:49.022 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:46:39 +0000 (0:00:00.045) 0:00:49.068 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:46:39 +0000 (0:00:00.037) 0:00:49.105 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:46:39 +0000 (0:00:00.032) 0:00:49.138 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:46:39 +0000 (0:00:00.032) 0:00:49.170 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:46:42 +0000 (0:00:02.410) 0:00:51.580 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:46:43 +0000 (0:00:00.967) 0:00:52.547 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:46:43 +0000 (0:00:00.028) 0:00:52.576 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:46:43 +0000 (0:00:00.027) 0:00:52.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:46:43 +0000 (0:00:00.027) 0:00:52.631 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:46:43 +0000 (0:00:00.048) 0:00:52.680 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:46:43 +0000 (0:00:00.026) 0:00:52.706 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:46:43 +0000 (0:00:00.027) 0:00:52.734 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:46:43 +0000 (0:00:00.030) 0:00:52.764 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:46:43 +0000 (0:00:00.608) 0:00:53.373 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Thu 2023-12-21 15:46:25 UTC", "ActiveEnterTimestampMonotonic": "815937774", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket system.slice systemd-journald.socket dbus-broker.service sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-21 15:46:25 UTC", "AssertTimestampMonotonic": "815842638", "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": "19218000", "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-12-21 15:46:25 UTC", "ConditionTimestampMonotonic": "815842635", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlGroupId": "6783", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7171", "ExecMainStartTimestamp": "Thu 2023-12-21 15:46:25 UTC", "ExecMainStartTimestampMonotonic": "815926150", "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-12-21 15:46:25 UTC] ; stop_time=[n/a] ; pid=7171 ; 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-12-21 15:46:25 UTC] ; stop_time=[n/a] ; pid=7171 ; 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-12-21 15:46:25 UTC", "InactiveExitTimestampMonotonic": "815926625", "InvocationID": "e4a0fda7dd40483099b47565b73ba788", "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": "14780", "LimitNPROCSoft": "14780", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14780", "LimitSIGPENDINGSoft": "14780", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7171", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1966080", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "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", "ReloadSignal": "1", "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]", "StateChangeTimestamp": "Thu 2023-12-21 15:46:25 UTC", "StateChangeTimestampMonotonic": "815937774", "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": "4434", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:46:44 +0000 (0:00:00.604) 0:00:53.978 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:46:44 +0000 (0:00:00.026) 0:00:54.005 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:46:44 +0000 (0:00:00.026) 0:00:54.031 ***** 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, 23948929-1de2-4964-934b-344004903750 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 23948929-1de2-4964-934b-344004903750 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:46:47 +0000 (0:00:02.519) 0:00:56.551 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:46:47 +0000 (0:00:00.045) 0:00:56.596 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 23948929-1de2-4964-934b-344004903750", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 23948929-1de2-4964-934b-344004903750 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:46:47 +0000 (0:00:00.030) 0:00:56.626 ***** 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, 23948929-1de2-4964-934b-344004903750\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 23948929-1de2-4964-934b-344004903750 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 23948929-1de2-4964-934b-344004903750", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 23948929-1de2-4964-934b-344004903750 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:46:47 +0000 (0:00:00.029) 0:00:56.656 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:46:47 +0000 (0:00:00.028) 0:00:56.684 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:94 Thursday 21 December 2023 15:46:47 +0000 (0:00:00.224) 0:00:56.909 ***** ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004408", "end": "2023-12-21 15:46:47.649109", "rc": 0, "start": "2023-12-21 15:46:47.644701" } 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.068 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.068/0.068/0.068/0.000 ms TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:46:47 +0000 (0:00:00.234) 0:00:57.144 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:46:47 +0000 (0:00:00.048) 0:00:57.193 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:46:47 +0000 (0:00:00.044) 0:00:57.237 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:46:47 +0000 (0:00:00.040) 0:00:57.278 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:46:47 +0000 (0:00:00.039) 0:00:57.317 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:46:50 +0000 (0:00:02.411) 0:00:59.729 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:46:51 +0000 (0:00:00.978) 0:01:00.708 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:46:51 +0000 (0:00:00.031) 0:01:00.739 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:46:51 +0000 (0:00:00.048) 0:01:00.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:46:51 +0000 (0:00:00.031) 0:01:00.820 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:46:51 +0000 (0:00:00.051) 0:01:00.871 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:46:51 +0000 (0:00:00.030) 0:01:00.902 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:46:51 +0000 (0:00:00.029) 0:01:00.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:46:51 +0000 (0:00:00.033) 0:01:00.965 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:46:52 +0000 (0:00:00.613) 0:01:01.579 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:46:52 +0000 (0:00:00.034) 0:01:01.614 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:46:52 +0000 (0:00:00.029) 0:01:01.644 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:46:52 +0000 (0:00:00.030) 0:01:01.674 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:46:52 +0000 (0:00:00.478) 0:01:02.152 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:46:52 +0000 (0:00:00.031) 0:01:02.184 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:46:52 +0000 (0:00:00.066) 0:01:02.250 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:46:52 +0000 (0:00:00.032) 0:01:02.283 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:46:52 +0000 (0:00:00.030) 0:01:02.313 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'test_802.1x_capath.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:106 Thursday 21 December 2023 15:46:53 +0000 (0:00:00.226) 0:01:02.540 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:2 Thursday 21 December 2023 15:46:53 +0000 (0:00:00.058) 0:01:02.599 ***** ok: [sut] => {} MSG: ################################################## TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:6 Thursday 21 December 2023 15:46:53 +0000 (0:00:00.023) 0:01:02.623 ***** 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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:22 Thursday 21 December 2023 15:46:53 +0000 (0:00:00.025) 0:01:02.648 ***** 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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:27 Thursday 21 December 2023 15:46:53 +0000 (0:00:00.249) 0:01:02.898 ***** 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-1703173613.481414-5321-190677365861051/source", "state": "file", "uid": 0 } TASK [Install openssl (test dependency)] *************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:32 Thursday 21 December 2023 15:46:54 +0000 (0:00:00.636) 0:01:03.534 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Hash cacert] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:38 Thursday 21 December 2023 15:46:57 +0000 (0:00:03.726) 0:01:07.260 ***** ok: [sut] => { "changed": false, "cmd": [ "openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem" ], "delta": "0:00:00.112915", "end": "2023-12-21 15:46:58.104745", "rc": 0, "start": "2023-12-21 15:46:57.991830" } STDOUT: d1b7d027 TASK [Add symlink for cacert] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:43 Thursday 21 December 2023 15:46:58 +0000 (0:00:00.338) 0:01:07.599 ***** 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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:48 Thursday 21 December 2023 15:46:58 +0000 (0:00:00.241) 0:01:07.840 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.366313", "end": "2023-12-21 15:46:58.936537", "rc": 0, "start": "2023-12-21 15:46:58.570224" } STDOUT: NetworkManager-1.42.8-1.fc38.x86_64 TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:46:58 +0000 (0:00:00.591) 0:01:08.432 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:46:59 +0000 (0:00:00.065) 0:01:08.497 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:46:59 +0000 (0:00:00.032) 0:01:08.529 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:46:59 +0000 (0:00:00.024) 0:01:08.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:46:59 +0000 (0:00:00.022) 0:01:08.576 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:47:01 +0000 (0:00:02.387) 0:01:10.964 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:47:02 +0000 (0:00:01.007) 0:01:11.972 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:47:02 +0000 (0:00:00.025) 0:01:11.997 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:47:02 +0000 (0:00:00.023) 0:01:12.020 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:47:02 +0000 (0:00:00.022) 0:01:12.042 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:47:02 +0000 (0:00:00.048) 0:01:12.091 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:47:02 +0000 (0:00:00.025) 0:01:12.116 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:47:02 +0000 (0:00:00.025) 0:01:12.142 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:47:02 +0000 (0:00:00.031) 0:01:12.173 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:47:03 +0000 (0:00:00.614) 0:01:12.788 ***** ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Thu 2023-12-21 15:46:25 UTC", "ActiveEnterTimestampMonotonic": "815937774", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket system.slice systemd-journald.socket dbus-broker.service sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2023-12-21 15:46:25 UTC", "AssertTimestampMonotonic": "815842638", "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": "65214000", "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-12-21 15:46:25 UTC", "ConditionTimestampMonotonic": "815842635", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlGroupId": "6783", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7171", "ExecMainStartTimestamp": "Thu 2023-12-21 15:46:25 UTC", "ExecMainStartTimestampMonotonic": "815926150", "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-12-21 15:46:25 UTC] ; stop_time=[n/a] ; pid=7171 ; 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-12-21 15:46:25 UTC] ; stop_time=[n/a] ; pid=7171 ; 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-12-21 15:46:25 UTC", "InactiveExitTimestampMonotonic": "815926625", "InvocationID": "e4a0fda7dd40483099b47565b73ba788", "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": "14780", "LimitNPROCSoft": "14780", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14780", "LimitSIGPENDINGSoft": "14780", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7171", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "2846720", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "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", "ReloadSignal": "1", "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]", "StateChangeTimestamp": "Thu 2023-12-21 15:46:25 UTC", "StateChangeTimestampMonotonic": "815937774", "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": "4434", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:47:03 +0000 (0:00:00.604) 0:01:13.392 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:47:03 +0000 (0:00:00.023) 0:01:13.415 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:47:04 +0000 (0:00:00.049) 0:01:13.465 ***** 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, 8d91f4b8-ff10-4136-b12b-e81a8137f851 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 8d91f4b8-ff10-4136-b12b-e81a8137f851 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:47:06 +0000 (0:00:02.606) 0:01:16.071 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:47:06 +0000 (0:00:00.026) 0:01:16.097 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 8d91f4b8-ff10-4136-b12b-e81a8137f851", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 8d91f4b8-ff10-4136-b12b-e81a8137f851 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:47:06 +0000 (0:00:00.026) 0:01:16.123 ***** 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, 8d91f4b8-ff10-4136-b12b-e81a8137f851\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 8d91f4b8-ff10-4136-b12b-e81a8137f851 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 8d91f4b8-ff10-4136-b12b-e81a8137f851", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 8d91f4b8-ff10-4136-b12b-e81a8137f851 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:47:06 +0000 (0:00:00.025) 0:01:16.149 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:47:06 +0000 (0:00:00.023) 0:01:16.172 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Ensure ping command is present] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:78 Thursday 21 December 2023 15:47:06 +0000 (0:00:00.250) 0:01:16.423 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:84 Thursday 21 December 2023 15:47:09 +0000 (0:00:02.571) 0:01:18.994 ***** ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004255", "end": "2023-12-21 15:47:09.731929", "rc": 0, "start": "2023-12-21 15:47:09.727674" } 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.066 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.066/0.066/0.066/0.000 ms TASK [Trigger failure in case the role did not fail] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:87 Thursday 21 December 2023 15:47:09 +0000 (0:00:00.231) 0:01:19.226 ***** fatal: [sut]: FAILED! => { "changed": false } MSG: after test TASK [Show failed item] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:91 Thursday 21 December 2023 15:47:09 +0000 (0:00:00.024) 0:01:19.250 ***** 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": "0a9d00bc-3283-57d4-f964-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.42.8-1.fc38.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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:101 Thursday 21 December 2023 15:47:09 +0000 (0:00:00.051) 0:01:19.301 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert role failure] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:111 Thursday 21 December 2023 15:47:09 +0000 (0:00:00.056) 0:01:19.358 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ping succeeded] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:120 Thursday 21 December 2023 15:47:09 +0000 (0:00:00.030) 0:01:19.389 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:47:09 +0000 (0:00:00.026) 0:01:19.415 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:47:10 +0000 (0:00:00.052) 0:01:19.468 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:47:10 +0000 (0:00:00.040) 0:01:19.508 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:47:10 +0000 (0:00:00.034) 0:01:19.543 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:47:10 +0000 (0:00:00.034) 0:01:19.578 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:47:12 +0000 (0:00:02.402) 0:01:21.980 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:47:13 +0000 (0:00:00.970) 0:01:22.950 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:47:13 +0000 (0:00:00.031) 0:01:22.982 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:47:13 +0000 (0:00:00.029) 0:01:23.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:47:13 +0000 (0:00:00.030) 0:01:23.043 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:47:13 +0000 (0:00:00.052) 0:01:23.095 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:47:13 +0000 (0:00:00.031) 0:01:23.126 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:47:13 +0000 (0:00:00.032) 0:01:23.159 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:47:13 +0000 (0:00:00.056) 0:01:23.215 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:47:14 +0000 (0:00:00.611) 0:01:23.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:47:14 +0000 (0:00:00.035) 0:01:23.862 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:47:14 +0000 (0:00:00.030) 0:01:23.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:47:14 +0000 (0:00:00.030) 0:01:23.923 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:47:15 +0000 (0:00:00.616) 0:01:24.539 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:47:15 +0000 (0:00:00.030) 0:01:24.570 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:47:15 +0000 (0:00:00.032) 0:01:24.602 ***** 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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:47:15 +0000 (0:00:00.032) 0:01:24.635 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:47:15 +0000 (0:00:00.029) 0:01:24.664 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'cleanup_802_1x_server.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:125 Thursday 21 December 2023 15:47:15 +0000 (0:00:00.223) 0:01:24.888 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_802_1x_server.yml for sut TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_802_1x_server.yml:3 Thursday 21 December 2023 15:47:15 +0000 (0:00:00.086) 0:01:24.975 ***** 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.040565", "end": "2023-12-21 15:47:15.749528", "rc": 0, "start": "2023-12-21 15:47:15.708963" } TASK [Kill hostapd process] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_802_1x_server.yml:11 Thursday 21 December 2023 15:47:15 +0000 (0:00:00.269) 0:01:25.244 ***** ok: [sut] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.012888", "end": "2023-12-21 15:47:15.991822", "rc": 0, "start": "2023-12-21 15:47:15.978934" } TASK [Remove certs and config] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 Thursday 21 December 2023 15:47:16 +0000 (0:00:00.242) 0:01:25.486 ***** 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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:127 Thursday 21 December 2023 15:47:16 +0000 (0:00:00.682) 0:01:26.169 ***** 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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:136 Thursday 21 December 2023 15:47:17 +0000 (0:00:00.888) 0:01:27.058 ***** 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-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:143 Thursday 21 December 2023 15:47:18 +0000 (0:00:00.478) 0:01:27.536 ***** ok: [sut] => { "changed": false, "cmd": [ "update-ca-trust" ], "delta": "0:00:01.172299", "end": "2023-12-21 15:47:19.444600", "rc": 0, "start": "2023-12-21 15:47:18.272301" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=109 changed=22 unreachable=0 failed=0 skipped=88 rescued=1 ignored=0 Thursday 21 December 2023 15:47:19 +0000 (0:00:01.390) 0:01:28.926 ***** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.32s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml:94 Install hostapd --------------------------------------------------------- 4.63s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml:16 linux-system-roles.network : Install packages --------------------------- 4.41s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install openssl (test dependency) --------------------------------------- 3.73s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:32 linux-system-roles.network : Configure networking connection profiles --- 2.80s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Update NetworkManager --------------------------------------------------- 2.71s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x_updated.yml:7 linux-system-roles.network : Configure networking connection profiles --- 2.61s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Ensure ping command is present ------------------------------------------ 2.58s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_802_1x.yml:41 Ensure ping command is present ------------------------------------------ 2.57s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/test_802.1x_capath.yml:78 linux-system-roles.network : Configure networking connection profiles --- 2.52s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.46s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.42s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.41s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.41s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.40s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.39s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Copy server certificates ------------------------------------------------ 2.35s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802_1x_server.yml:28 Copy client certs ------------------------------------------------------- 2.32s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/setup_802.1x.yml:4 Gathering Facts --------------------------------------------------------- 2.26s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tests_802_1x_updated_nm.yml:6 Update ca trust --------------------------------------------------------- 1.42s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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. ---^---^---^---^---^---