# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-test_network_state_fix23lh9hdv/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_802_1x_updated_nm.yml ****************************************** 3 plays in /WORKDIR/git-test_network_state_fix23lh9hdv/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-test_network_state_fix23lh9hdv/tests/tests_802_1x_updated_nm.yml:5 Tuesday 28 November 2023 01:13:04 +0000 (0:00:00.016) 0:00:00.016 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tests_802_1x_updated_nm.yml:9 Tuesday 28 November 2023 01:13:05 +0000 (0:00:01.002) 0:00:01.019 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/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-test_network_state_fix23lh9hdv/tests/tasks/el_repo_setup.yml:3 Tuesday 28 November 2023 01:13:05 +0000 (0:00:00.018) 0:00:01.038 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/el_repo_setup.yml:20 Tuesday 28 November 2023 01:13:05 +0000 (0:00:00.427) 0:00:01.465 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set package manager to use for ostree] *********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/el_repo_setup.yml:25 Tuesday 28 November 2023 01:13:05 +0000 (0:00:00.333) 0:00:01.799 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/el_repo_setup.yml:32 Tuesday 28 November 2023 01:13:05 +0000 (0:00:00.023) 0:00:01.823 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/el_repo_setup.yml:57 Tuesday 28 November 2023 01:13:05 +0000 (0:00:00.012) 0:00:01.835 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:8 Tuesday 28 November 2023 01:13:05 +0000 (0:00:00.026) 0:00:01.862 ****** changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:00.843803", "end": "2023-11-28 01:13:07.030015", "rc": 0, "start": "2023-11-28 01:13:06.186212" } STDOUT: Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Verifying packages... Preparing packages... epel-release-8-19.el8.noarch Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:24 Tuesday 28 November 2023 01:13:07 +0000 (0:00:01.159) 0:00:03.021 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:30 Tuesday 28 November 2023 01:13:07 +0000 (0:00:00.011) 0:00:03.033 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:35 Tuesday 28 November 2023 01:13:07 +0000 (0:00:00.016) 0:00:03.049 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.403394", "end": "2023-11-28 01:13:07.668069", "rc": 0, "start": "2023-11-28 01:13:07.264675" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:40 Tuesday 28 November 2023 01:13:07 +0000 (0:00:00.604) 0:00:03.654 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tests_802_1x_updated_nm.yml:11 Tuesday 28 November 2023 01:13:07 +0000 (0:00:00.010) 0:00:03.665 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing configuring 802.1x authentication with latest NetworkManager] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x_updated.yml:3 Tuesday 28 November 2023 01:13:07 +0000 (0:00:00.019) 0:00:03.684 ****** ok: [sut] TASK [Update NetworkManager] *************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x_updated.yml:6 Tuesday 28 November 2023 01:13:08 +0000 (0:00:00.664) 0:00:04.349 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Restart NetworkManager] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x_updated.yml:10 Tuesday 28 November 2023 01:13:16 +0000 (0:00:07.754) 0:00:12.103 ****** changed: [sut] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-11-28 01:07:17 UTC", "ActiveEnterTimestampMonotonic": "12862501", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-pre.target systemd-journald.socket dbus.socket basic.target cloud-init-local.service sysinit.target dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-11-28 01:07:17 UTC", "AssertTimestampMonotonic": "12661254", "Before": "network.target multi-user.target NetworkManager-wait-online.service shutdown.target network.service cloud-init.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_dac_override cap_kill cap_setgid cap_setuid cap_net_bind_service cap_net_admin cap_net_raw cap_sys_module cap_sys_chroot cap_audit_write", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-11-28 01:07:17 UTC", "ConditionTimestampMonotonic": "12661252", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "648", "ExecMainStartTimestamp": "Tue 2023-11-28 01:07:17 UTC", "ExecMainStartTimestampMonotonic": "12662581", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-11-28 01:07:17 UTC", "InactiveExitTimestampMonotonic": "12662719", "InvocationID": "1b1574db63214adea9dc40a6afb8094f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "65536", "LimitNOFILESoft": "65536", "LimitNPROC": "13957", "LimitNPROCSoft": "13957", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13957", "LimitSIGPENDINGSoft": "13957", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "648", "MemoryAccounting": "yes", "MemoryCurrent": "9940992", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-11-28 01:07:28 UTC", "StateChangeTimestampMonotonic": "23317300", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22331", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Tue 2023-11-28 01:07:17 UTC", "WatchdogTimestampMonotonic": "12862498", "WatchdogUSec": "0" } } PLAY [Play for testing configuring 802.1x authentication] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:3 Tuesday 28 November 2023 01:13:16 +0000 (0:00:00.657) 0:00:12.761 ****** ok: [sut] TASK [INIT: 802.1x tests] ****************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:8 Tuesday 28 November 2023 01:13:17 +0000 (0:00:00.867) 0:00:13.628 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'setup_802.1x.yml'] ************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:11 Tuesday 28 November 2023 01:13:17 +0000 (0:00:00.027) 0:00:13.656 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802.1x.yml for sut TASK [Include the task 'setup_802_1x_server.yml'] ****************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802.1x.yml:2 Tuesday 28 November 2023 01:13:17 +0000 (0:00:00.025) 0:00:13.681 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802_1x_server.yml for sut TASK [Install hostapd via CentOS Stream] *************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802_1x_server.yml:4 Tuesday 28 November 2023 01:13:17 +0000 (0:00:00.026) 0:00:13.708 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_version | float < 8.6", "skip_reason": "Conditional result was False" } TASK [Install hostapd] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802_1x_server.yml:12 Tuesday 28 November 2023 01:13:17 +0000 (0:00:00.024) 0:00:13.732 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: hostapd-2.10-1.el8.x86_64" ] } TASK [Create directory for test certificates] ********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802_1x_server.yml:17 Tuesday 28 November 2023 01:13:20 +0000 (0:00:03.083) 0:00:16.815 ****** 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": 6, "state": "directory", "uid": 0 } TASK [Copy server certificates] ************************************************ task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802_1x_server.yml:22 Tuesday 28 November 2023 01:13:21 +0000 (0:00:00.402) 0:00:17.217 ****** 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-1701134001.3149896-2460-216749540356051/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-1701134001.9810722-2460-128238048129243/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-1701134002.5031693-2460-243221988820114/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-1701134003.0324836-2460-74774709344275/source", "state": "file", "uid": 0 } TASK [Create test interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802_1x_server.yml:33 Tuesday 28 November 2023 01:13:23 +0000 (0:00:02.271) 0:00:19.488 ****** 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.522375", "end": "2023-11-28 01:13:24.225858", "rc": 0, "start": "2023-11-28 01:13:23.703483" } TASK [Create hostapd config] *************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802_1x_server.yml:60 Tuesday 28 November 2023 01:13:24 +0000 (0:00:00.737) 0:00:20.226 ****** 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-1701134004.3137228-2538-256948034771616/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802_1x_server.yml:81 Tuesday 28 November 2023 01:13:24 +0000 (0:00:00.552) 0:00:20.779 ****** 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-1701134004.8611166-2555-32248529790559/source", "state": "file", "uid": 0 } TASK [Run hostapd in namespace] ************************************************ task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802_1x_server.yml:88 Tuesday 28 November 2023 01:13:25 +0000 (0:00:00.536) 0:00:21.315 ****** ok: [sut] => { "changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.033628", "end": "2023-11-28 01:13:30.565736", "rc": 0, "start": "2023-11-28 01:13:25.532108" } STDOUT: veth1: interface state UNINITIALIZED->ENABLED veth1: AP-ENABLED TASK [Copy client certs] ******************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802.1x.yml:4 Tuesday 28 November 2023 01:13:30 +0000 (0:00:05.240) 0:00:26.556 ****** 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-1701134010.6465774-2596-190098403772377/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-1701134011.180966-2596-205180489582652/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-1701134011.709314-2596-172941196726422/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-1701134012.2245562-2596-154513813311807/source", "state": "file", "uid": 0 } TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:15 Tuesday 28 November 2023 01:13:32 +0000 (0:00:02.127) 0:00:28.683 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:13:32 +0000 (0:00:00.027) 0:00:28.711 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:13:32 +0000 (0:00:00.053) 0:00:28.765 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:13:32 +0000 (0:00:00.048) 0:00:28.813 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:13:33 +0000 (0:00:00.217) 0:00:29.031 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:13:33 +0000 (0:00:00.036) 0:00:29.067 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:13:34 +0000 (0:00:01.745) 0:00:30.813 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:13:36 +0000 (0:00:01.636) 0:00:32.449 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:13:36 +0000 (0:00:00.045) 0:00:32.495 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:13:36 +0000 (0:00:00.048) 0:00:32.543 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:13:36 +0000 (0:00:00.045) 0:00:32.589 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: wpa_supplicant-1:2.10-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:13:39 +0000 (0:00:03.143) 0:00:35.732 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:13:39 +0000 (0:00:00.056) 0:00:35.789 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:13:39 +0000 (0:00:00.070) 0:00:35.860 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:13:39 +0000 (0:00:00.064) 0:00:35.924 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:13:40 +0000 (0:00:00.439) 0:00:36.364 ****** changed: [sut] => { "changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket sysinit.target basic.target dbus.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13957", "LimitNPROCSoft": "13957", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13957", "LimitSIGPENDINGSoft": "13957", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22331", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:13:41 +0000 (0:00:00.638) 0:00:37.003 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:13:41 +0000 (0:00:00.050) 0:00:37.053 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:13:41 +0000 (0:00:00.054) 0:00:37.108 ****** 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, 0b328e7f-4d7e-4e76-93ff-c97ef8a16762 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0b328e7f-4d7e-4e76-93ff-c97ef8a16762 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:13:43 +0000 (0:00:02.695) 0:00:39.803 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:13:43 +0000 (0:00:00.049) 0:00:39.853 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 0b328e7f-4d7e-4e76-93ff-c97ef8a16762", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0b328e7f-4d7e-4e76-93ff-c97ef8a16762 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:13:43 +0000 (0:00:00.051) 0:00:39.905 ****** 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, 0b328e7f-4d7e-4e76-93ff-c97ef8a16762\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0b328e7f-4d7e-4e76-93ff-c97ef8a16762 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 0b328e7f-4d7e-4e76-93ff-c97ef8a16762", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0b328e7f-4d7e-4e76-93ff-c97ef8a16762 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:13:43 +0000 (0:00:00.046) 0:00:39.951 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:13:44 +0000 (0:00:00.046) 0:00:39.998 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Ensure ping command is present] ****************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:41 Tuesday 28 November 2023 01:13:44 +0000 (0:00:00.392) 0:00:40.390 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:45 Tuesday 28 November 2023 01:13:45 +0000 (0:00:01.440) 0:00:41.831 ****** ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004696", "end": "2023-11-28 01:13:46.055972", "rc": 0, "start": "2023-11-28 01:13:46.051276" } 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.071 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.071/0.071/0.071/0.000 ms TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:13:46 +0000 (0:00:00.229) 0:00:42.060 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:13:46 +0000 (0:00:00.092) 0:00:42.153 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:13:46 +0000 (0:00:00.139) 0:00:42.292 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:13:46 +0000 (0:00:00.293) 0:00:42.585 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:13:46 +0000 (0:00:00.087) 0:00:42.673 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:13:48 +0000 (0:00:01.654) 0:00:44.328 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:13:49 +0000 (0:00:01.292) 0:00:45.620 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:13:49 +0000 (0:00:00.042) 0:00:45.663 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:13:49 +0000 (0:00:00.042) 0:00:45.706 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:13:49 +0000 (0:00:00.045) 0:00:45.751 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:13:49 +0000 (0:00:00.081) 0:00:45.833 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:13:49 +0000 (0:00:00.047) 0:00:45.880 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:13:49 +0000 (0:00:00.052) 0:00:45.933 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:13:50 +0000 (0:00:00.065) 0:00:45.998 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:13:50 +0000 (0:00:00.423) 0:00:46.422 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:13:50 +0000 (0:00:00.082) 0:00:46.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 [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:13:50 +0000 (0:00:00.038) 0:00:46.543 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:13:50 +0000 (0:00:00.037) 0:00:46.580 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:13:51 +0000 (0:00:00.460) 0:00:47.041 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:13:51 +0000 (0:00:00.057) 0:00:47.099 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:13:51 +0000 (0:00:00.045) 0:00:47.144 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:13:51 +0000 (0:00:00.044) 0:00:47.189 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:13:51 +0000 (0:00:00.044) 0:00:47.233 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:56 Tuesday 28 November 2023 01:13:51 +0000 (0:00:00.237) 0:00:47.471 ****** ok: [sut] => {} MSG: ################################################## TASK [Copy cacert to system truststore] **************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:61 Tuesday 28 November 2023 01:13:51 +0000 (0:00:00.043) 0:00:47.515 ****** 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-1701134031.6010363-2893-167538766220637/source", "state": "file", "uid": 0 } TASK [Update ca trust] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:66 Tuesday 28 November 2023 01:13:52 +0000 (0:00:00.571) 0:00:48.086 ****** ok: [sut] => { "changed": false, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.949367", "end": "2023-11-28 01:13:53.249716", "rc": 0, "start": "2023-11-28 01:13:52.300349" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:13:53 +0000 (0:00:01.177) 0:00:49.264 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:13:53 +0000 (0:00:00.085) 0:00:49.349 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:13:53 +0000 (0:00:00.081) 0:00:49.431 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:13:53 +0000 (0:00:00.253) 0:00:49.684 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:13:53 +0000 (0:00:00.114) 0:00:49.799 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:13:55 +0000 (0:00:01.641) 0:00:51.441 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:13:56 +0000 (0:00:01.319) 0:00:52.760 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:13:56 +0000 (0:00:00.052) 0:00:52.813 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:13:56 +0000 (0:00:00.047) 0:00:52.860 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:13:56 +0000 (0:00:00.053) 0:00:52.914 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:13:57 +0000 (0:00:00.090) 0:00:53.005 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:13:57 +0000 (0:00:00.056) 0:00:53.061 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:13:57 +0000 (0:00:00.059) 0:00:53.121 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:13:57 +0000 (0:00:00.071) 0:00:53.192 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:13:57 +0000 (0:00:00.496) 0:00:53.689 ****** ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-11-28 01:13:40 UTC", "ActiveEnterTimestampMonotonic": "396198756", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.socket basic.target sysinit.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-11-28 01:13:40 UTC", "AssertTimestampMonotonic": "396190971", "Before": "network.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-11-28 01:13:40 UTC", "ConditionTimestampMonotonic": "396190970", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8350", "ExecMainStartTimestamp": "Tue 2023-11-28 01:13:40 UTC", "ExecMainStartTimestampMonotonic": "396192211", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Tue 2023-11-28 01:13:40 UTC] ; stop_time=[n/a] ; pid=8350 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-11-28 01:13:40 UTC", "InactiveExitTimestampMonotonic": "396192268", "InvocationID": "33f83da09db1483eb7a3891114177e7b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13957", "LimitNPROCSoft": "13957", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13957", "LimitSIGPENDINGSoft": "13957", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8350", "MemoryAccounting": "yes", "MemoryCurrent": "1302528", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-11-28 01:13:40 UTC", "StateChangeTimestampMonotonic": "396198756", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22331", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Tue 2023-11-28 01:13:40 UTC", "WatchdogTimestampMonotonic": "396198754", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:13:58 +0000 (0:00:00.435) 0:00:54.125 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:13:58 +0000 (0:00:00.063) 0:00:54.189 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:13:58 +0000 (0:00:00.058) 0:00:54.248 ****** 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, 08c3f185-d432-4e47-a873-4676ddeb0f4c [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 08c3f185-d432-4e47-a873-4676ddeb0f4c (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:14:00 +0000 (0:00:02.578) 0:00:56.826 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:14:00 +0000 (0:00:00.063) 0:00:56.890 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 08c3f185-d432-4e47-a873-4676ddeb0f4c", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 08c3f185-d432-4e47-a873-4676ddeb0f4c (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:14:00 +0000 (0:00:00.052) 0:00:56.942 ****** 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, 08c3f185-d432-4e47-a873-4676ddeb0f4c\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 08c3f185-d432-4e47-a873-4676ddeb0f4c (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 08c3f185-d432-4e47-a873-4676ddeb0f4c", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 08c3f185-d432-4e47-a873-4676ddeb0f4c (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:14:01 +0000 (0:00:00.065) 0:00:57.007 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:14:01 +0000 (0:00:00.064) 0:00:57.072 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:92 Tuesday 28 November 2023 01:14:01 +0000 (0:00:00.362) 0:00:57.434 ****** ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004520", "end": "2023-11-28 01:14:01.694633", "rc": 0, "start": "2023-11-28 01:14:01.690113" } 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.092 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.092/0.092/0.092/0.000 ms TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:14:01 +0000 (0:00:00.267) 0:00:57.702 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:14:01 +0000 (0:00:00.077) 0:00:57.779 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:14:01 +0000 (0:00:00.066) 0:00:57.845 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:14:02 +0000 (0:00:00.278) 0:00:58.124 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:14:02 +0000 (0:00:00.071) 0:00:58.196 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:14:03 +0000 (0:00:01.674) 0:00:59.870 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:14:05 +0000 (0:00:01.417) 0:01:01.287 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:14:05 +0000 (0:00:00.054) 0:01:01.342 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:14:05 +0000 (0:00:00.058) 0:01:01.400 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:14:05 +0000 (0:00:00.048) 0:01:01.448 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:14:05 +0000 (0:00:00.104) 0:01:01.553 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:14:05 +0000 (0:00:00.057) 0:01:01.611 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:14:05 +0000 (0:00:00.070) 0:01:01.681 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:14:05 +0000 (0:00:00.064) 0:01:01.746 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:14:06 +0000 (0:00:00.419) 0:01:02.166 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:14:06 +0000 (0:00:00.068) 0:01:02.234 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:14:06 +0000 (0:00:00.044) 0:01:02.279 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:14:06 +0000 (0:00:00.045) 0:01:02.325 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:14:06 +0000 (0:00:00.445) 0:01:02.771 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:14:06 +0000 (0:00:00.053) 0:01:02.824 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:14:06 +0000 (0:00:00.065) 0:01:02.889 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:14:06 +0000 (0:00:00.062) 0:01:02.952 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:14:07 +0000 (0:00:00.116) 0:01:03.068 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'test_802.1x_capath.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:104 Tuesday 28 November 2023 01:14:07 +0000 (0:00:00.277) 0:01:03.345 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:2 Tuesday 28 November 2023 01:14:07 +0000 (0:00:00.153) 0:01:03.499 ****** ok: [sut] => {} MSG: ################################################## TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:6 Tuesday 28 November 2023 01:14:07 +0000 (0:00:00.047) 0:01:03.546 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:22 Tuesday 28 November 2023 01:14:07 +0000 (0:00:00.046) 0:01:03.593 ****** 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": 6, "state": "directory", "uid": 0 } TASK [Copy cacert to ca_path] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:27 Tuesday 28 November 2023 01:14:07 +0000 (0:00:00.237) 0:01:03.830 ****** 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-1701134047.9165168-3123-184253382347857/source", "state": "file", "uid": 0 } TASK [Install openssl (test dependency)] *************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:32 Tuesday 28 November 2023 01:14:08 +0000 (0:00:00.582) 0:01:04.413 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Hash cacert] ************************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:36 Tuesday 28 November 2023 01:14:09 +0000 (0:00:01.463) 0:01:05.876 ****** ok: [sut] => { "changed": false, "cmd": [ "openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem" ], "delta": "0:00:00.016765", "end": "2023-11-28 01:14:10.108449", "rc": 0, "start": "2023-11-28 01:14:10.091684" } STDOUT: d1b7d027 TASK [Add symlink for cacert] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:40 Tuesday 28 November 2023 01:14:10 +0000 (0:00:00.232) 0:01:06.108 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:45 Tuesday 28 November 2023 01:14:10 +0000 (0:00:00.244) 0:01:06.353 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.867585", "end": "2023-11-28 01:14:11.443822", "rc": 0, "start": "2023-11-28 01:14:10.576237" } STDOUT: NetworkManager-1.40.16-9.el8.x86_64 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:14:11 +0000 (0:00:01.100) 0:01:07.454 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:14:11 +0000 (0:00:00.078) 0:01:07.532 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:14:11 +0000 (0:00:00.045) 0:01:07.577 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:14:11 +0000 (0:00:00.298) 0:01:07.875 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:14:11 +0000 (0:00:00.059) 0:01:07.935 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:14:13 +0000 (0:00:01.629) 0:01:09.565 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:14:14 +0000 (0:00:01.337) 0:01:10.903 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:14:14 +0000 (0:00:00.061) 0:01:10.964 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:14:15 +0000 (0:00:00.044) 0:01:11.008 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:14:15 +0000 (0:00:00.038) 0:01:11.046 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:14:15 +0000 (0:00:00.077) 0:01:11.124 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:14:15 +0000 (0:00:00.050) 0:01:11.174 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:14:15 +0000 (0:00:00.051) 0:01:11.226 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:14:15 +0000 (0:00:00.055) 0:01:11.282 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:14:15 +0000 (0:00:00.439) 0:01:11.721 ****** ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-11-28 01:13:40 UTC", "ActiveEnterTimestampMonotonic": "396198756", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.socket basic.target sysinit.target dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-11-28 01:13:40 UTC", "AssertTimestampMonotonic": "396190971", "Before": "network.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-11-28 01:13:40 UTC", "ConditionTimestampMonotonic": "396190970", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8350", "ExecMainStartTimestamp": "Tue 2023-11-28 01:13:40 UTC", "ExecMainStartTimestampMonotonic": "396192211", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Tue 2023-11-28 01:13:40 UTC] ; stop_time=[n/a] ; pid=8350 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-11-28 01:13:40 UTC", "InactiveExitTimestampMonotonic": "396192268", "InvocationID": "33f83da09db1483eb7a3891114177e7b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13957", "LimitNPROCSoft": "13957", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13957", "LimitSIGPENDINGSoft": "13957", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8350", "MemoryAccounting": "yes", "MemoryCurrent": "2146304", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2023-11-28 01:13:40 UTC", "StateChangeTimestampMonotonic": "396198756", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22331", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Tue 2023-11-28 01:13:40 UTC", "WatchdogTimestampMonotonic": "396198754", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:14:16 +0000 (0:00:00.467) 0:01:12.189 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:14:16 +0000 (0:00:00.061) 0:01:12.250 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:14:16 +0000 (0:00:00.156) 0:01:12.407 ****** 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, 4636ee09-f79d-4d5d-9d03-062fd3162fe4 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 4636ee09-f79d-4d5d-9d03-062fd3162fe4 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:14:19 +0000 (0:00:02.587) 0:01:14.995 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:14:19 +0000 (0:00:00.050) 0:01:15.045 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 4636ee09-f79d-4d5d-9d03-062fd3162fe4", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 4636ee09-f79d-4d5d-9d03-062fd3162fe4 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:14:19 +0000 (0:00:00.040) 0:01:15.086 ****** 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, 4636ee09-f79d-4d5d-9d03-062fd3162fe4\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 4636ee09-f79d-4d5d-9d03-062fd3162fe4 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 4636ee09-f79d-4d5d-9d03-062fd3162fe4", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 4636ee09-f79d-4d5d-9d03-062fd3162fe4 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:14:19 +0000 (0:00:00.042) 0:01:15.129 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:14:19 +0000 (0:00:00.041) 0:01:15.170 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Ensure ping command is present] ****************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:75 Tuesday 28 November 2023 01:14:19 +0000 (0:00:00.237) 0:01:15.407 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:79 Tuesday 28 November 2023 01:14:20 +0000 (0:00:01.438) 0:01:16.846 ****** ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004225", "end": "2023-11-28 01:14:21.070536", "rc": 0, "start": "2023-11-28 01:14:21.066311" } 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.069 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.069/0.069/0.069/0.000 ms TASK [Trigger failure in case the role did not fail] *************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:82 Tuesday 28 November 2023 01:14:21 +0000 (0:00:00.230) 0:01:17.077 ****** fatal: [sut]: FAILED! => { "changed": false } MSG: after test TASK [Show failed item] ******************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:86 Tuesday 28 November 2023 01:14:21 +0000 (0:00:00.049) 0:01:17.126 ****** 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": "ssh", "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": { "extended": null, "extended_allitems": true, "finalized": true, "index_var": null, "label": null, "loop_var": "item", "pause": 0.0, "squashed": false, "uuid": "0a020ac5-214d-7a0c-78ff-0000000007d3" }, "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": null, "run_once": null, "squashed": true, "tags": [], "throttle": 0, "timeout": 0, "until": [], "uuid": "0a020ac5-214d-7a0c-78ff-00000000051a", "vars": {}, "when": [ "ansible_distribution_major_version != '6'", "ansible_distribution != 'RedHat' or ansible_distribution_major_version | int < 9" ] }, "ansible_loop_var": "item", "item": "ansible_failed_task" } ok: [sut] => (item=__network_nm_nvr.stdout) => { "__network_nm_nvr.stdout": "NetworkManager-1.40.16-9.el8.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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:96 Tuesday 28 November 2023 01:14:21 +0000 (0:00:00.071) 0:01:17.198 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert role failure] ***************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:103 Tuesday 28 November 2023 01:14:21 +0000 (0:00:00.040) 0:01:17.238 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_connections_result.failed", "skip_reason": "Conditional result was False" } TASK [Assert ping succeeded] *************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:110 Tuesday 28 November 2023 01:14:21 +0000 (0:00:00.037) 0:01:17.276 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:14:21 +0000 (0:00:00.053) 0:01:17.329 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:14:21 +0000 (0:00:00.144) 0:01:17.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 [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:14:21 +0000 (0:00:00.091) 0:01:17.565 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:14:21 +0000 (0:00:00.257) 0:01:17.822 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:14:21 +0000 (0:00:00.087) 0:01:17.910 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:14:23 +0000 (0:00:01.734) 0:01:19.644 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:14:25 +0000 (0:00:01.327) 0:01:20.971 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.049) 0:01:21.021 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.057) 0:01:21.079 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.059) 0:01:21.139 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.104) 0:01:21.243 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.054) 0:01:21.297 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.047) 0:01:21.345 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.061) 0:01:21.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 [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.428) 0:01:21.836 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.086) 0:01:21.923 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.049) 0:01:21.972 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.070) 0:01:22.043 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.546) 0:01:22.589 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.060) 0:01:22.650 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #1, state:down persistent_state:absent, 'br1': no connection matches 'br1' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.071) 0:01:22.721 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.088) 0:01:22.809 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.078) 0:01:22.887 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'cleanup_802_1x_server.yml'] **************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:123 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.276) 0:01:23.163 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/cleanup_802_1x_server.yml for sut TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/cleanup_802_1x_server.yml:3 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.112) 0:01:23.275 ****** 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.049344", "end": "2023-11-28 01:14:27.561811", "rc": 0, "start": "2023-11-28 01:14:27.512467" } TASK [Kill hostapd process] **************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/cleanup_802_1x_server.yml:11 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.293) 0:01:23.569 ****** ok: [sut] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:01.050815", "end": "2023-11-28 01:14:28.850287", "rc": 0, "start": "2023-11-28 01:14:27.799472" } TASK [Remove certs and config] ************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 Tuesday 28 November 2023 01:14:28 +0000 (0:00:01.281) 0:01:24.850 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:125 Tuesday 28 November 2023 01:14:29 +0000 (0:00:00.623) 0:01:25.474 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:134 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.831) 0:01:26.305 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:141 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.448) 0:01:26.753 ****** ok: [sut] => { "changed": false, "cmd": [ "update-ca-trust" ], "delta": "0:00:00.951385", "end": "2023-11-28 01:14:31.924023", "rc": 0, "start": "2023-11-28 01:14:30.972638" } PLAY RECAP ********************************************************************* sut : ok=115 changed=23 unreachable=0 failed=0 skipped=81 rescued=1 ignored=0 Tuesday 28 November 2023 01:14:32 +0000 (0:00:01.284) 0:01:28.038 ****** =============================================================================== Update NetworkManager --------------------------------------------------- 7.75s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x_updated.yml:6 Run hostapd in namespace ------------------------------------------------ 5.24s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802_1x_server.yml:88 fedora.linux_system_roles.network : Install packages -------------------- 3.14s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install hostapd --------------------------------------------------------- 3.08s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802_1x_server.yml:12 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.70s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.59s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.58s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Copy server certificates ------------------------------------------------ 2.27s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802_1x_server.yml:22 Copy client certs ------------------------------------------------------- 2.13s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/setup_802.1x.yml:4 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Install openssl (test dependency) --------------------------------------- 1.46s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:32 Ensure ping command is present ------------------------------------------ 1.44s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_802_1x.yml:41 Ensure ping command is present ------------------------------------------ 1.44s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/test_802.1x_capath.yml:75 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---