# 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_fixbmqx9elf/.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_fixbmqx9elf/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_fixbmqx9elf/tests/tests_802_1x_updated_nm.yml:5 Monday 27 November 2023 23:25:14 +0000 (0:00:00.014) 0:00:00.014 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/tests_802_1x_updated_nm.yml:9 Monday 27 November 2023 23:25:15 +0000 (0:00:00.923) 0:00:00.938 ******* included: /WORKDIR/git-test_network_state_fixbmqx9elf/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_fixbmqx9elf/tests/tasks/el_repo_setup.yml:3 Monday 27 November 2023 23:25:15 +0000 (0:00:00.013) 0:00:00.951 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/tasks/el_repo_setup.yml:20 Monday 27 November 2023 23:25:16 +0000 (0:00:00.373) 0:00:01.325 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set package manager to use for ostree] *********************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/tasks/el_repo_setup.yml:25 Monday 27 November 2023 23:25:16 +0000 (0:00:00.287) 0:00:01.612 ******* 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_fixbmqx9elf/tests/tasks/el_repo_setup.yml:32 Monday 27 November 2023 23:25:16 +0000 (0:00:00.020) 0:00:01.633 ******* 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_fixbmqx9elf/tests/tasks/el_repo_setup.yml:57 Monday 27 November 2023 23:25:16 +0000 (0:00:00.009) 0:00:01.642 ******* included: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/tasks/enable_epel.yml:8 Monday 27 November 2023 23:25:16 +0000 (0:00:00.015) 0:00:01.658 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/tasks/enable_epel.yml:24 Monday 27 November 2023 23:25:16 +0000 (0:00:00.008) 0:00:01.666 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/tasks/enable_epel.yml:30 Monday 27 November 2023 23:25:16 +0000 (0:00:00.008) 0:00:01.675 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/tasks/enable_epel.yml:35 Monday 27 November 2023 23:25:16 +0000 (0:00:00.008) 0:00:01.683 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/tasks/enable_epel.yml:40 Monday 27 November 2023 23:25:16 +0000 (0:00:00.007) 0:00:01.691 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/tests_802_1x_updated_nm.yml:11 Monday 27 November 2023 23:25:16 +0000 (0:00:00.009) 0:00:01.700 ******* 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_fixbmqx9elf/tests/playbooks/tests_802_1x_updated.yml:3 Monday 27 November 2023 23:25:16 +0000 (0:00:00.017) 0:00:01.717 ******* ok: [sut] TASK [Update NetworkManager] *************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x_updated.yml:6 Monday 27 November 2023 23:25:17 +0000 (0:00:00.737) 0:00:02.454 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Restart NetworkManager] ************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x_updated.yml:10 Monday 27 November 2023 23:25:19 +0000 (0:00:02.512) 0:00:04.967 ******* changed: [sut] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:NetworkManager_unit_file_t:s0", "ActiveEnterTimestamp": "Mon 2023-11-27 23:13:42 UTC", "ActiveEnterTimestampMonotonic": "33885082", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus-broker.service system.slice network-pre.target cloud-init-local.service systemd-journald.socket basic.target dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2023-11-27 23:13:41 UTC", "AssertTimestampMonotonic": "32898361", "Before": "NetworkManager-wait-online.service network.target network.service shutdown.target multi-user.target cloud-init.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "96970000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_dac_override cap_kill cap_setgid cap_setuid cap_net_bind_service cap_net_admin cap_net_raw cap_sys_module cap_sys_chroot cap_audit_write", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2023-11-27 23:13:41 UTC", "ConditionTimestampMonotonic": "32898358", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlGroupId": "2973", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "\"man:NetworkManager(8)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "561", "ExecMainStartTimestamp": "Mon 2023-11-27 23:13:41 UTC", "ExecMainStartTimestampMonotonic": "32905234", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2023-11-27 23:13:41 UTC", "InactiveExitTimestampMonotonic": "32905679", "InvocationID": "630b47e75a794ba481e3812a9dfc1faa", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "65536", "LimitNOFILESoft": "65536", "LimitNPROC": "14734", "LimitNPROCSoft": "14734", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14734", "LimitSIGPENDINGSoft": "14734", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "561", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "10477568", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2023-11-27 23:18:08 UTC", "StateChangeTimestampMonotonic": "299170920", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "4420", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } PLAY [Play for testing configuring 802.1x authentication] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:3 Monday 27 November 2023 23:25:20 +0000 (0:00:00.693) 0:00:05.661 ******* ok: [sut] TASK [INIT: 802.1x tests] ****************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:8 Monday 27 November 2023 23:25:21 +0000 (0:00:00.833) 0:00:06.495 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'setup_802.1x.yml'] ************************************* task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:11 Monday 27 November 2023 23:25:21 +0000 (0:00:00.022) 0:00:06.517 ******* included: /WORKDIR/git-test_network_state_fixbmqx9elf/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_fixbmqx9elf/tests/playbooks/tasks/setup_802.1x.yml:2 Monday 27 November 2023 23:25:21 +0000 (0:00:00.023) 0:00:06.541 ******* included: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802_1x_server.yml for sut TASK [Install hostapd via CentOS Stream] *************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802_1x_server.yml:4 Monday 27 November 2023 23:25:21 +0000 (0:00:00.025) 0:00:06.566 ******* 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_fixbmqx9elf/tests/playbooks/tasks/setup_802_1x_server.yml:12 Monday 27 November 2023 23:25:21 +0000 (0:00:00.020) 0:00:06.586 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: hostapd-2.10-5.fc38.x86_64" ] } TASK [Create directory for test certificates] ********************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802_1x_server.yml:17 Monday 27 November 2023 23:25:25 +0000 (0:00:04.238) 0:00:10.825 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/hostapd_test", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Copy server certificates] ************************************************ task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802_1x_server.yml:22 Monday 27 November 2023 23:25:26 +0000 (0:00:00.347) 0:00:11.172 ******* 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-1701127526.155523-2394-186666448825011/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-1701127526.8813562-2394-268379116755780/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-1701127527.443683-2394-131918325201169/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-1701127528.015093-2394-82171363876933/source", "state": "file", "uid": 0 } TASK [Create test interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802_1x_server.yml:33 Monday 27 November 2023 23:25:28 +0000 (0:00:02.453) 0:00:13.625 ******* 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.381729", "end": "2023-11-27 23:25:29.222529", "rc": 0, "start": "2023-11-27 23:25:28.840800" } TASK [Create hostapd config] *************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802_1x_server.yml:60 Monday 27 November 2023 23:25:29 +0000 (0:00:00.703) 0:00:14.329 ******* 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-1701127529.3069172-2432-88748369569760/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802_1x_server.yml:81 Monday 27 November 2023 23:25:29 +0000 (0:00:00.581) 0:00:14.911 ******* 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-1701127529.8870752-2441-112418454301097/source", "state": "file", "uid": 0 } TASK [Run hostapd in namespace] ************************************************ task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802_1x_server.yml:88 Monday 27 November 2023 23:25:30 +0000 (0:00:00.580) 0:00:15.491 ******* ok: [sut] => { "changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.072460", "end": "2023-11-27 23:25:35.689364", "rc": 0, "start": "2023-11-27 23:25:30.616904" } STDOUT: veth1: interface state UNINITIALIZED->ENABLED veth1: AP-ENABLED TASK [Copy client certs] ******************************************************* task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802.1x.yml:4 Monday 27 November 2023 23:25:35 +0000 (0:00:05.292) 0:00:20.784 ******* 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-1701127535.7652266-2493-115765528601706/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-1701127536.3325336-2493-170337892621459/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-1701127536.900756-2493-32444219277746/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-1701127537.4654658-2493-209184189071828/source", "state": "file", "uid": 0 } TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:15 Monday 27 November 2023 23:25:38 +0000 (0:00:02.298) 0:00:23.082 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 23:25:38 +0000 (0:00:00.024) 0:00:23.107 ******* included: /WORKDIR/git-test_network_state_fixbmqx9elf/.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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 23:25:38 +0000 (0:00:00.037) 0:00:23.144 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 23:25:38 +0000 (0:00:00.028) 0:00:23.173 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 23:25:38 +0000 (0:00:00.228) 0:00:23.402 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 23:25:38 +0000 (0:00:00.030) 0:00:23.432 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 23:25:40 +0000 (0:00:02.499) 0:00:25.931 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 23:25:41 +0000 (0:00:01.029) 0:00:26.961 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 23:25:41 +0000 (0:00:00.039) 0:00:27.001 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 23:25:41 +0000 (0:00:00.038) 0:00:27.039 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 23:25:42 +0000 (0:00:00.039) 0:00:27.079 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: wpa_supplicant-1:2.10-6.fc38.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 23:25:46 +0000 (0:00:04.198) 0:00:31.278 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 23:25:46 +0000 (0:00:00.037) 0:00:31.315 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 23:25:46 +0000 (0:00:00.038) 0:00:31.353 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 23:25:46 +0000 (0:00:00.084) 0:00:31.438 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 23:25:46 +0000 (0:00:00.443) 0:00:31.881 ******* changed: [sut] => { "changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket dbus-broker.service basic.target system.slice dbus.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14734", "LimitNPROCSoft": "14734", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14734", "LimitSIGPENDINGSoft": "14734", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4420", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 23:25:47 +0000 (0:00:00.993) 0:00:32.875 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 23:25:47 +0000 (0:00:00.050) 0:00:32.925 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 23:25:47 +0000 (0:00:00.052) 0:00:32.978 ******* 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, 78f12fa2-c947-4d33-b1f4-b54f6fb57942 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 78f12fa2-c947-4d33-b1f4-b54f6fb57942 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 23:25:50 +0000 (0:00:02.824) 0:00:35.802 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 23:25:50 +0000 (0:00:00.042) 0:00:35.844 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 78f12fa2-c947-4d33-b1f4-b54f6fb57942", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 78f12fa2-c947-4d33-b1f4-b54f6fb57942 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 23:25:50 +0000 (0:00:00.042) 0:00:35.886 ******* 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, 78f12fa2-c947-4d33-b1f4-b54f6fb57942\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 78f12fa2-c947-4d33-b1f4-b54f6fb57942 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 78f12fa2-c947-4d33-b1f4-b54f6fb57942", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 78f12fa2-c947-4d33-b1f4-b54f6fb57942 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 23:25:50 +0000 (0:00:00.041) 0:00:35.928 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 23:25:50 +0000 (0:00:00.051) 0:00:35.979 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Ensure ping command is present] ****************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:41 Monday 27 November 2023 23:25:51 +0000 (0:00:00.383) 0:00:36.363 ******* 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_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:45 Monday 27 November 2023 23:25:53 +0000 (0:00:02.256) 0:00:38.620 ******* ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004428", "end": "2023-11-27 23:25:53.750511", "rc": 0, "start": "2023-11-27 23:25:53.746083" } 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.063 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.063/0.063/0.063/0.000 ms TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 23:25:53 +0000 (0:00:00.244) 0:00:38.864 ******* included: /WORKDIR/git-test_network_state_fixbmqx9elf/.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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 23:25:53 +0000 (0:00:00.061) 0:00:38.925 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 23:25:53 +0000 (0:00:00.078) 0:00:39.004 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 23:25:54 +0000 (0:00:00.247) 0:00:39.251 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 23:25:54 +0000 (0:00:00.046) 0:00:39.297 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 23:25:56 +0000 (0:00:02.393) 0:00:41.690 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 23:25:57 +0000 (0:00:00.818) 0:00:42.508 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 23:25:57 +0000 (0:00:00.054) 0:00:42.563 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 23:25:57 +0000 (0:00:00.060) 0:00:42.624 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 23:25:57 +0000 (0:00:00.062) 0:00:42.686 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 23:25:57 +0000 (0:00:00.077) 0:00:42.763 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 23:25:57 +0000 (0:00:00.039) 0:00:42.802 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 23:25:57 +0000 (0:00:00.038) 0:00:42.841 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 23:25:57 +0000 (0:00:00.050) 0:00:42.892 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 23:25:58 +0000 (0:00:00.438) 0:00:43.330 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 23:25:58 +0000 (0:00:00.058) 0:00:43.389 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 23:25:58 +0000 (0:00:00.083) 0:00:43.473 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 23:25:58 +0000 (0:00:00.050) 0:00:43.524 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 23:25:58 +0000 (0:00:00.491) 0:00:44.015 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 23:25:58 +0000 (0:00:00.044) 0:00:44.060 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 23:25:59 +0000 (0:00:00.043) 0:00:44.103 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 23:25:59 +0000 (0:00:00.041) 0:00:44.145 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 23:25:59 +0000 (0:00:00.044) 0:00:44.189 ******* 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_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:56 Monday 27 November 2023 23:25:59 +0000 (0:00:00.263) 0:00:44.452 ******* ok: [sut] => {} MSG: ################################################## TASK [Copy cacert to system truststore] **************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:61 Monday 27 November 2023 23:25:59 +0000 (0:00:00.057) 0:00:44.509 ******* 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-1701127559.4914763-2668-139642106291719/source", "state": "file", "uid": 0 } TASK [Update ca trust] ********************************************************* task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:66 Monday 27 November 2023 23:26:00 +0000 (0:00:00.608) 0:00:45.117 ******* ok: [sut] => { "changed": false, "cmd": [ "update-ca-trust" ], "delta": "0:00:01.138118", "end": "2023-11-27 23:26:01.388550", "rc": 0, "start": "2023-11-27 23:26:00.250432" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 23:26:01 +0000 (0:00:01.382) 0:00:46.500 ******* included: /WORKDIR/git-test_network_state_fixbmqx9elf/.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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 23:26:01 +0000 (0:00:00.067) 0:00:46.568 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 23:26:01 +0000 (0:00:00.057) 0:00:46.625 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 23:26:01 +0000 (0:00:00.254) 0:00:46.880 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 23:26:01 +0000 (0:00:00.101) 0:00:46.981 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 23:26:04 +0000 (0:00:02.456) 0:00:49.437 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 23:26:05 +0000 (0:00:00.834) 0:00:50.272 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 23:26:05 +0000 (0:00:00.054) 0:00:50.326 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 23:26:05 +0000 (0:00:00.046) 0:00:50.372 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 23:26:05 +0000 (0:00:00.047) 0:00:50.419 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 23:26:05 +0000 (0:00:00.092) 0:00:50.511 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 23:26:05 +0000 (0:00:00.041) 0:00:50.553 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 23:26:05 +0000 (0:00:00.045) 0:00:50.599 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 23:26:05 +0000 (0:00:00.060) 0:00:50.659 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 23:26:06 +0000 (0:00:00.461) 0:00:51.121 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Mon 2023-11-27 23:25:47 UTC", "ActiveEnterTimestampMonotonic": "758711955", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket sysinit.target system.slice systemd-journald.socket dbus-broker.service basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2023-11-27 23:25:47 UTC", "AssertTimestampMonotonic": "758581943", "Before": "multi-user.target shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "19200000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2023-11-27 23:25:47 UTC", "ConditionTimestampMonotonic": "758581939", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlGroupId": "5501", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6885", "ExecMainStartTimestamp": "Mon 2023-11-27 23:25:47 UTC", "ExecMainStartTimestampMonotonic": "758703197", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Mon 2023-11-27 23:25:47 UTC] ; stop_time=[n/a] ; pid=6885 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[Mon 2023-11-27 23:25:47 UTC] ; stop_time=[n/a] ; pid=6885 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2023-11-27 23:25:47 UTC", "InactiveExitTimestampMonotonic": "758703976", "InvocationID": "289ef59fb0a943e6b09c7379c824158e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14734", "LimitNPROCSoft": "14734", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14734", "LimitSIGPENDINGSoft": "14734", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6885", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1945600", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2023-11-27 23:25:47 UTC", "StateChangeTimestampMonotonic": "758711955", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "4420", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 23:26:06 +0000 (0:00:00.429) 0:00:51.550 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 23:26:06 +0000 (0:00:00.046) 0:00:51.596 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 23:26:06 +0000 (0:00:00.038) 0:00:51.635 ******* 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, fe9b8def-204b-49b0-b92f-4f4dc748c383 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, fe9b8def-204b-49b0-b92f-4f4dc748c383 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 23:26:09 +0000 (0:00:02.576) 0:00:54.212 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 23:26:09 +0000 (0:00:00.042) 0:00:54.254 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, fe9b8def-204b-49b0-b92f-4f4dc748c383", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, fe9b8def-204b-49b0-b92f-4f4dc748c383 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 23:26:09 +0000 (0:00:00.049) 0:00:54.303 ******* 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, fe9b8def-204b-49b0-b92f-4f4dc748c383\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, fe9b8def-204b-49b0-b92f-4f4dc748c383 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, fe9b8def-204b-49b0-b92f-4f4dc748c383", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, fe9b8def-204b-49b0-b92f-4f4dc748c383 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 23:26:09 +0000 (0:00:00.046) 0:00:54.350 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 23:26:09 +0000 (0:00:00.043) 0:00:54.393 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:92 Monday 27 November 2023 23:26:09 +0000 (0:00:00.252) 0:00:54.646 ******* ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004058", "end": "2023-11-27 23:26:09.777867", "rc": 0, "start": "2023-11-27 23:26:09.773809" } 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.061 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.061/0.061/0.061/0.000 ms TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 23:26:09 +0000 (0:00:00.239) 0:00:54.886 ******* included: /WORKDIR/git-test_network_state_fixbmqx9elf/.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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 23:26:09 +0000 (0:00:00.059) 0:00:54.945 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 23:26:09 +0000 (0:00:00.047) 0:00:54.992 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 23:26:10 +0000 (0:00:00.244) 0:00:55.237 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 23:26:10 +0000 (0:00:00.069) 0:00:55.306 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 23:26:12 +0000 (0:00:02.407) 0:00:57.714 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 23:26:13 +0000 (0:00:00.888) 0:00:58.602 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 23:26:13 +0000 (0:00:00.056) 0:00:58.659 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 23:26:13 +0000 (0:00:00.044) 0:00:58.704 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 23:26:13 +0000 (0:00:00.062) 0:00:58.766 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 23:26:13 +0000 (0:00:00.088) 0:00:58.855 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 23:26:13 +0000 (0:00:00.047) 0:00:58.902 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 23:26:13 +0000 (0:00:00.042) 0:00:58.944 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 23:26:13 +0000 (0:00:00.047) 0:00:58.992 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 23:26:14 +0000 (0:00:00.444) 0:00:59.437 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 23:26:14 +0000 (0:00:00.046) 0:00:59.483 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 23:26:14 +0000 (0:00:00.035) 0:00:59.519 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 23:26:14 +0000 (0:00:00.036) 0:00:59.555 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 23:26:14 +0000 (0:00:00.478) 0:01:00.034 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 23:26:15 +0000 (0:00:00.042) 0:01:00.076 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 23:26:15 +0000 (0:00:00.041) 0:01:00.118 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 23:26:15 +0000 (0:00:00.047) 0:01:00.166 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 23:26:15 +0000 (0:00:00.081) 0:01:00.247 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'test_802.1x_capath.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:104 Monday 27 November 2023 23:26:15 +0000 (0:00:00.247) 0:01:00.494 ******* included: /WORKDIR/git-test_network_state_fixbmqx9elf/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_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:2 Monday 27 November 2023 23:26:15 +0000 (0:00:00.081) 0:01:00.576 ******* ok: [sut] => {} MSG: ################################################## TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:6 Monday 27 November 2023 23:26:15 +0000 (0:00:00.037) 0:01:00.614 ******* 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_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:22 Monday 27 November 2023 23:26:15 +0000 (0:00:00.034) 0:01:00.649 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/my_ca_certs", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Copy cacert to ca_path] ************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:27 Monday 27 November 2023 23:26:15 +0000 (0:00:00.252) 0:01:00.901 ******* 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-1701127575.8776362-2819-74699152651826/source", "state": "file", "uid": 0 } TASK [Install openssl (test dependency)] *************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:32 Monday 27 November 2023 23:26:16 +0000 (0:00:00.604) 0:01:01.506 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Hash cacert] ************************************************************* task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:36 Monday 27 November 2023 23:26:18 +0000 (0:00:02.252) 0:01:03.759 ******* ok: [sut] => { "changed": false, "cmd": [ "openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem" ], "delta": "0:00:00.118873", "end": "2023-11-27 23:26:19.009341", "rc": 0, "start": "2023-11-27 23:26:18.890468" } STDOUT: d1b7d027 TASK [Add symlink for cacert] ************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:40 Monday 27 November 2023 23:26:19 +0000 (0:00:00.359) 0:01:04.118 ******* 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_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:45 Monday 27 November 2023 23:26:19 +0000 (0:00:00.251) 0:01:04.369 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.381422", "end": "2023-11-27 23:26:19.881330", "rc": 0, "start": "2023-11-27 23:26:19.499908" } STDOUT: NetworkManager-1.42.8-1.fc38.x86_64 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 23:26:19 +0000 (0:00:00.620) 0:01:04.990 ******* included: /WORKDIR/git-test_network_state_fixbmqx9elf/.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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 23:26:19 +0000 (0:00:00.062) 0:01:05.052 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 23:26:20 +0000 (0:00:00.042) 0:01:05.094 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 23:26:20 +0000 (0:00:00.277) 0:01:05.372 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 23:26:20 +0000 (0:00:00.048) 0:01:05.420 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 23:26:22 +0000 (0:00:02.418) 0:01:07.839 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 23:26:23 +0000 (0:00:00.812) 0:01:08.651 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 23:26:23 +0000 (0:00:00.039) 0:01:08.690 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 23:26:23 +0000 (0:00:00.039) 0:01:08.730 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 23:26:23 +0000 (0:00:00.035) 0:01:08.765 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 23:26:23 +0000 (0:00:00.068) 0:01:08.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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 23:26:23 +0000 (0:00:00.038) 0:01:08.872 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 23:26:23 +0000 (0:00:00.037) 0:01:08.909 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 23:26:23 +0000 (0:00:00.047) 0:01:08.957 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 23:26:24 +0000 (0:00:00.455) 0:01:09.412 ******* ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Mon 2023-11-27 23:25:47 UTC", "ActiveEnterTimestampMonotonic": "758711955", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket sysinit.target system.slice systemd-journald.socket dbus-broker.service basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2023-11-27 23:25:47 UTC", "AssertTimestampMonotonic": "758581943", "Before": "multi-user.target shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "64897000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2023-11-27 23:25:47 UTC", "ConditionTimestampMonotonic": "758581939", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlGroupId": "5501", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6885", "ExecMainStartTimestamp": "Mon 2023-11-27 23:25:47 UTC", "ExecMainStartTimestampMonotonic": "758703197", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Mon 2023-11-27 23:25:47 UTC] ; stop_time=[n/a] ; pid=6885 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[Mon 2023-11-27 23:25:47 UTC] ; stop_time=[n/a] ; pid=6885 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2023-11-27 23:25:47 UTC", "InactiveExitTimestampMonotonic": "758703976", "InvocationID": "289ef59fb0a943e6b09c7379c824158e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14734", "LimitNPROCSoft": "14734", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14734", "LimitSIGPENDINGSoft": "14734", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6885", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "2826240", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2023-11-27 23:25:47 UTC", "StateChangeTimestampMonotonic": "758711955", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "4420", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 23:26:24 +0000 (0:00:00.429) 0:01:09.842 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 23:26:24 +0000 (0:00:00.045) 0:01:09.888 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 23:26:24 +0000 (0:00:00.118) 0:01:10.007 ******* 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, c6691001-e51d-4956-b457-4f0213bb33ce [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, c6691001-e51d-4956-b457-4f0213bb33ce (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 23:26:27 +0000 (0:00:02.697) 0:01:12.704 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 23:26:27 +0000 (0:00:00.054) 0:01:12.759 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, c6691001-e51d-4956-b457-4f0213bb33ce", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, c6691001-e51d-4956-b457-4f0213bb33ce (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 23:26:27 +0000 (0:00:00.050) 0:01:12.809 ******* 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, c6691001-e51d-4956-b457-4f0213bb33ce\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, c6691001-e51d-4956-b457-4f0213bb33ce (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, c6691001-e51d-4956-b457-4f0213bb33ce", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, c6691001-e51d-4956-b457-4f0213bb33ce (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 23:26:27 +0000 (0:00:00.056) 0:01:12.866 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 23:26:27 +0000 (0:00:00.050) 0:01:12.916 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Ensure ping command is present] ****************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:75 Monday 27 November 2023 23:26:28 +0000 (0:00:00.261) 0:01:13.178 ******* 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_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:79 Monday 27 November 2023 23:26:30 +0000 (0:00:02.238) 0:01:15.417 ******* ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004117", "end": "2023-11-27 23:26:30.550209", "rc": 0, "start": "2023-11-27 23:26:30.546092" } STDOUT: PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data. 64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.077 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.077/0.077/0.077/0.000 ms TASK [Trigger failure in case the role did not fail] *************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:82 Monday 27 November 2023 23:26:30 +0000 (0:00:00.241) 0:01:15.659 ******* fatal: [sut]: FAILED! => { "changed": false } MSG: after test TASK [Show failed item] ******************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:86 Monday 27 November 2023 23:26:30 +0000 (0:00:00.040) 0:01:15.699 ******* 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": "0abf832d-dd53-6a9c-407e-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": "0abf832d-dd53-6a9c-407e-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.42.8-1.fc38.x86_64", "ansible_loop_var": "item", "item": "__network_nm_nvr.stdout" } ok: [sut] => (item=__NM_capath_ignored_NVRs) => { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ], "ansible_loop_var": "item", "item": "__NM_capath_ignored_NVRs" } TASK [Assert role behavior] **************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:96 Monday 27 November 2023 23:26:30 +0000 (0:00:00.065) 0:01:15.764 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert role failure] ***************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:103 Monday 27 November 2023 23:26:30 +0000 (0:00:00.039) 0:01:15.803 ******* 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_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:110 Monday 27 November 2023 23:26:30 +0000 (0:00:00.036) 0:01:15.840 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 23:26:30 +0000 (0:00:00.037) 0:01:15.878 ******* included: /WORKDIR/git-test_network_state_fixbmqx9elf/.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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 23:26:30 +0000 (0:00:00.093) 0:01:15.971 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 23:26:30 +0000 (0:00:00.054) 0:01:16.026 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 23:26:31 +0000 (0:00:00.259) 0:01:16.285 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 23:26:31 +0000 (0:00:00.064) 0:01:16.350 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 23:26:33 +0000 (0:00:02.408) 0:01:18.758 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 23:26:34 +0000 (0:00:00.853) 0:01:19.612 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 23:26:34 +0000 (0:00:00.057) 0:01:19.670 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 23:26:34 +0000 (0:00:00.069) 0:01:19.739 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 23:26:34 +0000 (0:00:00.053) 0:01:19.793 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 23:26:34 +0000 (0:00:00.083) 0:01:19.877 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 23:26:34 +0000 (0:00:00.045) 0:01:19.922 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 23:26:34 +0000 (0:00:00.054) 0:01:19.977 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 23:26:34 +0000 (0:00:00.049) 0:01:20.026 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 23:26:35 +0000 (0:00:00.439) 0:01:20.466 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 23:26:35 +0000 (0:00:00.164) 0:01:20.630 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 23:26:35 +0000 (0:00:00.046) 0:01:20.676 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 23:26:35 +0000 (0:00:00.041) 0:01:20.718 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 23:26:36 +0000 (0:00:00.580) 0:01:21.298 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 23:26:36 +0000 (0:00:00.041) 0:01:21.339 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 23:26:36 +0000 (0:00:00.042) 0:01:21.382 ******* 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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 23:26:36 +0000 (0:00:00.053) 0:01:21.436 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 23:26:36 +0000 (0:00:00.059) 0:01:21.495 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'cleanup_802_1x_server.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:123 Monday 27 November 2023 23:26:36 +0000 (0:00:00.262) 0:01:21.757 ******* included: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/cleanup_802_1x_server.yml for sut TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/cleanup_802_1x_server.yml:3 Monday 27 November 2023 23:26:36 +0000 (0:00:00.066) 0:01:21.824 ******* 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.053524", "end": "2023-11-27 23:26:37.003260", "rc": 0, "start": "2023-11-27 23:26:36.949736" } TASK [Kill hostapd process] **************************************************** task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/cleanup_802_1x_server.yml:11 Monday 27 November 2023 23:26:37 +0000 (0:00:00.297) 0:01:22.122 ******* ok: [sut] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.016445", "end": "2023-11-27 23:26:37.266934", "rc": 0, "start": "2023-11-27 23:26:37.250489" } TASK [Remove certs and config] ************************************************* task path: /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 Monday 27 November 2023 23:26:37 +0000 (0:00:00.255) 0:01:22.377 ******* 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_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:125 Monday 27 November 2023 23:26:37 +0000 (0:00:00.668) 0:01:23.045 ******* 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_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:134 Monday 27 November 2023 23:26:38 +0000 (0:00:00.883) 0:01:23.929 ******* 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_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:141 Monday 27 November 2023 23:26:39 +0000 (0:00:00.504) 0:01:24.434 ******* ok: [sut] => { "changed": false, "cmd": [ "update-ca-trust" ], "delta": "0:00:01.132100", "end": "2023-11-27 23:26:40.702683", "rc": 0, "start": "2023-11-27 23:26:39.570583" } PLAY RECAP ********************************************************************* sut : ok=113 changed=22 unreachable=0 failed=0 skipped=83 rescued=1 ignored=0 Monday 27 November 2023 23:26:40 +0000 (0:00:01.442) 0:01:25.876 ******* =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.29s /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802_1x_server.yml:88 Install hostapd --------------------------------------------------------- 4.24s /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802_1x_server.yml:12 fedora.linux_system_roles.network : Install packages -------------------- 4.20s /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.82s /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.70s /WORKDIR/git-test_network_state_fixbmqx9elf/.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_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Update NetworkManager --------------------------------------------------- 2.51s /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x_updated.yml:6 fedora.linux_system_roles.network : Check which services are running ---- 2.50s /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 2.46s /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Copy server certificates ------------------------------------------------ 2.45s /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802_1x_server.yml:22 fedora.linux_system_roles.network : Check which services are running ---- 2.42s /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 2.41s /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 2.41s /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /WORKDIR/git-test_network_state_fixbmqx9elf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Copy client certs ------------------------------------------------------- 2.30s /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/setup_802.1x.yml:4 Ensure ping command is present ------------------------------------------ 2.26s /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:41 Install openssl (test dependency) --------------------------------------- 2.25s /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:32 Ensure ping command is present ------------------------------------------ 2.24s /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tasks/test_802.1x_capath.yml:75 Update ca trust --------------------------------------------------------- 1.44s /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:141 Update ca trust --------------------------------------------------------- 1.38s /WORKDIR/git-test_network_state_fixbmqx9elf/tests/playbooks/tests_802_1x.yml:66 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---