# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_802_1x.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* Monday 30 May 2022 22:59:42 +0000 (0:00:00.059) 0:00:00.059 ************ ok: [sut] TASK [include_tasks] *********************************************************** Monday 30 May 2022 22:59:43 +0000 (0:00:00.869) 0:00:00.928 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Monday 30 May 2022 22:59:43 +0000 (0:00:00.030) 0:00:00.959 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Monday 30 May 2022 22:59:43 +0000 (0:00:00.053) 0:00:01.013 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 34] ********************************************************** Monday 30 May 2022 22:59:43 +0000 (0:00:00.051) 0:00:01.064 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Monday 30 May 2022 22:59:43 +0000 (0:00:00.026) 0:00:01.091 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Monday 30 May 2022 22:59:43 +0000 (0:00:00.026) 0:00:01.118 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Monday 30 May 2022 22:59:44 +0000 (0:00:00.025) 0:00:01.143 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Monday 30 May 2022 22:59:44 +0000 (0:00:00.025) 0:00:01.169 ************ ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Monday 30 May 2022 22:59:44 +0000 (0:00:00.032) 0:00:01.202 ************ ok: [sut] TASK [INIT: 802.1x tests] ****************************************************** Monday 30 May 2022 22:59:44 +0000 (0:00:00.549) 0:00:01.751 ************ ok: [sut] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** Monday 30 May 2022 22:59:44 +0000 (0:00:00.031) 0:00:01.782 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/setup_802.1x.yml for sut TASK [include_tasks] *********************************************************** Monday 30 May 2022 22:59:44 +0000 (0:00:00.039) 0:00:01.822 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/setup_802_1x_server.yml for sut TASK [Install hostapd via CentOS Stream] *************************************** Monday 30 May 2022 22:59:44 +0000 (0:00:00.043) 0:00:01.866 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install hostapd] ********************************************************* Monday 30 May 2022 22:59:44 +0000 (0:00:00.031) 0:00:01.898 ************ changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: hostapd-2.9-7.fc34.x86_64" ] } TASK [Create directory for test certificates] ********************************** Monday 30 May 2022 22:59:49 +0000 (0:00:05.189) 0:00:07.087 ************ 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] ************************************************ Monday 30 May 2022 22:59:50 +0000 (0:00:00.403) 0:00:07.490 ************ 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-1653951590.4374552-2076-255698661418402/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-1653951591.4901688-2076-50259179385897/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-1653951592.2495525-2076-214599494574273/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-1653951593.0040298-2076-3979066489858/source", "state": "file", "uid": 0 } TASK [Create test interfaces] ************************************************** Monday 30 May 2022 22:59:53 +0000 (0:00:03.350) 0:00:10.841 ************ 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.359554", "end": "2022-05-30 22:59:53.812332", "rc": 0, "start": "2022-05-30 22:59:53.452778" } TASK [Create hostapd config] *************************************************** Monday 30 May 2022 22:59:54 +0000 (0:00:00.746) 0:00:11.588 ************ 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-1653951594.5286708-2113-135643483269982/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* Monday 30 May 2022 22:59:55 +0000 (0:00:00.782) 0:00:12.371 ************ 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-1653951595.3256955-2123-2874704519559/source", "state": "file", "uid": 0 } TASK [Run hostapd in namespace] ************************************************ Monday 30 May 2022 22:59:56 +0000 (0:00:00.798) 0:00:13.170 ************ ok: [sut] => { "changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.034400", "end": "2022-05-30 23:00:00.685839", "rc": 0, "start": "2022-05-30 22:59:55.651439" } STDOUT: Configuration file: /etc/hostapd/wired.conf Using interface veth1 with hwaddr 0e:04:a0:63:1b:82 and ssid "" veth1: interface state UNINITIALIZED->ENABLED veth1: AP-ENABLED TASK [Copy client certs] ******************************************************* Monday 30 May 2022 23:00:01 +0000 (0:00:05.282) 0:00:18.453 ************ 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-1653951601.4059517-2138-177891972805362/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-1653951602.215388-2138-52751809080588/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-1653951603.0597181-2138-55179475635700/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-1653951603.865614-2138-263331091513344/source", "state": "file", "uid": 0 } TASK [TEST: 802.1x profile with private key password and ca cert] ************** Monday 30 May 2022 23:00:04 +0000 (0:00:03.292) 0:00:21.745 ************ ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Monday 30 May 2022 23:00:04 +0000 (0:00:00.035) 0:00:21.781 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Monday 30 May 2022 23:00:04 +0000 (0:00:00.167) 0:00:21.948 ************ 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 services are running] *********** Monday 30 May 2022 23:00:05 +0000 (0:00:00.464) 0:00:22.413 ************ 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] ********* Monday 30 May 2022 23:00:07 +0000 (0:00:02.135) 0:00:24.548 ************ 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] ********************* Monday 30 May 2022 23:00:08 +0000 (0:00:01.195) 0:00:25.743 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Monday 30 May 2022 23:00:08 +0000 (0:00:00.091) 0:00:25.835 ************ changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: wpa_supplicant-1:2.10-2.fc34.x86_64" ] } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 30 May 2022 23:00:13 +0000 (0:00:04.507) 0:00:30.342 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Monday 30 May 2022 23:00:13 +0000 (0:00:00.094) 0:00:30.437 ************ 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] ************ Monday 30 May 2022 23:00:14 +0000 (0:00:00.850) 0:00:31.287 ************ changed: [sut] => { "changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket system.slice systemd-journald.socket sysinit.target basic.target dbus-broker.service", "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", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "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": "14808", "LimitNPROCSoft": "14808", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14808", "LimitSIGPENDINGSoft": "14808", "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", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "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": "4442", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.network : Enable network service] ********************* Monday 30 May 2022 23:00:14 +0000 (0:00:00.811) 0:00:32.099 ************ 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] *** Monday 30 May 2022 23:00:15 +0000 (0:00:00.081) 0:00:32.181 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Monday 30 May 2022 23:00:15 +0000 (0:00:00.108) 0:00:32.289 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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, 67661c95-9b3c-4670-94b6-8d85ab358d0a [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 67661c95-9b3c-4670-94b6-8d85ab358d0a (not-active) TASK [linux-system-roles.network : Show stderr messages] *********************** Monday 30 May 2022 23:00:18 +0000 (0:00:02.978) 0:00:35.268 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 67661c95-9b3c-4670-94b6-8d85ab358d0a", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 67661c95-9b3c-4670-94b6-8d85ab358d0a (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Monday 30 May 2022 23:00:18 +0000 (0:00:00.087) 0:00:35.355 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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, 67661c95-9b3c-4670-94b6-8d85ab358d0a\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 67661c95-9b3c-4670-94b6-8d85ab358d0a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 67661c95-9b3c-4670-94b6-8d85ab358d0a", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 67661c95-9b3c-4670-94b6-8d85ab358d0a (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Monday 30 May 2022 23:00:18 +0000 (0:00:00.089) 0:00:35.444 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [TEST: I can ping the EAP server] ***************************************** Monday 30 May 2022 23:00:18 +0000 (0:00:00.461) 0:00:35.906 ************ changed: [sut] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004850", "end": "2022-05-30 23:00:18.395329", "rc": 0, "start": "2022-05-30 23:00:18.390479" } 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.077 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.077/0.077/0.077/0.000 ms TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Monday 30 May 2022 23:00:19 +0000 (0:00:00.303) 0:00:36.209 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Monday 30 May 2022 23:00:19 +0000 (0:00:00.170) 0:00:36.380 ************ 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 services are running] *********** Monday 30 May 2022 23:00:19 +0000 (0:00:00.509) 0:00:36.890 ************ 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] ********* Monday 30 May 2022 23:00:21 +0000 (0:00:02.009) 0:00:38.900 ************ 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] ********************* Monday 30 May 2022 23:00:22 +0000 (0:00:00.969) 0:00:39.869 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Monday 30 May 2022 23:00:22 +0000 (0:00:00.102) 0:00:39.972 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 30 May 2022 23:00:22 +0000 (0:00:00.154) 0:00:40.127 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Monday 30 May 2022 23:00:23 +0000 (0:00:00.100) 0:00:40.227 ************ 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] ************ Monday 30 May 2022 23:00:23 +0000 (0:00:00.545) 0:00:40.773 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Monday 30 May 2022 23:00:23 +0000 (0:00:00.131) 0:00:40.905 ************ 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] *** Monday 30 May 2022 23:00:23 +0000 (0:00:00.098) 0:00:41.003 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Monday 30 May 2022 23:00:23 +0000 (0:00:00.103) 0:00:41.107 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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 : Show stderr messages] *********************** Monday 30 May 2022 23:00:24 +0000 (0:00:00.648) 0:00:41.756 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Monday 30 May 2022 23:00:24 +0000 (0:00:00.103) 0:00:41.860 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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 : Re-test connectivity] *********************** Monday 30 May 2022 23:00:24 +0000 (0:00:00.102) 0:00:41.962 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [TEST: 802.1x profile with unencrypted private key, domain suffix match, and system ca certs] *** Monday 30 May 2022 23:00:25 +0000 (0:00:00.331) 0:00:42.294 ************ ok: [sut] => {} MSG: ################################################## TASK [Copy cacert to system truststore] **************************************** Monday 30 May 2022 23:00:25 +0000 (0:00:00.081) 0:00:42.376 ************ 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-1653951625.3265526-2566-126027140032745/source", "state": "file", "uid": 0 } TASK [Update ca trust] ********************************************************* Monday 30 May 2022 23:00:26 +0000 (0:00:00.856) 0:00:43.232 ************ changed: [sut] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.333177", "end": "2022-05-30 23:00:26.061119", "rc": 0, "start": "2022-05-30 23:00:25.727942" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Monday 30 May 2022 23:00:26 +0000 (0:00:00.639) 0:00:43.871 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Monday 30 May 2022 23:00:26 +0000 (0:00:00.154) 0:00:44.026 ************ 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 services are running] *********** Monday 30 May 2022 23:00:27 +0000 (0:00:00.517) 0:00:44.544 ************ 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] ********* Monday 30 May 2022 23:00:29 +0000 (0:00:01.990) 0:00:46.535 ************ 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] ********************* Monday 30 May 2022 23:00:30 +0000 (0:00:00.850) 0:00:47.386 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Monday 30 May 2022 23:00:30 +0000 (0:00:00.106) 0:00:47.492 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 30 May 2022 23:00:30 +0000 (0:00:00.161) 0:00:47.654 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Monday 30 May 2022 23:00:30 +0000 (0:00:00.102) 0:00:47.757 ************ 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] ************ Monday 30 May 2022 23:00:31 +0000 (0:00:00.529) 0:00:48.286 ************ ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-30 23:00:14 UTC", "ActiveEnterTimestampMonotonic": "809224033", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice dbus.socket sysinit.target basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-30 23:00:14 UTC", "AssertTimestampMonotonic": "809217150", "Before": "multi-user.target shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "16261000", "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": "Mon 2022-05-30 23:00:14 UTC", "ConditionTimestampMonotonic": "809217145", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5308", "ExecMainStartTimestamp": "Mon 2022-05-30 23:00:14 UTC", "ExecMainStartTimestampMonotonic": "809218422", "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=[Mon 2022-05-30 23:00:14 UTC] ; stop_time=[n/a] ; pid=5308 ; 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=[Mon 2022-05-30 23:00:14 UTC] ; stop_time=[n/a] ; pid=5308 ; code=(null) ; status=0/0 }", "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": "Mon 2022-05-30 23:00:14 UTC", "InactiveExitTimestampMonotonic": "809219324", "InvocationID": "893e34b283484ddba103b9992193b97f", "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": "14808", "LimitNPROCSoft": "14808", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14808", "LimitSIGPENDINGSoft": "14808", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5308", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "1150976", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-30 23:00:14 UTC", "StateChangeTimestampMonotonic": "809224033", "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": "4442", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* Monday 30 May 2022 23:00:31 +0000 (0:00:00.505) 0:00:48.792 ************ 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] *** Monday 30 May 2022 23:00:31 +0000 (0:00:00.143) 0:00:48.936 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Monday 30 May 2022 23:00:31 +0000 (0:00:00.094) 0:00:49.030 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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, 87a8201f-f452-4b8d-b5ae-88d2abd00bf6 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 87a8201f-f452-4b8d-b5ae-88d2abd00bf6 (not-active) TASK [linux-system-roles.network : Show stderr messages] *********************** Monday 30 May 2022 23:00:34 +0000 (0:00:02.652) 0:00:51.683 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 87a8201f-f452-4b8d-b5ae-88d2abd00bf6", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 87a8201f-f452-4b8d-b5ae-88d2abd00bf6 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Monday 30 May 2022 23:00:34 +0000 (0:00:00.108) 0:00:51.792 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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, 87a8201f-f452-4b8d-b5ae-88d2abd00bf6\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 87a8201f-f452-4b8d-b5ae-88d2abd00bf6 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 87a8201f-f452-4b8d-b5ae-88d2abd00bf6", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 87a8201f-f452-4b8d-b5ae-88d2abd00bf6 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Monday 30 May 2022 23:00:34 +0000 (0:00:00.102) 0:00:51.895 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [TEST: I can ping the EAP server] ***************************************** Monday 30 May 2022 23:00:35 +0000 (0:00:00.299) 0:00:52.195 ************ changed: [sut] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004161", "end": "2022-05-30 23:00:34.684628", "rc": 0, "start": "2022-05-30 23:00:34.680467" } 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.075 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.075/0.075/0.075/0.000 ms TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Monday 30 May 2022 23:00:35 +0000 (0:00:00.326) 0:00:52.521 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Monday 30 May 2022 23:00:35 +0000 (0:00:00.225) 0:00:52.747 ************ 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 services are running] *********** Monday 30 May 2022 23:00:36 +0000 (0:00:00.532) 0:00:53.279 ************ 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] ********* Monday 30 May 2022 23:00:38 +0000 (0:00:02.055) 0:00:55.334 ************ 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] ********************* Monday 30 May 2022 23:00:39 +0000 (0:00:00.886) 0:00:56.221 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Monday 30 May 2022 23:00:39 +0000 (0:00:00.117) 0:00:56.339 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 30 May 2022 23:00:39 +0000 (0:00:00.159) 0:00:56.498 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Monday 30 May 2022 23:00:39 +0000 (0:00:00.110) 0:00:56.609 ************ 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] ************ Monday 30 May 2022 23:00:40 +0000 (0:00:00.550) 0:00:57.160 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Monday 30 May 2022 23:00:40 +0000 (0:00:00.108) 0:00:57.268 ************ 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] *** Monday 30 May 2022 23:00:40 +0000 (0:00:00.103) 0:00:57.371 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Monday 30 May 2022 23:00:40 +0000 (0:00:00.102) 0:00:57.474 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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 : Show stderr messages] *********************** Monday 30 May 2022 23:00:40 +0000 (0:00:00.657) 0:00:58.131 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Monday 30 May 2022 23:00:41 +0000 (0:00:00.118) 0:00:58.249 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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 : Re-test connectivity] *********************** Monday 30 May 2022 23:00:41 +0000 (0:00:00.124) 0:00:58.374 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Monday 30 May 2022 23:00:41 +0000 (0:00:00.329) 0:00:58.704 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/test_802.1x_capath.yml for sut TASK [TEST: 802.1x profile with unencrypted private key and ca_path] *********** Monday 30 May 2022 23:00:41 +0000 (0:00:00.206) 0:00:58.911 ************ ok: [sut] => {} MSG: ################################################## TASK [Set __NM_capath_ignored_NVRs] ******************************************** Monday 30 May 2022 23:00:41 +0000 (0:00:00.080) 0:00:58.991 ************ 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] *************************************** Monday 30 May 2022 23:00:41 +0000 (0:00:00.093) 0:00:59.085 ************ 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] ************************************************** Monday 30 May 2022 23:00:42 +0000 (0:00:00.379) 0:00:59.465 ************ 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-1653951642.413067-2716-149427838835079/source", "state": "file", "uid": 0 } TASK [Install openssl (test dependency)] *************************************** Monday 30 May 2022 23:00:43 +0000 (0:00:01.057) 0:01:00.522 ************ changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: openssl-1:1.1.1n-1.fc34.x86_64" ] } TASK [Hash cacert] ************************************************************* Monday 30 May 2022 23:00:47 +0000 (0:00:03.887) 0:01:04.410 ************ ok: [sut] => { "changed": false, "cmd": [ "openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem" ], "delta": "0:00:00.015119", "end": "2022-05-30 23:00:46.970643", "rc": 0, "start": "2022-05-30 23:00:46.955524" } STDOUT: d1b7d027 TASK [Add symlink for cacert] ************************************************** Monday 30 May 2022 23:00:47 +0000 (0:00:00.377) 0:01:04.787 ************ 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] ********************************************** Monday 30 May 2022 23:00:47 +0000 (0:00:00.328) 0:01:05.116 ************ ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.260277", "end": "2022-05-30 23:00:47.864591", "rc": 0, "start": "2022-05-30 23:00:47.604314" } STDOUT: NetworkManager-1.30.6-1.fc34.x86_64 TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Monday 30 May 2022 23:00:48 +0000 (0:00:00.562) 0:01:05.678 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Monday 30 May 2022 23:00:48 +0000 (0:00:00.193) 0:01:05.872 ************ 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 services are running] *********** Monday 30 May 2022 23:00:49 +0000 (0:00:00.477) 0:01:06.349 ************ 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] ********* Monday 30 May 2022 23:00:51 +0000 (0:00:01.973) 0:01:08.322 ************ 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] ********************* Monday 30 May 2022 23:00:52 +0000 (0:00:00.858) 0:01:09.181 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Monday 30 May 2022 23:00:52 +0000 (0:00:00.099) 0:01:09.281 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 30 May 2022 23:00:52 +0000 (0:00:00.198) 0:01:09.479 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Monday 30 May 2022 23:00:52 +0000 (0:00:00.094) 0:01:09.574 ************ 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] ************ Monday 30 May 2022 23:00:52 +0000 (0:00:00.532) 0:01:10.106 ************ ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-05-30 23:00:14 UTC", "ActiveEnterTimestampMonotonic": "809224033", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice dbus.socket sysinit.target basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-30 23:00:14 UTC", "AssertTimestampMonotonic": "809217150", "Before": "multi-user.target shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "36477000", "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": "Mon 2022-05-30 23:00:14 UTC", "ConditionTimestampMonotonic": "809217145", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5308", "ExecMainStartTimestamp": "Mon 2022-05-30 23:00:14 UTC", "ExecMainStartTimestampMonotonic": "809218422", "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=[Mon 2022-05-30 23:00:14 UTC] ; stop_time=[n/a] ; pid=5308 ; 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=[Mon 2022-05-30 23:00:14 UTC] ; stop_time=[n/a] ; pid=5308 ; code=(null) ; status=0/0 }", "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": "Mon 2022-05-30 23:00:14 UTC", "InactiveExitTimestampMonotonic": "809219324", "InvocationID": "893e34b283484ddba103b9992193b97f", "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": "14808", "LimitNPROCSoft": "14808", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14808", "LimitSIGPENDINGSoft": "14808", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5308", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "1937408", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-30 23:00:14 UTC", "StateChangeTimestampMonotonic": "809224033", "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": "4442", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* Monday 30 May 2022 23:00:53 +0000 (0:00:00.509) 0:01:10.615 ************ 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] *** Monday 30 May 2022 23:00:53 +0000 (0:00:00.081) 0:01:10.697 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Monday 30 May 2022 23:00:53 +0000 (0:00:00.082) 0:01:10.779 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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, 6c033a97-8c11-4ad0-9e7d-3b706fe435b4 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 6c033a97-8c11-4ad0-9e7d-3b706fe435b4 (is-modified) TASK [linux-system-roles.network : Show stderr messages] *********************** Monday 30 May 2022 23:00:56 +0000 (0:00:02.756) 0:01:13.535 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 6c033a97-8c11-4ad0-9e7d-3b706fe435b4", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 6c033a97-8c11-4ad0-9e7d-3b706fe435b4 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Monday 30 May 2022 23:00:56 +0000 (0:00:00.085) 0:01:13.621 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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, 6c033a97-8c11-4ad0-9e7d-3b706fe435b4\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 6c033a97-8c11-4ad0-9e7d-3b706fe435b4 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 6c033a97-8c11-4ad0-9e7d-3b706fe435b4", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 6c033a97-8c11-4ad0-9e7d-3b706fe435b4 (is-modified)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Monday 30 May 2022 23:00:56 +0000 (0:00:00.139) 0:01:13.761 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [TEST: I can ping the EAP server] ***************************************** Monday 30 May 2022 23:00:56 +0000 (0:00:00.293) 0:01:14.055 ************ changed: [sut] => { "changed": true, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004451", "end": "2022-05-30 23:00:56.552429", "rc": 0, "start": "2022-05-30 23:00:56.547978" } 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.077 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.077/0.077/0.077/0.000 ms TASK [trigger failure in case the role did not fail] *************************** Monday 30 May 2022 23:00:57 +0000 (0:00:00.309) 0:01:14.364 ************ fatal: [sut]: FAILED! => { "changed": false } MSG: after test TASK [Show failed item] ******************************************************** Monday 30 May 2022 23:00:57 +0000 (0:00:00.087) 0:01:14.451 ************ 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": "001c4d80-01c4-2a9b-2c04-00000000033d", "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.30.6-1.fc34.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] **************************************************** Monday 30 May 2022 23:00:57 +0000 (0:00:00.157) 0:01:14.609 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert role failure] ***************************************************** Monday 30 May 2022 23:00:57 +0000 (0:00:00.087) 0:01:14.696 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ping succeeded] *************************************************** Monday 30 May 2022 23:00:57 +0000 (0:00:00.079) 0:01:14.776 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Monday 30 May 2022 23:00:57 +0000 (0:00:00.083) 0:01:14.859 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Monday 30 May 2022 23:00:57 +0000 (0:00:00.159) 0:01:15.019 ************ 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 services are running] *********** Monday 30 May 2022 23:00:58 +0000 (0:00:00.505) 0:01:15.525 ************ 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] ********* Monday 30 May 2022 23:01:00 +0000 (0:00:02.028) 0:01:17.553 ************ 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] ********************* Monday 30 May 2022 23:01:01 +0000 (0:00:00.866) 0:01:18.420 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Monday 30 May 2022 23:01:01 +0000 (0:00:00.103) 0:01:18.523 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 30 May 2022 23:01:01 +0000 (0:00:00.163) 0:01:18.686 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Monday 30 May 2022 23:01:01 +0000 (0:00:00.112) 0:01:18.798 ************ 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] ************ Monday 30 May 2022 23:01:02 +0000 (0:00:00.546) 0:01:19.345 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Monday 30 May 2022 23:01:02 +0000 (0:00:00.163) 0:01:19.508 ************ 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] *** Monday 30 May 2022 23:01:02 +0000 (0:00:00.166) 0:01:19.675 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Monday 30 May 2022 23:01:02 +0000 (0:00:00.116) 0:01:19.791 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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 : Show stderr messages] *********************** Monday 30 May 2022 23:01:03 +0000 (0:00:00.772) 0:01:20.564 ************ 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] ************************ Monday 30 May 2022 23:01:03 +0000 (0:00:00.114) 0:01:20.678 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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 : Re-test connectivity] *********************** Monday 30 May 2022 23:01:03 +0000 (0:00:00.114) 0:01:20.792 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Monday 30 May 2022 23:01:03 +0000 (0:00:00.316) 0:01:21.109 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/cleanup_802_1x_server.yml for sut TASK [Remove test interfaces] ************************************************** Monday 30 May 2022 23:01:04 +0000 (0:00:00.170) 0:01:21.279 ************ 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.046194", "end": "2022-05-30 23:01:03.836167", "rc": 0, "start": "2022-05-30 23:01:03.789973" } TASK [Kill hostapd process] **************************************************** Monday 30 May 2022 23:01:04 +0000 (0:00:00.374) 0:01:21.654 ************ ok: [sut] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.019195", "end": "2022-05-30 23:01:04.165277", "rc": 0, "start": "2022-05-30 23:01:04.146082" } TASK [Remove certs and config] ************************************************* Monday 30 May 2022 23:01:04 +0000 (0:00:00.326) 0:01:21.981 ************ 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] ************************************************ Monday 30 May 2022 23:01:05 +0000 (0:00:00.820) 0:01:22.802 ************ 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] ********************************************************** Monday 30 May 2022 23:01:06 +0000 (0:00:01.075) 0:01:23.877 ************ 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] ********************************************************* Monday 30 May 2022 23:01:07 +0000 (0:00:00.573) 0:01:24.450 ************ changed: [sut] => { "changed": true, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.329523", "end": "2022-05-30 23:01:07.271128", "rc": 0, "start": "2022-05-30 23:01:06.941605" } PLAY RECAP ********************************************************************* sut : ok=106 changed=27 unreachable=0 failed=0 skipped=33 rescued=1 ignored=0 Monday 30 May 2022 23:01:07 +0000 (0:00:00.577) 0:01:25.028 ************ =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.28s Install hostapd --------------------------------------------------------- 5.19s linux-system-roles.network : Install packages --------------------------- 4.51s Install openssl (test dependency) --------------------------------------- 3.89s Copy server certificates ------------------------------------------------ 3.35s Copy client certs ------------------------------------------------------- 3.29s linux-system-roles.network : Configure networking connection profiles --- 2.98s linux-system-roles.network : Configure networking connection profiles --- 2.76s linux-system-roles.network : Configure networking connection profiles --- 2.65s linux-system-roles.network : Check which services are running ----------- 2.14s linux-system-roles.network : Check which services are running ----------- 2.06s linux-system-roles.network : Check which services are running ----------- 2.03s linux-system-roles.network : Check which services are running ----------- 2.01s linux-system-roles.network : Check which services are running ----------- 1.99s linux-system-roles.network : Check which services are running ----------- 1.97s linux-system-roles.network : Check which packages are installed --------- 1.20s Remove test certificates ------------------------------------------------ 1.08s Copy cacert to ca_path -------------------------------------------------- 1.06s linux-system-roles.network : Check which packages are installed --------- 0.97s linux-system-roles.network : Check which packages are installed --------- 0.89s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---